public class TimestampProperties
extends java.lang.Object
Constructor and Description |
---|
TimestampProperties(java.lang.String tsaUrl)
Constructor for timestamp properties, where only the TSA URL is needed.
|
TimestampProperties(java.lang.String tsaUrl,
java.lang.String tsaUsername,
java.lang.String tsaPw)
Constructor for timestamp properties, using the TSA URL as well as username and password for
authentication.
|
TimestampProperties(java.lang.String tsaUrl,
java.lang.String tsaUsername,
java.lang.String tsaPw,
java.lang.String imprintDigestAlgorithm)
Constructor for timestamp properties, using the TSA URL as well as username and password for
authentication.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getImprintDigestAlgorithm_()
Returns the digest algorithm, used to hash the data and create the signature timestamp.
|
java.lang.String |
getTsaPw_()
Returns the password for authorization at the timestamp server, used to create the signature
timestamp.
|
java.lang.String |
getTsaUrl_()
Returns the URL of the timestamp server, used to create the signature timestamp.
|
java.lang.String |
getTsaUsername_()
Returns the username for authorization at the timestamp server, used to create the signature
timestamp.
|
public TimestampProperties(java.lang.String tsaUrl)
tsaUrl
- the URL of the TSA serverpublic TimestampProperties(java.lang.String tsaUrl, java.lang.String tsaUsername, java.lang.String tsaPw)
tsaUrl
- the URL of the TSA servertsaUsername
- username for using the timestamp servertsaPw
- password for using the timestamp serverpublic TimestampProperties(java.lang.String tsaUrl, java.lang.String tsaUsername, java.lang.String tsaPw, java.lang.String imprintDigestAlgorithm)
tsaUrl
- the URL of the TSA servertsaUsername
- username for using the timestamp servertsaPw
- password for using the timestamp serverimprintDigestAlgorithm
- digest algorithm to hash the timestamped datapublic java.lang.String getTsaUrl_()
public java.lang.String getTsaUsername_()
public java.lang.String getTsaPw_()
public java.lang.String getImprintDigestAlgorithm_()