All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CMSSignatureOptions.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_CPPPDFCMSSignatureOptions
7 #define PDFTRON_H_CPPPDFCMSSignatureOptions
8 #include <C/PDF/TRN_CMSSignatureOptions.h>
9 
10 #include <Common/BasicTypes.h>
11 #include <Common/UString.h>
12 #include <PDF/PDFDoc.h>
13 
14 namespace pdftron { namespace PDF {
15 
20 {
21 public:
26 
32  void AddTimestampToken(const std::vector<UChar>& token_buf);
33 
34 #ifndef SWIG
35 
41  void AddTimestampToken(const UChar* token_buf, const size_t token_buf_size);
42 #endif
43 
44 #ifndef SWIGHIDDEN
45  CMSSignatureOptions(TRN_CMSSignatureOptions impl);
46  TRN_CMSSignatureOptions m_impl;
47 #endif
48 
49 protected:
50 
51  void Destroy();
52 
53 #ifndef SWIGHIDDEN
54  mutable bool m_owner;
55 #endif
56 };
57 
58 #include <Impl/CMSSignatureOptions.inl>
59 } //end pdftron
60 } //end PDF
61 
62 
63 #endif //PDFTRON_H_CPPPDFCMSSignatureOptions
void AddTimestampToken(const std::vector< UChar > &token_buf)
TRN_UChar UChar
Definition: BasicTypes.h:12
CMSSignatureOptions & operator=(const CMSSignatureOptions &other)