public class SignatureConfiguration extends SignatureConfiguration
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getAddTimestamp() |
Whether to add a trusted time-stamp to the signature (Getter)
|
HashAlgorithm |
getHashAlgorithm() |
The message digest algorithm (Getter)
|
SignatureFormat |
getSignatureFormat() |
The format (encoding) of the cryptographic signature (Getter)
|
SignaturePaddingType |
getSignaturePaddingType() |
The padding type of the cryptographic signature (Getter)
|
ValidationInformation |
getValidationInformation() |
Whether to add validation information (LTV) (Getter)
|
void |
setAddTimestamp(boolean value) |
Whether to add a trusted time-stamp to the signature (Setter)
|
void |
setSignatureFormat(SignatureFormat value) |
The format (encoding) of the cryptographic signature (Setter)
|
void |
setValidationInformation(ValidationInformation value) |
Whether to add validation information (LTV) (Setter)
|
equals, hashCodegetClass, notify, notifyAll, toString, wait, wait, waitgetContactInfo, getFieldName, getLocation, getName, getReason, setContactInfo, setFieldName, setLocation, setReasonpublic HashAlgorithm getHashAlgorithm()
The algorithm used to hash the document and from which the cryptographic signature is created.
public SignaturePaddingType getSignaturePaddingType()
pdftools.crypto.SignaturePaddingType.RSA_RSApublic SignatureFormat getSignatureFormat()
pdftools.crypto.SignatureFormat.ETSI_CADES_DETACHEDpublic void setSignatureFormat(SignatureFormat value)
pdftools.crypto.SignatureFormat.ETSI_CADES_DETACHEDjava.lang.IllegalArgumentException - if value is nullpublic boolean getAddTimestamp()
falsepublic void setAddTimestamp(boolean value)
falsepublic ValidationInformation getValidationInformation()
Note: This has no effect for signing certificates that do not offer revocation information.
Default: pdftools.crypto.ValidationInformation.EMBED_IN_DOCUMENT
public void setValidationInformation(ValidationInformation value)
Note: This has no effect for signing certificates that do not offer revocation information.
Default: pdftools.crypto.ValidationInformation.EMBED_IN_DOCUMENT
java.lang.IllegalArgumentException - if value is null