public class

ContentInfo

extends ASN1Encodable
implements CMSObjectIdentifiers
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cms.ContentInfo

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
[Expand]
Inherited Fields
From interface org.bouncycastle.asn1.cms.CMSObjectIdentifiers
Public Constructors
ContentInfo(ASN1Sequence seq)
ContentInfo(ASN1ObjectIdentifier contentType, DEREncodable content)
Public Methods
DEREncodable getContent()
ASN1ObjectIdentifier getContentType()
static ContentInfo getInstance(Object obj)
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public ContentInfo (ASN1Sequence seq)

public ContentInfo (ASN1ObjectIdentifier contentType, DEREncodable content)

Public Methods

public DEREncodable getContent ()

public ASN1ObjectIdentifier getContentType ()

public static ContentInfo getInstance (Object obj)

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

 ContentInfo ::= SEQUENCE {
          contentType ContentType,
          content
          [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }