Loading...
Searching...
No Matches
CMSSignatureOptions.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_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
19 class CMSSignatureOptions
20{
21 public:
22 CMSSignatureOptions();
23 CMSSignatureOptions(const CMSSignatureOptions& other);
24 CMSSignatureOptions& operator= (const CMSSignatureOptions& other);
25 ~CMSSignatureOptions();
26
32 void AddTimestampToken(const std::vector<UChar>& token_buf);
33
34#ifndef SWIG
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
BasicTypes.h
PDFDoc.h
UString.h
pdftron::PDF::CMSSignatureOptions::CMSSignatureOptions
CMSSignatureOptions(const CMSSignatureOptions &other)
pdftron::PDF::CMSSignatureOptions::AddTimestampToken
void AddTimestampToken(const std::vector< UChar > &token_buf)
pdftron::PDF::CMSSignatureOptions::CMSSignatureOptions
CMSSignatureOptions(TRN_CMSSignatureOptions impl)
pdftron::PDF::CMSSignatureOptions::AddTimestampToken
void AddTimestampToken(const UChar *token_buf, const size_t token_buf_size)
pdftron::PDF::CMSSignatureOptions::~CMSSignatureOptions
~CMSSignatureOptions()
pdftron::PDF::CMSSignatureOptions::m_owner
bool m_owner
Definition CMSSignatureOptions.h:54
pdftron::PDF::CMSSignatureOptions::Destroy
void Destroy()
pdftron::PDF::CMSSignatureOptions::CMSSignatureOptions
CMSSignatureOptions()
pdftron::PDF::CMSSignatureOptions::m_impl
TRN_CMSSignatureOptions m_impl
Definition CMSSignatureOptions.h:46
pdftron::PDF::CMSSignatureOptions::operator=
CMSSignatureOptions & operator=(const CMSSignatureOptions &other)
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10
pdftron::UChar
TRN_UChar UChar
Definition BasicTypes.h:12