类 PgpKeyTool


  • public class PgpKeyTool
    extends java.lang.Object
    • 构造器概要

      构造器 
      构造器 说明
      PgpKeyTool()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      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)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • PgpKeyTool

        public PgpKeyTool()
    • 方法详细资料

      • 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)