_FileSelect, _Password
_disableUpdateAppearance
Constructor and Description |
---|
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.
|
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, getPageIndex, getPartialName, getRect, getSyncRoot, getValue, isGroup, isSharedField, isSharedField, isSynchronized, iterator, recalculate, setAlternateName, setAnnotationIndex, setFieldImage, setFitIntoRectangle, setMappingName, setPartialName, setPosition, setRect, setValue, size, updateAppearances
accept, getActions, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequired
createAnnotation, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getStates, getWidth, initialize, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setWidth
deepClone, getMargin, isKeptWithNext, isKeptWithNext, setHorizontalAlignment, setMargin, setVerticalAlignment
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.
Copyright © 2018 Aspose. All Rights Reserved.