iText 9.0.0 API
iText.Signatures.Cms.EncapsulatedContentInfo Class Reference

This class represents the signed content. More...

Public Member Functions

  EncapsulatedContentInfo (String eContentType, IAsn1OctetString eContent)
  Creates an EncapsulatedContentInfo with contenttype and content. More...
 
  EncapsulatedContentInfo (String eContentType)
  Creates an EncapsulatedContentInfo with contenttype. More...
 
  EncapsulatedContentInfo ()
  Creates a default EncapsulatedContentInfo. More...
 
virtual String  GetContentType ()
  Returns the contenttype oid. More...
 
virtual IAsn1OctetString  GetContent ()
  Returns the content. More...
 

Detailed Description

This class represents the signed content.

Constructor & Destructor Documentation

◆ EncapsulatedContentInfo() [1/3]

iText.Signatures.Cms.EncapsulatedContentInfo.EncapsulatedContentInfo ( String  eContentType,
IAsn1OctetString  eContent 
)
inline

Creates an EncapsulatedContentInfo with contenttype and content.

Parameters
eContentType the content type Oid (object id)
eContent the content

◆ EncapsulatedContentInfo() [2/3]

iText.Signatures.Cms.EncapsulatedContentInfo.EncapsulatedContentInfo ( String  eContentType )
inline

Creates an EncapsulatedContentInfo with contenttype.

Parameters
eContentType the content type Oid (object id)

◆ EncapsulatedContentInfo() [3/3]

iText.Signatures.Cms.EncapsulatedContentInfo.EncapsulatedContentInfo ( )
inline

Creates a default EncapsulatedContentInfo.

Member Function Documentation

◆ GetContent()

virtual IAsn1OctetString iText.Signatures.Cms.EncapsulatedContentInfo.GetContent ( )
inlinevirtual

Returns the content.

Returns
the content.

◆ GetContentType()

virtual String iText.Signatures.Cms.EncapsulatedContentInfo.GetContentType ( )
inlinevirtual

Returns the contenttype oid.

Returns
the contenttype oid.