Class JcaPGPPrivateKey
- java.lang.Object
-
- org.bouncycastle.openpgp.PGPPrivateKey
-
- org.bouncycastle.openpgp.operator.jcajce.JcaPGPPrivateKey
-
public class JcaPGPPrivateKey extends PGPPrivateKey
A JCA PrivateKey carrier. Use this one if you're dealing with a hardware adapter.
-
-
Constructor Summary
Constructors Constructor Description JcaPGPPrivateKey(long keyID, java.security.PrivateKey privateKey)
JcaPGPPrivateKey(PGPPublicKey pubKey, java.security.PrivateKey privateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.PrivateKey
getPrivateKey()
-
Methods inherited from class org.bouncycastle.openpgp.PGPPrivateKey
getKeyID, getPrivateKeyDataPacket, getPublicKeyPacket
-
-
-
-
Constructor Detail
-
JcaPGPPrivateKey
public JcaPGPPrivateKey(long keyID, java.security.PrivateKey privateKey)
-
JcaPGPPrivateKey
public JcaPGPPrivateKey(PGPPublicKey pubKey, java.security.PrivateKey privateKey)
-
-