Bouncy Castle Cryptography 1.23

org.bouncycastle.asn1.cms
Class ContentInfo

java.lang.Object
  |
  +--org.bouncycastle.asn1.cms.ContentInfo
All Implemented Interfaces:
CMSObjectIdentifiers, DEREncodable

public class ContentInfo
extends java.lang.Object
implements DEREncodable, CMSObjectIdentifiers


Field Summary
 
Fields inherited from interface org.bouncycastle.asn1.cms.CMSObjectIdentifiers
compressedData, data, digestedData, encryptedData, envelopedData, signedAndEnvelopedData, signedData
 
Constructor Summary
ContentInfo(ASN1Sequence seq)
           
ContentInfo(DERObjectIdentifier contentType, DEREncodable content)
           
 
Method Summary
 DEREncodable getContent()
           
 DERObjectIdentifier getContentType()
           
 DERObject getDERObject()
          Produce an object suitable for an ASN1OutputStream.
static ContentInfo getInstance(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentInfo

public ContentInfo(ASN1Sequence seq)

ContentInfo

public ContentInfo(DERObjectIdentifier contentType,
                   DEREncodable content)
Method Detail

getInstance

public static ContentInfo getInstance(java.lang.Object obj)

getContentType

public DERObjectIdentifier getContentType()

getContent

public DEREncodable getContent()

getDERObject

public DERObject getDERObject()
Produce an object suitable for an ASN1OutputStream.
 ContentInfo ::= SEQUENCE {
          contentType ContentType,
          content
          [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
 

Specified by:
getDERObject in interface DEREncodable

Bouncy Castle Cryptography 1.23