Class EncryptedData
java.lang.Object
org.gudy.bouncycastle.asn1.pkcs.EncryptedData
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescription(package private) DERObjectIdentifier(package private) DERObject(package private) ASN1Sequence -
Constructor Summary
ConstructorsConstructorDescriptionEncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content) -
Method Summary
-
Field Details
-
data
ASN1Sequence data -
bagId
DERObjectIdentifier bagId -
bagValue
DERObject bagValue
-
-
Constructor Details
-
EncryptedData
-
EncryptedData
public EncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content)
-
-
Method Details
-
getInstance
-
getContentType
-
getEncryptionAlgorithm
-
getContent
-
getDERObject
- Specified by:
getDERObjectin interfaceDEREncodable
-