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
Fields inherited from interface org.bouncycastle.asn1.cms.CMSObjectIdentifiers |
authenticatedData, authEnvelopedData, compressedData, data, digestedData, encryptedData, envelopedData, id_ri, id_ri_ocsp_response, id_ri_scvp, signedAndEnvelopedData, signedData, timestampedData |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ContentInfo
public ContentInfo(ASN1Sequence seq)
- Deprecated. use getInstance()
ContentInfo
public ContentInfo(ASN1ObjectIdentifier contentType,
ASN1Encodable content)
getInstance
public static ContentInfo getInstance(java.lang.Object obj)
getInstance
public static ContentInfo getInstance(ASN1TaggedObject obj,
boolean explicit)
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