Class TimestampConfiguration
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.sign.TimestampConfiguration
-
- com.pdftools.crypto.providers.pkcs11.TimestampConfiguration
-
public class TimestampConfiguration extends TimestampConfiguration
The time-stamp configuration
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashAlgorithm
getHashAlgorithm()
The message digest algorithm (Getter)void
setHashAlgorithm(HashAlgorithm value)
The message digest algorithm (Setter)-
Methods inherited from class com.pdftools.sign.TimestampConfiguration
getAppearance, getFieldName, setAppearance, setFieldName
-
Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getHashAlgorithm
public HashAlgorithm getHashAlgorithm()
The message digest algorithm (Getter)
The algorithm used to hash the document and from which the time-stamp signature is created.
Note: This algorithm must be supported by the time-stamp server; many support only SHA-256.
Default:
pdftools.crypto.HashAlgorithm.SHA256
-
setHashAlgorithm
public void setHashAlgorithm(HashAlgorithm value)
The message digest algorithm (Setter)
The algorithm used to hash the document and from which the time-stamp signature is created.
Note: This algorithm must be supported by the time-stamp server; many support only SHA-256.
Default:
pdftools.crypto.HashAlgorithm.SHA256
- Throws:
java.lang.IllegalArgumentException
- If the value is invalid or not supported.java.lang.IllegalArgumentException
- ifvalue
isnull
-
-