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
14namespace pdftron { namespace PDF {
15
20{
21public:
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
49protected:
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
CMSSignatureOptions(const CMSSignatureOptions &other)
void AddTimestampToken(const std::vector< UChar > &token_buf)
CMSSignatureOptions(TRN_CMSSignatureOptions impl)
void AddTimestampToken(const UChar *token_buf, const size_t token_buf_size)
CMSSignatureOptions & operator=(const CMSSignatureOptions &other)
TRN_UChar UChar
Definition BasicTypes.h:12