All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TimestampingConfiguration.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 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>
14 #include <PDF/TimestampingResult.h>
15 
16 namespace pdftron { namespace PDF {
17 
22 {
23 public:
24 
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 
80 
81 #ifdef SWIG
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
TimestampingConfiguration & operator=(const TimestampingConfiguration &other)
TimestampingConfiguration(const TimestampingConfiguration &other)
void SetTimestampAuthorityServerURL(const UString &in_url)
TimestampingResult TestConfiguration(const pdftron::PDF::VerificationOptions &in_opts) const
void SetTimestampAuthorityServerUsername(const UString &in_username)
void SetTimestampAuthorityServerPassword(const UString &in_password)
void SetUseNonce(bool in_use_nonce)