Class PgpKeyTool


  • public class PgpKeyTool
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PgpKeyTool()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getPrivateKey​(org.bouncycastle.openpgp.PGPSecretKey key)  
      static java.lang.String getPublicKey​(org.bouncycastle.openpgp.PGPSecretKey key)  
      static org.bouncycastle.openpgp.PGPSecretKey getSecretKey​(java.lang.String identity, java.lang.String passPhrase, int rsaWidth)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PgpKeyTool

        public PgpKeyTool()
    • Method Detail

      • getSecretKey

        public static org.bouncycastle.openpgp.PGPSecretKey getSecretKey​(java.lang.String identity,
                                                                         java.lang.String passPhrase,
                                                                         int rsaWidth)
      • getPrivateKey

        public static java.lang.String getPrivateKey​(org.bouncycastle.openpgp.PGPSecretKey key)
      • getPublicKey

        public static java.lang.String getPublicKey​(org.bouncycastle.openpgp.PGPSecretKey key)
      • main

        public static void main​(java.lang.String[] args)