org.bouncycastle.asn1.pkcs
public class EncryptedData extends ASN1Encodable
EncryptedData ::= SEQUENCE { version Version, encryptedContentInfo EncryptedContentInfo } EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL } EncryptedContent ::= OCTET STRING
Constructor Summary | |
---|---|
EncryptedData(ASN1Sequence seq) | |
EncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content) |
Method Summary | |
---|---|
ASN1OctetString | getContent() |
DERObjectIdentifier | getContentType() |
AlgorithmIdentifier | getEncryptionAlgorithm() |
static EncryptedData | getInstance(Object obj) |
DERObject | toASN1Object() |