| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private BCPGKey | |
| private PublicKeyPacket |
| Access | Constructor and Description |
|---|---|
| public | PGPPrivateKey(long
keyID associated with the public key. keyID, PublicKeyPacket the public key data packet to be associated with this private key. publicKeyPacket, BCPGKey the private key data packet to be associate with this private key. privateKeyDataPacket)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public BCPGKey | Returns: associated private key packet, null otherwise.Return the private key packet associated with this private key, if available. |
| public PublicKeyPacket | Returns: associated public key packet, null otherwise.Return the public key packet associated with this private key, if available. |
| keyID | back to summary |
|---|---|
| private long keyID | |
| privateKeyDataPacket | back to summary |
|---|---|
| private BCPGKey privateKeyDataPacket | |
| publicKeyPacket | back to summary |
|---|---|
| private PublicKeyPacket publicKeyPacket | |
| PGPPrivateKey | back to summary |
|---|---|
| public PGPPrivateKey(long keyID, PublicKeyPacket publicKeyPacket, BCPGKey privateKeyDataPacket) Base constructor. Create a PGPPrivateKey from a keyID and the associated public/private data packets needed to fully describe it.
| |
| getKeyID | back to summary |
|---|---|
| public long getKeyID() Return the keyID associated with the contained private key.
| |
| getPrivateKeyDataPacket | back to summary |
|---|---|
| public BCPGKey getPrivateKeyDataPacket() Return the private key packet associated with this private key, if available.
| |
| getPublicKeyPacket | back to summary |
|---|---|
| public PublicKeyPacket getPublicKeyPacket() Return the public key packet associated with this private key, if available.
| |