Interface ISignature
public interface ISignature
Corresponds to a digital signature that is attached to a document.
-
Method Summary
void
Countersign the signature line, if the signature has been signed.
void
boolean
Gets a Boolean value indicating whether the user can set properties of the Signature object.
Gets information about a signature.
boolean
Gets a value indicating whether this is a signature line.
boolean
Gets a Boolean value indicating whether the document was signed successfully.
boolean
Determines if the digital signature that corresponds to the Signature object is a valid signature.
Returns the Parent object for the specified object.
Gets a ISignatureSetup
object that provides access to variousproperties of a signature packet.
Gets the Shape object associated with a Signature object that is a signature line.
Returns an Object representing the date and time that the digital certificate corresponding to the Signature object was attached to the document.
void
Creates a signature packet for non-visible signature line.
void
Creates a signature packet for visible signature line.
void
Creates a signature packet for visible signature line.
-
Method Details
-
getCanSetup
boolean getCanSetup()
Gets a Boolean value indicating whether the user can set properties of the Signature object. Read-only.
-
getDetails
Gets information about a signature. Read-only.
-
getIsSignatureLine
boolean getIsSignatureLine()
Gets a value indicating whether this is a signature line. Read-only.
-
getIsSigned
boolean getIsSigned()
Gets a Boolean value indicating whether the document was signed successfully. Read-only.
-
getIsValid
boolean getIsValid()
Determines if the digital signature that corresponds to the Signature object is a valid signature.
-
getParent
Returns the Parent object for the specified object.
-
getSetup
Gets a ISignatureSetup
object that provides access to variousproperties of a signature packet. Read-only.
-
getSignatureLineShape
IShape getSignatureLineShape()
Gets the Shape object associated with a Signature object that is a signature line. Read-only.
-
getSignDate
Returns an Object representing the date and time that the digital certificate corresponding to the Signature object was attached to the document.
-
delete
void delete()
Deletes the signature.
-
-
sign
Creates a signature packet for visible signature line.
- Parameters:
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.
- Throws:
IllegalStateException
- Attempted to sign a non-visiblesignature line
-
sign
Creates a signature packet for non-visible signature line.
- Parameters:
certificate
- The certificate that will be used to sign the workbook.
details
- The signature detail of the signature.
- Throws:
IllegalStateException
- Attempted to sign a visible signatureline
-
countersign
Countersign the signature line, if the signature has been signed.
- Parameters:
certificate
- The certificate that will be used to countersign theworkbook.
- Throws:
IllegalStateException
- The signature was not signed.