| java.lang.Object org.bouncycastle.openpgp.PGPPrivateKey
PGPPrivateKey | public class PGPPrivateKey (Code) | | general class to contain a private key for use with other openPGP
objects.
|
Constructor Summary | |
public | PGPPrivateKey(PrivateKey privateKey, long keyID) Create a PGPPrivateKey from a regular private key and the keyID of its associated
public key. |
Method Summary | |
public PrivateKey | getKey() Return the contained private key. | public long | getKeyID() Return the keyID associated with the contained private key. |
PGPPrivateKey | public PGPPrivateKey(PrivateKey privateKey, long keyID)(Code) | | Create a PGPPrivateKey from a regular private key and the keyID of its associated
public key.
Parameters: privateKey - private key tu use. Parameters: keyID - keyID of the corresponding public key. |
getKey | public PrivateKey getKey()(Code) | | Return the contained private key.
PrivateKey |
getKeyID | public long getKeyID()(Code) | | Return the keyID associated with the contained private key.
long |
|
|