public class PGPSessionKeyEncryptedData extends PGPSymmetricKeyEncryptedData
PGPEncryptedData.TruncatedStream
AES_128, AES_192, AES_256, BLOWFISH, CAMELLIA_128, CAMELLIA_192, CAMELLIA_256, CAST5, DES, IDEA, NULL, SAFER, TRIPLE_DES, TWOFISH
EAX, GCM, OCB
Modifier and Type | Method and Description |
---|---|
int |
getAlgorithm()
Return the symmetric encryption algorithm that is used by the packet.
|
java.io.InputStream |
getDataStream(SessionKeyDataDecryptorFactory dataDecryptorFactory) |
int |
getVersion()
Return the version number of the Encrypted Session Key Packet.
|
createDecryptionStream
getInputStream, isAEAD, isIntegrityProtected, verify
public int getAlgorithm()
PGPEncryptedData
getAlgorithm
in class PGPEncryptedData
public int getVersion()
PGPEncryptedData
getVersion
in class PGPEncryptedData
public java.io.InputStream getDataStream(SessionKeyDataDecryptorFactory dataDecryptorFactory) throws PGPException
PGPException