Class RFC3161TSAOptions
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.electronicseal.RFC3161TSAOptions
-
- All Implemented Interfaces:
TSAOptions
public class RFC3161TSAOptions extends Object implements TSAOptions
Parameters specifying RFC3161 compliant time stamp authority options required forPDFElectronicSealParams.
-
-
Constructor Summary
Constructors Constructor Description RFC3161TSAOptions(String url)Constructs aRFC3161TSAOptionsinstance from url.RFC3161TSAOptions(String url, TSABasicAuthCredentials tsaBasicAuthCredentials)Constructs aRFC3161TSAOptionsinstance from url and authorization credentials.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TSABasicAuthCredentialsgetTsaBasicAuthCredentials()Returns the intended TSA authorization credentials be used.StringgetUrl()Returns the timestamp url to be used.
-
-
-
Constructor Detail
-
RFC3161TSAOptions
public RFC3161TSAOptions(String url)
Constructs aRFC3161TSAOptionsinstance from url.- Parameters:
url- url to be used for timestamping
-
RFC3161TSAOptions
public RFC3161TSAOptions(String url, TSABasicAuthCredentials tsaBasicAuthCredentials)
Constructs aRFC3161TSAOptionsinstance from url and authorization credentials.- Parameters:
url- The url to be used for timestampingtsaBasicAuthCredentials- Credentials to be used for timestamping
-
-
Method Detail
-
getUrl
public String getUrl()
Returns the timestamp url to be used.- Returns:
- The timestamp url
-
getTsaBasicAuthCredentials
public TSABasicAuthCredentials getTsaBasicAuthCredentials()
Returns the intended TSA authorization credentials be used.- Returns:
- A
TSABasicAuthCredentialsinstance
-
-