Package org.gudy.bouncycastle.asn1.pkcs
Class EncryptedData
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.pkcs.EncryptedData
-
- All Implemented Interfaces:
DEREncodable
public class EncryptedData extends java.lang.Object implements DEREncodable
The EncryptedData object.EncryptedData ::= SEQUENCE { version Version, encryptedContentInfo EncryptedContentInfo } EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL } EncryptedContent ::= OCTET STRING
-
-
Field Summary
Fields Modifier and Type Field Description (package private) DERObjectIdentifier
bagId
(package private) DERObject
bagValue
(package private) ASN1Sequence
data
-
Constructor Summary
Constructors Constructor Description EncryptedData(ASN1Sequence seq)
EncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1OctetString
getContent()
DERObjectIdentifier
getContentType()
DERObject
getDERObject()
AlgorithmIdentifier
getEncryptionAlgorithm()
static EncryptedData
getInstance(java.lang.Object obj)
-
-
-
Field Detail
-
data
ASN1Sequence data
-
bagId
DERObjectIdentifier bagId
-
bagValue
DERObject bagValue
-
-
Constructor Detail
-
EncryptedData
public EncryptedData(ASN1Sequence seq)
-
EncryptedData
public EncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content)
-
-
Method Detail
-
getInstance
public static EncryptedData getInstance(java.lang.Object obj)
-
getContentType
public DERObjectIdentifier getContentType()
-
getEncryptionAlgorithm
public AlgorithmIdentifier getEncryptionAlgorithm()
-
getContent
public ASN1OctetString getContent()
-
getDERObject
public DERObject getDERObject()
- Specified by:
getDERObject
in interfaceDEREncodable
-
-