|
Bouncy Castle Cryptography Library 1.48 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.openpgp.PGPPrivateKey
public class PGPPrivateKey
general class to contain a private key for use with other openPGP objects.
| Constructor Summary | |
|---|---|
PGPPrivateKey(long keyID,
PublicKeyPacket publicKeyPacket,
BCPGKey privateKeyDataPacket)
|
|
PGPPrivateKey(java.security.PrivateKey privateKey,
long keyID)
Create a PGPPrivateKey from a regular private key and the keyID of its associated public key. |
|
| Method Summary | |
|---|---|
java.security.PrivateKey |
getKey()
Deprecated. use a JcaPGPKeyConverter |
long |
getKeyID()
Return the keyID associated with the contained private key. |
BCPGKey |
getPrivateKeyDataPacket()
|
PublicKeyPacket |
getPublicKeyPacket()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PGPPrivateKey(java.security.PrivateKey privateKey,
long keyID)
privateKey - private key tu use.keyID - keyID of the corresponding public key.
public PGPPrivateKey(long keyID,
PublicKeyPacket publicKeyPacket,
BCPGKey privateKeyDataPacket)
| Method Detail |
|---|
public long getKeyID()
public java.security.PrivateKey getKey()
public PublicKeyPacket getPublicKeyPacket()
public BCPGKey getPrivateKeyDataPacket()
|
Bouncy Castle Cryptography Library 1.48 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||