org.bouncycastle.asn1.cms
Class EncryptedContentInfo
- DEREncodable
public class EncryptedContentInfo
EncryptedContentInfo
public EncryptedContentInfo(ASN1Sequence seq)
getInstance
public static EncryptedContentInfo getInstance(Object obj)
return an EncryptedContentInfo object from the given object.
obj
- the object we want converted.
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
EncryptedContentInfo ::= SEQUENCE {
contentType ContentType,
contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL
}
- toASN1Object in interface ASN1Encodable