Package com.realobjects.pdfreactor
Class Configuration.SignPDF
java.lang.Object
com.realobjects.pdfreactor.Configuration.SignPDF
- Enclosing class:
Configuration
A type containing data for signing the PDF.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetKeyAlias
(String value) The alias of the certificate included in the keystore to be used to sign the PDF.setKeyPassword
(String value) The password for the certificate included in the keystore to be used to sign the PDF.setKeystorePassword
(String value) The password of the keystore.The format of the keystore, for example PKCS #12 or JKS.setKeystoreURL
(String value) The URL to the keystore file.The cryptographic filter mode that is used to sign the PDF, like SELF_SIGNED, VERISIGN_SIGNED or WINCER_SIGNED.
-
Constructor Details
-
SignPDF
public SignPDF()
-
-
Method Details
-
setKeystoreURL
The URL to the keystore file.
- Returns:
- The current
Configuration.SignPDF
instance.
-
setKeyAlias
The alias of the certificate included in the keystore to be used to sign the PDF.
- Returns:
- The current
Configuration.SignPDF
instance.
-
setKeyPassword
The password for the certificate included in the keystore to be used to sign the PDF.
If none is provided, the keystore password will be used for the certificate.
- Returns:
- The current
Configuration.SignPDF
instance.
-
setKeystorePassword
The password of the keystore.
- Returns:
- The current
Configuration.SignPDF
instance.
-
setKeystoreType
The format of the keystore, for example PKCS #12 or JKS. Use one of the
Configuration.KeystoreType
constants as value.- Returns:
- The current
Configuration.SignPDF
instance.
-
setSigningMode
The cryptographic filter mode that is used to sign the PDF, like SELF_SIGNED, VERISIGN_SIGNED or WINCER_SIGNED.
Use one of the
Configuration.SigningMode
constants as value.- Returns:
- The current
Configuration.SignPDF
instance.
-