public class TimestampSettings extends Object
Represents the ocsp settings using during signing process.
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
String |
getBasicAuthCredentials()
Gets the basic authentication credentials, Username and password are combined into a string
"username:password".
|
int |
getDigestHashAlgorithm()
Gets/sets the digest algorithm for internal hash functions.
|
String |
getServerUrl()
Gets the timestamp server url.
|
void |
setBasicAuthCredentials(String value)
Sets the basic authentication credentials, Username and password are combined into a string
"username:password".
|
void |
setDigestHashAlgorithm(int value)
Gets/sets the digest algorithm for internal hash functions.
|
void |
setServerUrl(String value)
Sets the timestamp server url.
|
public TimestampSettings(String serverUrl, String basicAuthCredentials)
Initializes a new instance of the TimestampSettings
class.
serverUrl
- The timestamp server url.basicAuthCredentials
- The basic authentication credentials, username and password are combined into a string
"username:password".public TimestampSettings(String serverUrl, String basicAuthCredentials, int digestHashAlgorithm)
Initializes a new instance of the TimestampSettings
class.
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.DigestHashAlgorithm
public String getServerUrl()
Gets the timestamp server url.
public void setServerUrl(String value)
Sets the timestamp server url.
value
- String valuepublic String getBasicAuthCredentials()
Gets the basic authentication credentials, Username and password are combined into a string "username:password".
public void setBasicAuthCredentials(String value)
Sets the basic authentication credentials, Username and password are combined into a string "username:password".
value
- String valuepublic final int getDigestHashAlgorithm()
Gets/sets the digest algorithm for internal hash functions.
DigestHashAlgorithm
public final void setDigestHashAlgorithm(int value)
Gets/sets the digest algorithm for internal hash functions.
value
- DigestHashAlgorithm elementDigestHashAlgorithm
Copyright © 2022 Aspose. All Rights Reserved.