Package org.bouncycastle.asn1.cms
Class ContentInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.ContentInfo
- All Implemented Interfaces:
ASN1Encodable
public class ContentInfo extends ASN1Object
-
Constructor Summary
Constructors Constructor Description ContentInfo(ASN1ObjectIdentifier contentType, ASN1Encodable content)ContentInfo(ASN1Sequence seq)Deprecated.use getInstance() -
Method Summary
Modifier and Type Method Description ASN1EncodablegetContent()ASN1ObjectIdentifiergetContentType()static ContentInfogetInstance(Object obj)static ContentInfogetInstance(ASN1TaggedObject obj, boolean explicit)ASN1PrimitivetoASN1Primitive()Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
-
Constructor Details
-
ContentInfo
Deprecated.use getInstance() -
ContentInfo
-
-
Method Details
-
getInstance
-
getInstance
-
getContentType
-
getContent
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.ContentInfo ::= SEQUENCE { contentType ContentType, content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object
-