类 PgpKeyTool
- java.lang.Object
-
- cool.taomu.framework.utils.crypto.PgpKeyTool
-
public class PgpKeyTool extends java.lang.Object
-
-
构造器概要
构造器 构造器 说明 PgpKeyTool()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static java.lang.StringgetPrivateKey(org.bouncycastle.openpgp.PGPSecretKey key)static java.lang.StringgetPublicKey(org.bouncycastle.openpgp.PGPSecretKey key)static org.bouncycastle.openpgp.PGPSecretKeygetSecretKey(java.lang.String identity, java.lang.String passPhrase, int rsaWidth)static voidmain(java.lang.String[] args)
-
-
-
方法详细资料
-
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)
-
-