TimestampSettings

Inheritance: java.lang.Object

public class TimestampSettings

Represents the ocsp settings using during signing process.

Constructors

ConstructorDescription
TimestampSettings(String serverUrl, String basicAuthCredentials)Initializes a new instance of the TimestampSettings class.
TimestampSettings(String serverUrl, String basicAuthCredentials, int digestHashAlgorithm)Initializes a new instance of the TimestampSettings class.

Methods

MethodDescription
getServerUrl()Gets the timestamp server url.
setServerUrl(String value)Sets the timestamp server url.
getBasicAuthCredentials()Gets the basic authentication credentials, Username and password are combined into a string “username:password”.
setBasicAuthCredentials(String value)Sets the basic authentication credentials, Username and password are combined into a string “username:password”.
getDigestHashAlgorithm()Gets/sets the digest algorithm for internal hash functions.
setDigestHashAlgorithm(int value)Gets/sets the digest algorithm for internal hash functions.

TimestampSettings(String serverUrl, String basicAuthCredentials)

public TimestampSettings(String serverUrl, String basicAuthCredentials)

Initializes a new instance of the TimestampSettings class.

Parameters:

ParameterTypeDescription
serverUrljava.lang.StringThe timestamp server url.
basicAuthCredentialsjava.lang.StringThe basic authentication credentials, username and password are combined into a string “username:password”.

TimestampSettings(String serverUrl, String basicAuthCredentials, int digestHashAlgorithm)

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

Initializes a new instance of the TimestampSettings class.

Parameters:

ParameterTypeDescription
serverUrljava.lang.StringThe timestamp server url.
basicAuthCredentialsjava.lang.StringThe basic authentication credentials, username and password are combined into a string “username:password”.
digestHashAlgorithmintThe hash algorithm name, if it is omitted then sha1 is used.

getServerUrl()

public String getServerUrl()

Gets the timestamp server url.

Returns: java.lang.String - String value

setServerUrl(String value)

public void setServerUrl(String value)

Sets the timestamp server url.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getBasicAuthCredentials()

public String getBasicAuthCredentials()

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

Returns: java.lang.String - String value

setBasicAuthCredentials(String value)

public void setBasicAuthCredentials(String value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getDigestHashAlgorithm()

public final int getDigestHashAlgorithm()

Gets/sets the digest algorithm for internal hash functions.

Returns: int - DigestHashAlgorithm element

setDigestHashAlgorithm(int value)

public final void setDigestHashAlgorithm(int value)

Gets/sets the digest algorithm for internal hash functions.

Parameters:

ParameterTypeDescription
valueintDigestHashAlgorithm element