Class TimestampConfiguration

    • Method Detail

      • 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 - if value is null