Bouncy Castle Cryptography Library 1.46

org.bouncycastle.asn1.cms
Class ContentInfo

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.bouncycastle.asn1.cms.ContentInfo
All Implemented Interfaces:
CMSObjectIdentifiers, DEREncodable

public class ContentInfo
extends ASN1Encodable
implements CMSObjectIdentifiers


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

Constructor Detail

ContentInfo

public ContentInfo(ASN1Sequence seq)

ContentInfo

public ContentInfo(ASN1ObjectIdentifier contentType,
                   DEREncodable content)
Method Detail

getInstance

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

getContentType

public ASN1ObjectIdentifier 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

Bouncy Castle Cryptography Library 1.46