TimestampSettings
Inheritance: java.lang.Object, com.aspose.pdf.TimestampSettings
public class TimestampSettings extends Object
Represents the ocsp settings using during signing process.
Constructors
| Constructor | Description |
|---|---|
| TimestampSettings | Initializes a new instance of the {@code TimestampSettings} class. |
| TimestampSettings | Initializes a new instance of the {@code TimestampSettings} class. |
Methods
| Method | Description |
|---|---|
| getBasicAuthCredentials | Gets the basic authentication credentials, Username and password are combined into a string “username:password”. |
| getDigestHashAlgorithm | Gets/sets the digest algorithm for internal hash functions. |
| getServerUrl | Gets the timestamp server url. |
| 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. |
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.