org.bouncycastle.openpgp
Class PGPPublicKeyEncryptedData
- SymmetricKeyAlgorithmTags
public class PGPPublicKeyEncryptedData
A public key encrypted data object.
AES_128, AES_192, AES_256, BLOWFISH, CAST5, DES, IDEA, NULL, SAFER, TRIPLE_DES, TWOFISH |
InputStream | getDataStream(PGPPrivateKey privKey, String provider)- Return the decrypted data stream for the packet.
|
long | getKeyID()- Return the keyID for the key used to encrypt the data.
|
getDataStream
public InputStream getDataStream(PGPPrivateKey privKey,
String provider)
throws PGPException,
NoSuchProviderException Return the decrypted data stream for the packet.
privKey - provider -
- InputStream
PGPException -
getKeyID
public long getKeyID()
Return the keyID for the key used to encrypt the data.
- long