Class TimestampConfiguration
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.sign.TimestampConfiguration
-
- com.pdftools.crypto.providers.swisscomsigsrv.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 cryptographic signature is created.
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 cryptographic signature is created.
Default:
pdftools.crypto.HashAlgorithm.SHA256
- Throws:
java.lang.IllegalArgumentException
- If the value is invalid or not supported.java.lang.IllegalArgumentException
- ifvalue
isnull
-
-