Class EncapsulatedContentInfo


  • public class EncapsulatedContentInfo
    extends java.lang.Object
    This class represents the signed content.
    • Field Detail

      • eContentType

        private java.lang.String eContentType
        Object identifier of the content field
      • eContent

        private IASN1OctetString eContent
        Optional.

        The actual content as an octet string. Does not have to be DER encoded.

    • Constructor Detail

      • EncapsulatedContentInfo

        public EncapsulatedContentInfo​(java.lang.String eContentType,
                                       IASN1OctetString eContent)
        Creates an EncapsulatedContentInfo with contenttype and content.
        Parameters:
        eContentType - the content type Oid (object id)
        eContent - the content
      • EncapsulatedContentInfo

        public EncapsulatedContentInfo​(java.lang.String eContentType)
        Creates an EncapsulatedContentInfo with contenttype.
        Parameters:
        eContentType - the content type Oid (object id)
      • EncapsulatedContentInfo

        public EncapsulatedContentInfo()
        Creates a default EncapsulatedContentInfo.
      • EncapsulatedContentInfo

        EncapsulatedContentInfo​(IASN1Sequence lencapContentInfo)
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
        Returns the contenttype oid.
        Returns:
        the contenttype oid.
      • getContent

        public IASN1OctetString getContent()
        Returns the content.
        Returns:
        the content.