public class SignOptions
extends java.lang.Object
To learn more, visit the Work with Digital Signatures documentation article.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComments()
Specifies comments on the digital signature.
|
java.lang.String |
getDecryptionPassword()
The password to decrypt source document.
|
java.util.UUID |
getProviderId()
Specifies the class ID of the signature provider.
|
java.util.UUID |
getSignatureLineId()
Signature line identifier.
|
byte[] |
getSignatureLineImage()
The image that will be shown in associated
SignatureLine. |
java.util.Date |
getSignTime()
The date of signing.
|
void |
setComments(java.lang.String value)
Specifies comments on the digital signature.
|
void |
setDecryptionPassword(java.lang.String value)
The password to decrypt source document.
|
void |
setProviderId(java.util.UUID value)
Specifies the class ID of the signature provider.
|
void |
setSignatureLineId(java.util.UUID value)
Signature line identifier.
|
void |
setSignatureLineImage(byte[] value)
The image that will be shown in associated
SignatureLine. |
void |
setSignTime(java.util.Date value)
The date of signing.
|
public java.lang.String getComments()
String value.public void setComments(java.lang.String value)
value - The corresponding String value.public java.util.Date getSignTime()
Date value.public void setSignTime(java.util.Date value)
value - The corresponding Date value.public java.util.UUID getSignatureLineId()
SignatureLine with corresponding DigitalSignature.UUID value.public void setSignatureLineId(java.util.UUID value)
SignatureLine with corresponding DigitalSignature.value - The corresponding UUID value.public byte[] getSignatureLineImage()
SignatureLine. Default value is null.byte[] value.public void setSignatureLineImage(byte[] value)
SignatureLine. Default value is null.value - The corresponding byte[] value.public java.lang.String getDecryptionPassword()
String value.public void setDecryptionPassword(java.lang.String value)
value - The corresponding String value.public java.util.UUID getProviderId()
The cryptographic service provider (CSP) is an independent software module that actually performs cryptography algorithms for authentication, encoding, and encryption. MS Office reserves the value of {00000000-0000-0000-0000-000000000000} for its default signature provider.
The GUID of the additionally installed provider should be obtained from the documentation shipped with the provider.
In addition, all the installed cryptographic providers are enumerated in windows registry. It can be found in the following path: HKLM\SOFTWARE\Microsoft\Cryptography\Defaults\Provider. There is a key name "CP Service UUID" which corresponds to a GUID of signature provider.
UUID value.public void setProviderId(java.util.UUID value)
The cryptographic service provider (CSP) is an independent software module that actually performs cryptography algorithms for authentication, encoding, and encryption. MS Office reserves the value of {00000000-0000-0000-0000-000000000000} for its default signature provider.
The GUID of the additionally installed provider should be obtained from the documentation shipped with the provider.
In addition, all the installed cryptographic providers are enumerated in windows registry. It can be found in the following path: HKLM\SOFTWARE\Microsoft\Cryptography\Defaults\Provider. There is a key name "CP Service UUID" which corresponds to a GUID of signature provider.
value - The corresponding UUID value.