Package com.itextpdf.signatures.cms
Class EncapsulatedContentInfo
java.lang.Object
com.itextpdf.signatures.cms.EncapsulatedContentInfo
This class represents the signed content.
-
Constructor Summary
ConstructorDescriptionCreates a default EncapsulatedContentInfo.EncapsulatedContentInfo
(String eContentType) Creates an EncapsulatedContentInfo with contenttype.EncapsulatedContentInfo
(String eContentType, IASN1OctetString eContent) Creates an EncapsulatedContentInfo with contenttype and content. -
Method Summary
Modifier and TypeMethodDescriptionReturns the content.Returns the contenttype oid.
-
Constructor Details
-
EncapsulatedContentInfo
Creates an EncapsulatedContentInfo with contenttype and content.- Parameters:
-
eContentType
- the content type Oid (object id) -
eContent
- the content
-
EncapsulatedContentInfo
Creates an EncapsulatedContentInfo with contenttype.- Parameters:
-
eContentType
- the content type Oid (object id)
-
EncapsulatedContentInfo
public EncapsulatedContentInfo()Creates a default EncapsulatedContentInfo.
-
-
Method Details
-
getContentType
Returns the contenttype oid.- Returns:
- the contenttype oid.
-
getContent
Returns the content.- Returns:
- the content.
-