Loading...
Searching...
No Matches
TimestampingConfiguration.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5
6#ifndef PDFTRON_H_CPPPDFTimestampingConfiguration
7#define PDFTRON_H_CPPPDFTimestampingConfiguration
8#include <C/PDF/TRN_TimestampingConfiguration.h>
9
10#include <Common/BasicTypes.h>
11#include <Common/UString.h>
12#include <PDF/PDFDoc.h>
13#include <PDF/VerificationOptions.h>
14#include <PDF/TimestampingResult.h>
15
16 namespace pdftron { namespace PDF {
17
21 class TimestampingConfiguration
22{
23 public:
24
25 TimestampingConfiguration(const TimestampingConfiguration& other);
26 TimestampingConfiguration& operator= (const TimestampingConfiguration& other);
27 ~TimestampingConfiguration();
28
29 void Destroy();
30
31 //methods:
32
38 TimestampingConfiguration(const UString& in_url);
39
45 void SetTimestampAuthorityServerURL(const UString& in_url);
46
52 void SetTimestampAuthorityServerUsername(const UString& in_username);
53
59 void SetTimestampAuthorityServerPassword(const UString& in_password);
60
68 void SetUseNonce(bool in_use_nonce);
69
79 TimestampingResult TestConfiguration(const pdftron::PDF::VerificationOptions& in_opts) const;
80
81#ifdef SWIG
82 TimestampingConfiguration();
83#endif
84
85#ifndef SWIGHIDDEN
86 TimestampingConfiguration(TRN_TimestampingConfiguration impl);
87 TRN_TimestampingConfiguration m_impl;
88#endif
89
90};
91
92#include <Impl/TimestampingConfiguration.inl>
93} //end pdftron
94} //end PDF
95
96
97#endif //PDFTRON_H_CPPPDFTimestampingConfiguration
BasicTypes.h
PDFDoc.h
TimestampingResult.h
UString.h
VerificationOptions.h
pdftron::PDF::TimestampingConfiguration::TestConfiguration
TimestampingResult TestConfiguration(const pdftron::PDF::VerificationOptions &in_opts) const
pdftron::PDF::TimestampingConfiguration::TimestampingConfiguration
TimestampingConfiguration(const UString &in_url)
pdftron::PDF::TimestampingConfiguration::Destroy
void Destroy()
pdftron::PDF::TimestampingConfiguration::~TimestampingConfiguration
~TimestampingConfiguration()
pdftron::PDF::TimestampingConfiguration::TimestampingConfiguration
TimestampingConfiguration(TRN_TimestampingConfiguration impl)
pdftron::PDF::TimestampingConfiguration::SetTimestampAuthorityServerPassword
void SetTimestampAuthorityServerPassword(const UString &in_password)
pdftron::PDF::TimestampingConfiguration::SetTimestampAuthorityServerUsername
void SetTimestampAuthorityServerUsername(const UString &in_username)
pdftron::PDF::TimestampingConfiguration::TimestampingConfiguration
TimestampingConfiguration(const TimestampingConfiguration &other)
pdftron::PDF::TimestampingConfiguration::m_impl
TRN_TimestampingConfiguration m_impl
Definition TimestampingConfiguration.h:87
pdftron::PDF::TimestampingConfiguration::operator=
TimestampingConfiguration & operator=(const TimestampingConfiguration &other)
pdftron::PDF::TimestampingConfiguration::SetTimestampAuthorityServerURL
void SetTimestampAuthorityServerURL(const UString &in_url)
pdftron::PDF::TimestampingConfiguration::SetUseNonce
void SetUseNonce(bool in_use_nonce)
pdftron::PDF::TimestampingResult
Definition TimestampingResult.h:22
pdftron::PDF::VerificationOptions
Definition VerificationOptions.h:22
pdftron::UString
Definition UString.h:28
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10