Class EncapsulatedContentInfo
- Namespace
- iText.Signatures.Cms
- Assembly
- itext.sign.dll
This class represents the signed content.
public class EncapsulatedContentInfo
- Inheritance
-
EncapsulatedContentInfo
- Inherited Members
Constructors
EncapsulatedContentInfo()
Creates a default EncapsulatedContentInfo.
public EncapsulatedContentInfo()
EncapsulatedContentInfo(string)
Creates an EncapsulatedContentInfo with contenttype.
public EncapsulatedContentInfo(string eContentType)
Parameters
eContentType
stringthe content type Oid (object id)
EncapsulatedContentInfo(string, IAsn1OctetString)
Creates an EncapsulatedContentInfo with contenttype and content.
public EncapsulatedContentInfo(string eContentType, IAsn1OctetString eContent)
Parameters
eContentType
stringthe content type Oid (object id)
eContent
IAsn1OctetStringthe content
Methods
GetContent()
Returns the content.
public virtual IAsn1OctetString GetContent()
Returns
- IAsn1OctetString
the content.
GetContentType()
Returns the contenttype oid.
public virtual string GetContentType()
Returns
- string
the contenttype oid.