#include <TimestampingConfiguration.h>
|
TRN_TimestampingConfiguration | m_impl |
|
A class representing a set of options for timestamping a document.
Definition at line 21 of file TimestampingConfiguration.h.
pdftron::PDF::TimestampingConfiguration::~TimestampingConfiguration |
( |
| ) |
|
pdftron::PDF::TimestampingConfiguration::TimestampingConfiguration |
( |
const UString & |
in_url | ) |
|
Constructor.
- Parameters
-
in_url | – a string representing a URL of a timestamp authority (TSA) to use during timestamping |
pdftron::PDF::TimestampingConfiguration::TimestampingConfiguration |
( |
TRN_TimestampingConfiguration |
impl | ) |
|
void pdftron::PDF::TimestampingConfiguration::Destroy |
( |
| ) |
|
void pdftron::PDF::TimestampingConfiguration::SetTimestampAuthorityServerPassword |
( |
const UString & |
in_password | ) |
|
Setter for a password to use during timestamping.
- Parameters
-
in_password | – a string representing a password. |
void pdftron::PDF::TimestampingConfiguration::SetTimestampAuthorityServerURL |
( |
const UString & |
in_url | ) |
|
Setter to change the timestamp authority (TSA) URL to use during timestamping.
- Parameters
-
in_url | – a string representing a URL of a timestamp authority. |
void pdftron::PDF::TimestampingConfiguration::SetTimestampAuthorityServerUsername |
( |
const UString & |
in_username | ) |
|
Setter for a username to use during timestamping.
- Parameters
-
in_username | – a string representing a username. |
void pdftron::PDF::TimestampingConfiguration::SetUseNonce |
( |
bool |
in_use_nonce | ) |
|
Setter for whether to use a nonce (unique random number) during timestamping. This is on by default, and should be on whenever a timestamp authority supports it, because it helps prevent replay attacks.
- Parameters
-
in_use_nonce | – a boolean value representing whether or not to use a nonce |
Tests a timestamping configuration for usability and reports any failures. This function does not throw on many common failures, unlike the real signing, thereby allowing early diagnosis of things like connectivity issues with timestamp authorities.
- Parameters
-
in_opts | – a set of verification options to try to use |
- Returns
- A result object containing information about the status of the configuration test and any errors that occurred during it.
TRN_TimestampingConfiguration pdftron::PDF::TimestampingConfiguration::m_impl |
The documentation for this class was generated from the following file: