org.bouncycastle.asn1.cms
public class EncryptedContentInfo extends ASN1Encodable
Constructor Summary | |
---|---|
EncryptedContentInfo(DERObjectIdentifier contentType, AlgorithmIdentifier contentEncryptionAlgorithm, ASN1OctetString encryptedContent) | |
EncryptedContentInfo(ASN1Sequence seq) |
Method Summary | |
---|---|
AlgorithmIdentifier | getContentEncryptionAlgorithm() |
DERObjectIdentifier | getContentType() |
ASN1OctetString | getEncryptedContent() |
static EncryptedContentInfo | getInstance(Object obj)
return an EncryptedContentInfo object from the given object.
|
DERObject | toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
Parameters: obj the object we want converted.
Throws: IllegalArgumentException if the object cannot be converted.
EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL }