org.bouncycastle.openpgp

Class PGPPrivateKey


public class PGPPrivateKey
extends java.lang.Object

general class to contain a private key for use with other openPGP objects.

Method Summary

PrivateKey
getKey()
Return the contained private key.
long
getKeyID()
Return the keyID associated with the contained private key.

Method Details

getKey

public PrivateKey getKey()
Return the contained private key.
Returns:
PrivateKey

getKeyID

public long getKeyID()
Return the keyID associated with the contained private key.
Returns:
long