public interface ISignature
| Modifier and Type | Method and Description |
|---|---|
void |
countersign(java.security.KeyStore certificate,
java.lang.String certificatePassword)
Countersign the signature line, if the signature has been signed.
|
void |
delete()
Deletes the signature
|
boolean |
getCanSetup()
Gets a Boolean value indicating whether the user can set
properties of the Signature object.
|
IReadOnlySignatureDetails |
getDetails()
Gets information about a signature.
|
boolean |
getIsSignatureLine()
Gets a value indicating whether this is a signature line.
|
boolean |
getIsSigned()
Gets a Boolean value indicating whether the document was signed
successfully.
|
boolean |
getIsValid()
Determines if the digital signature that corresponds to the Signature object
is a valid signature.
|
ISignatureSet |
getParent()
Returns the Parent object for the specified object.
|
ISignatureSetup |
getSetup()
Gets a
ISignatureSetup object that provides access to various
properties of a signature packet. |
IShape |
getSignatureLineShape()
Gets the Shape object associated with a Signature object that is a signature
line.
|
java.util.Calendar |
getSignDate()
Returns an Object representing the date and time that the digital certificate
corresponding to the Signature object was attached to the document.
|
void |
sign(java.security.KeyStore certificate,
java.lang.String certificatePassword,
java.io.InputStream signatureImage,
SignatureDetails details)
Creates a signature packet for visible signature line.
|
void |
sign(java.security.KeyStore certificate,
java.lang.String certificatePassword,
SignatureDetails details)
Creates a signature packet for non-visible signature line.
|
void |
sign(java.security.KeyStore certificate,
java.lang.String certificatePassword,
java.lang.String signatureText,
SignatureDetails details)
Creates a signature packet for visible signature line.
|
boolean getCanSetup()
IReadOnlySignatureDetails getDetails()
boolean getIsSignatureLine()
boolean getIsSigned()
boolean getIsValid()
ISignatureSet getParent()
ISignatureSetup getSetup()
ISignatureSetup object that provides access to various
properties of a signature packet. Read-only.IShape getSignatureLineShape()
java.util.Calendar getSignDate()
void delete()
void sign(java.security.KeyStore certificate,
java.lang.String certificatePassword,
java.io.InputStream signatureImage,
SignatureDetails details)
certificate - The certificate that will be used to sign the workbook.details - The signature detail of the signature.signatureImage - The signature image of the signature line.InvalidOperationException - Attempted to sign a non-visible
signature linevoid sign(java.security.KeyStore certificate,
java.lang.String certificatePassword,
java.lang.String signatureText,
SignatureDetails details)
certificate - The certificate that will be used to sign the workbook.details - The signature detail of the signature.signatureText - The signature text of the signature line.InvalidOperationException - Attempted to sign a non-visible
signature linevoid sign(java.security.KeyStore certificate,
java.lang.String certificatePassword,
SignatureDetails details)
certificate - The certificate that will be used to sign the workbook.details - The signature detail of the signature.InvalidOperationException - Attempted to sign a visible signature
linevoid countersign(java.security.KeyStore certificate,
java.lang.String certificatePassword)
certificate - The certificate that will be used to countersign the
workbook.InvalidOperationException - The signature was not signed.