Class EncapsulatedContentInfo
java.lang.Object
com.itextpdf.signatures.cms.EncapsulatedContentInfo
This class represents the signed content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final IBouncyCastleFactoryprivate IASN1OctetStringOptional.private StringObject identifier of the content field -
Constructor Summary
ConstructorsConstructorDescriptionCreates a default EncapsulatedContentInfo.EncapsulatedContentInfo(IASN1Sequence lencapContentInfo) 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.
-
Field Details
-
BC_FACTORY
-
eContentType
Object identifier of the content field -
eContent
Optional.The actual content as an octet string. Does not have to be DER encoded.
-
-
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. -
EncapsulatedContentInfo
EncapsulatedContentInfo(IASN1Sequence lencapContentInfo)
-
-
Method Details
-
getContentType
-
getContent
-