Top Description Constructors Methods
org.bouncycastle.openpgp

public Class PGPSessionKeyEncryptedData

extends PGPSymmetricKeyEncryptedData
Class Inheritance
Imports
java.io.InputStream, org.bouncycastle.bcpg.AEADEncDataPacket, .InputStreamPacket, .SymmetricEncIntegrityPacket, org.bouncycastle.openpgp.operator.SessionKeyDataDecryptorFactory

The basis of PGP encrypted data - encrypted data encrypted using a symmetric session key.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
getAlgorithm()

Overrides org.bouncycastle.openpgp.PGPEncryptedData.getAlgorithm.

Return the symmetric encryption algorithm that is used by the packet.

public InputStream
public int
getVersion()

Overrides org.bouncycastle.openpgp.PGPEncryptedData.getVersion.

Return the version number of the Encrypted Session Key Packet.

Inherited from org.bouncycastle.openpgp.PGPSymmetricKeyEncryptedData:
createDecryptionStream

Constructor Detail

PGPSessionKeyEncryptedDataback to summary
pack-priv PGPSessionKeyEncryptedData(InputStreamPacket encData)

Method Detail

getAlgorithmback to summary
public int getAlgorithm()

Overrides org.bouncycastle.openpgp.PGPEncryptedData.getAlgorithm.

Doc from org.bouncycastle.openpgp.PGPEncryptedData.getAlgorithm.

Return the symmetric encryption algorithm that is used by the packet.

Returns:int

algorithm

Annotations
@Override
getDataStreamback to summary
public InputStream getDataStream(SessionKeyDataDecryptorFactory dataDecryptorFactory) throws PGPException
getVersionback to summary
public int getVersion()

Overrides org.bouncycastle.openpgp.PGPEncryptedData.getVersion.

Doc from org.bouncycastle.openpgp.PGPEncryptedData.getVersion.

Return the version number of the Encrypted Session Key Packet.

Returns:int

version

Annotations
@Override