org.bouncycastle.openpgp
public class PGPPrivateKey extends Object
| Constructor Summary | |
|---|---|
| PGPPrivateKey(PrivateKey privateKey, long keyID)
Create a PGPPrivateKey from a regular private key and the keyID of its associated
public key.
| |
| Method Summary | |
|---|---|
| PrivateKey | getKey()
Return the contained private key.
|
| long | getKeyID()
Return the keyID associated with the contained private key.
|
Parameters: privateKey private key tu use. keyID keyID of the corresponding public key.
Returns: PrivateKey
Returns: long