Package org.bouncycastle.openpgp
Class PGPSymmetricKeyEncryptedData
- java.lang.Object
-
- org.bouncycastle.openpgp.PGPEncryptedData
-
- org.bouncycastle.openpgp.PGPSymmetricKeyEncryptedData
-
- All Implemented Interfaces:
AEADAlgorithmTags
,SymmetricKeyAlgorithmTags
- Direct Known Subclasses:
PGPPBEEncryptedData
,PGPSessionKeyEncryptedData
public class PGPSymmetricKeyEncryptedData extends PGPEncryptedData
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bouncycastle.openpgp.PGPEncryptedData
PGPEncryptedData.TruncatedStream
-
-
Field Summary
-
Fields inherited from interface org.bouncycastle.bcpg.AEADAlgorithmTags
EAX, GCM, OCB
-
Fields inherited from interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
AES_128, AES_192, AES_256, BLOWFISH, CAMELLIA_128, CAMELLIA_192, CAMELLIA_256, CAST5, DES, IDEA, NULL, SAFER, TRIPLE_DES, TWOFISH
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PGPSymmetricKeyEncryptedData(InputStreamPacket encData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.InputStream
createDecryptionStream(PGPDataDecryptorFactory dataDecryptorFactory, PGPSessionKey sessionKey)
-
Methods inherited from class org.bouncycastle.openpgp.PGPEncryptedData
getAlgorithm, getInputStream, getVersion, isAEAD, isIntegrityProtected, verify
-
-
-
-
Constructor Detail
-
PGPSymmetricKeyEncryptedData
protected PGPSymmetricKeyEncryptedData(InputStreamPacket encData)
-
-
Method Detail
-
createDecryptionStream
protected java.io.InputStream createDecryptionStream(PGPDataDecryptorFactory dataDecryptorFactory, PGPSessionKey sessionKey) throws PGPException
- Throws:
PGPException
-
-