Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.20
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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()` ContentInfo ::= SEQUENCE { contentType ContentType, content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
`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()

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

  Specified by:
    `getDERObject` in interface `DEREncodable`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.20
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD