public class ContentInfo extends ASN1Encodable implements CMSObjectIdentifiers
| Modifier and Type | Field and Description |
|---|---|
private DEREncodable |
content |
private DERObjectIdentifier |
contentType |
BER, DERcompressedData, 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, hashCodeprivate DERObjectIdentifier contentType
private DEREncodable content
public 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 ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.