Class EncapsulatedContentInfo

java.lang.Object
com.itextpdf.signatures.cms.EncapsulatedContentInfo

public class EncapsulatedContentInfo extends Object
This class represents the signed content.
  • Constructor Details

    • EncapsulatedContentInfo

      public EncapsulatedContentInfo (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 (String eContentType)
      Creates an EncapsulatedContentInfo with contenttype.
      Parameters:
      eContentType - the content type Oid (object id)
    • EncapsulatedContentInfo

      public EncapsulatedContentInfo()
      Creates a default EncapsulatedContentInfo.
  • Method Details

    • getContentType

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

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