Class ContentInfo

  • All Implemented Interfaces:
    io.anyline.nfc.bouncycastle.asn1.ASN1Encodable , io.anyline.nfc.bouncycastle.asn1.cms.CMSObjectIdentifiers , io.anyline.nfc.bouncycastle.util.Encodable

    
    public class ContentInfo
    extends ASN1Object implements CMSObjectIdentifiers
                        

    RFC 5652 ContentInfo, and RFC 5652 EncapsulatedContentInfo objects.

    ContentInfo ::= SEQUENCE {
        contentType ContentType,
        content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL
    }
    
    EncapsulatedContentInfo ::= SEQUENCE {
        eContentType ContentType,
        eContent [0] EXPLICIT OCTET STRING OPTIONAL
    }