_FileSelect, _Password_disableUpdateAppearance| Constructor and Description |
|---|
SignatureField(IDocument doc,
Rectangle rect)
Initializes new instance of the
SignatureField class. |
SignatureField(Page page,
Rectangle rect)
Initializes new instance of the
SignatureField class. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes signature object from field.
|
InputStream |
extractCertificate()
Extracts the single X.509 certificate in DER format as a stream.
|
InputStream |
extractImage()
Extracts signature's image.
|
Signature |
getSignature()
Gets signature object.
|
void |
sign(Signature signature)
Sign the document using this signature field.
|
void |
sign(Signature signature,
InputStream pfx,
String pass)
Signs the document using this signature field.
|
copyTo, flatten, get_Item, get_Item, getAlternateName, getAnnotationIndex, getMappingName, getMaxFontSize, getPageIndex, getPartialName, getRect, getSyncRoot, getTabOrder, getValue, isFitIntoRectangle, isGroup, isSharedField, isSynchronized, iterator, recalculate, setAlternateName, setAnnotationIndex, setFitIntoRectangle, setMappingName, setMaxFontSize, setPartialName, setPosition, setRect, setSharedField, setTabOrder, setValue, size, updateAppearancesaccept, getActions, getAnnotationType, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequiredcreateAnnotation, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPageIndex, getRectangle, getStates, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setUpdateAppearanceOnConvert, setUseFontSubset, setWidthdeepClone, getHorizontalAlignment, getHyperlink, getMargin, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndexpublic SignatureField(Page page, Rectangle rect)
Initializes new instance of the SignatureField class.
page - Page where signature field should be placed.rect - Position and size of signature field.public Signature getSignature()
Gets signature object. This object contains signature data regarding public-key cryptographic
standards. Classes PKCS1, PKCS7 and PKCS7Detached represent all
supported types of signature objects.
public void sign(Signature signature, InputStream pfx, String pass)
Signs the document using this signature field.
signature - Signature object, see PKCS1, PKCS7, PKCS7Detached.pfx - Stream with certificate.pass - Password to access private in the pfx.public void sign(Signature signature)
Sign the document using this signature field.
signature - Signature object, see PKCS1, PKCS7 and PKCS7Detached.public void clear()
Removes signature object from field.
public InputStream extractImage()
Extracts signature's image.
public InputStream extractCertificate()
Extracts the single X.509 certificate in DER format as a stream.
Copyright © 2016 Aspose. All Rights Reserved.