Class ContentInfo

  • All Implemented Interfaces:
    ASN1Encodable, CMSObjectIdentifiers, 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
     }