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