org.bouncycastle.asn1.cms
Class ContentInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.ContentInfo
- All Implemented Interfaces:
- ASN1Encodable, CMSObjectIdentifiers
public class ContentInfo
- extends ASN1Object
- implements CMSObjectIdentifiers
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ContentInfo
public ContentInfo(ASN1Sequence seq)
ContentInfo
public ContentInfo(ASN1ObjectIdentifier contentType,
ASN1Encodable content)
getInstance
public static ContentInfo getInstance(java.lang.Object obj)
getContentType
public ASN1ObjectIdentifier getContentType()
getContent
public ASN1Encodable getContent()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Produce an object suitable for an ASN1OutputStream.
ContentInfo ::= SEQUENCE {
contentType ContentType,
content
[0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
- Specified by:
toASN1Primitive
in interface ASN1Encodable
- Specified by:
toASN1Primitive
in class ASN1Object