com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TimestampSettings



  • public class TimestampSettings
    extends Object

    Represents the ocsp settings using during signing process.

    • Constructor Detail

      • TimestampSettings

        public TimestampSettings(String serverUrl,
                                 String basicAuthCredentials)

        Initializes a new instance of the TimestampSettings class.

        Parameters:
        serverUrl - The timestamp server url.
        basicAuthCredentials - The basic authentication credentials, username and password are combined into a string "username:password".
      • TimestampSettings

        public TimestampSettings(String serverUrl,
                                 String basicAuthCredentials,
                                 int digestHashAlgorithm)

        Initializes a new instance of the TimestampSettings class.

        Parameters:
        serverUrl - The timestamp server url.
        basicAuthCredentials - The basic authentication credentials, username and password are combined into a string "username:password".
        digestHashAlgorithm - The hash algorithm name, if it is omitted then sha1 is used.
        See Also:
        DigestHashAlgorithm
    • Method Detail

      • getServerUrl

        public String getServerUrl()

        Gets the timestamp server url.

        Returns:
        String value
      • setServerUrl

        public void setServerUrl(String value)

        Sets the timestamp server url.

        Parameters:
        value - String value
      • getBasicAuthCredentials

        public String getBasicAuthCredentials()

        Gets the basic authentication credentials, Username and password are combined into a string "username:password".

        Returns:
        String value
      • setBasicAuthCredentials

        public void setBasicAuthCredentials(String value)

        Sets the basic authentication credentials, Username and password are combined into a string "username:password".

        Parameters:
        value - String value
      • getDigestHashAlgorithm

        public final int getDigestHashAlgorithm()

        Gets/sets the digest algorithm for internal hash functions.

        Returns:
        DigestHashAlgorithm element
        See Also:
        DigestHashAlgorithm
      • setDigestHashAlgorithm

        public final void setDigestHashAlgorithm(int value)

        Gets/sets the digest algorithm for internal hash functions.

        Parameters:
        value - DigestHashAlgorithm element
        See Also:
        DigestHashAlgorithm