|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.openpgp.PGPPrivateKey
general class to contain a private key for use with other openPGP objects.
Constructor Summary | |
PGPPrivateKey(long keyID,
PublicKeyPacket publicKeyPacket,
BCPGKey privateKeyDataPacket)
Base constructor. |
Method Summary | |
long |
getKeyID()
Return the keyID associated with the contained private key. |
KeyIdentifier |
getKeyIdentifier(KeyFingerPrintCalculator fingerprintCalculator)
|
BCPGKey |
getPrivateKeyDataPacket()
Return the private key packet associated with this private key, if available. |
PublicKeyPacket |
getPublicKeyPacket()
Return the public key packet associated with this private key, if available. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PGPPrivateKey(long keyID, PublicKeyPacket publicKeyPacket, BCPGKey privateKeyDataPacket)
keyID
- keyID associated with the public key.publicKeyPacket
- the public key data packet to be associated with this private key.privateKeyDataPacket
- the private key data packet to be associate with this private key.Method Detail |
public long getKeyID()
public KeyIdentifier getKeyIdentifier(KeyFingerPrintCalculator fingerprintCalculator) throws PGPException
PGPException
public PublicKeyPacket getPublicKeyPacket()
public BCPGKey getPrivateKeyDataPacket()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |