TimestampSettings

Inheritance: java.lang.Object, com.aspose.pdf.TimestampSettings

public class TimestampSettings extends Object

Represents the ocsp settings using during signing process.

Constructors

ConstructorDescription
TimestampSettingsInitializes a new instance of the {@code TimestampSettings} class.
TimestampSettingsInitializes a new instance of the {@code TimestampSettings} class.

Methods

MethodDescription
getBasicAuthCredentialsGets the basic authentication credentials, Username and password are combined into a string “username:password”.
getDigestHashAlgorithmGets/sets the digest algorithm for internal hash functions.
getServerUrlGets the timestamp server url.
setBasicAuthCredentialsSets the basic authentication credentials, Username and password are combined into a string “username:password”.
setDigestHashAlgorithmGets/sets the digest algorithm for internal hash functions.
setServerUrlSets the timestamp server url.

TimestampSettings

Initializes a new instance of the {@code TimestampSettings} class.

TimestampSettings

Initializes a new instance of the {@code TimestampSettings} class.

getBasicAuthCredentials

public String getBasicAuthCredentials()

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

Returns: String value

getDigestHashAlgorithm

public final DigestHashAlgorithm getDigestHashAlgorithm()

Gets/sets the digest algorithm for internal hash functions.

Returns: DigestHashAlgorithm element @see DigestHashAlgorithm

getServerUrl

public String getServerUrl()

Gets the timestamp server url.

Returns: String value

setBasicAuthCredentials

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

setDigestHashAlgorithm

Gets/sets the digest algorithm for internal hash functions.

setServerUrl

Sets the timestamp server url.