public class PGPPrivateKey
extends java.lang.Object
| Constructor and Description |
|---|
PGPPrivateKey(java.security.PrivateKey privateKey,
long keyID)
Create a PGPPrivateKey from a regular private key and the keyID of its associated
public key.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.PrivateKey |
getKey()
Return the contained private key.
|
long |
getKeyID()
Return the keyID associated with the contained private key.
|