org.bouncycastle.asn1.cms
public class ContentInfo extends ASN1Encodable implements CMSObjectIdentifiers
BER, DERauthenticatedData, authEnvelopedData, compressedData, data, digestedData, encryptedData, envelopedData, signedAndEnvelopedData, signedData| Constructor and Description |
|---|
ContentInfo(ASN1Sequence seq) |
ContentInfo(DERObjectIdentifier contentType,
DEREncodable content) |
| Modifier and Type | Method and Description |
|---|---|
DEREncodable |
getContent() |
DERObjectIdentifier |
getContentType() |
static ContentInfo |
getInstance(java.lang.Object obj) |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic ContentInfo(ASN1Sequence seq)
public ContentInfo(DERObjectIdentifier contentType, DEREncodable content)
public static ContentInfo getInstance(java.lang.Object obj)
public DERObjectIdentifier getContentType()
public DEREncodable getContent()
public DERObject toASN1Object()
ContentInfo ::= SEQUENCE {
contentType ContentType,
content
[0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
toASN1Object in class ASN1Encodable