public class ContentInfo extends ASN1Encodable implements CMSObjectIdentifiers
BER, DER
authenticatedData, authEnvelopedData, compressedData, data, digestedData, encryptedData, envelopedData, signedAndEnvelopedData, signedData, timestampedData
Constructor and Description |
---|
ContentInfo(ASN1ObjectIdentifier contentType,
DEREncodable content) |
ContentInfo(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
DEREncodable |
getContent() |
ASN1ObjectIdentifier |
getContentType() |
static ContentInfo |
getInstance(Object obj) |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public ContentInfo(ASN1Sequence seq)
public ContentInfo(ASN1ObjectIdentifier contentType, DEREncodable content)
public static ContentInfo getInstance(Object obj)
public ASN1ObjectIdentifier getContentType()
public DEREncodable getContent()
public DERObject toASN1Object()
ContentInfo ::= SEQUENCE { contentType ContentType, content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.