All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EmbeddedTimestampVerificationResult.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2020 by PDFTron Systems Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 
6 #ifndef PDFTRON_H_CPPPDFEmbeddedTimestampVerificationResult
7 #define PDFTRON_H_CPPPDFEmbeddedTimestampVerificationResult
8 #include <C/PDF/TRN_EmbeddedTimestampVerificationResult.h>
9 
10 #include <Common/BasicTypes.h>
11 #include <Common/UString.h>
12 #include <PDF/PDFDoc.h>
13 #include <PDF/VerificationResult.h>
15 #include <PDF/DigestAlgorithm.h>
16 
17 
18 namespace pdftron { namespace PDF {
19 
25 {
26 public:
30  void Destroy();
31 
32  //methods:
33 
39  bool GetVerificationStatus() const;
40 
47 
54 
61 
70 
79 
88 
94  bool HasTrustVerificationResult() const;
95 
104 
111 
118 
119 #ifdef SWIG
120 
130  // We use an std::vector of UTF-8 std::strings for SWIG, because SWIG has trouble with mapping UString to string when it's in a vector<UString>.
131  std::vector<std::string> GetUnsupportedFeatures() const;
132 #else
133 
143  std::vector<UString> GetUnsupportedFeatures() const;
144 #endif
145 
146 #ifdef SWIG
148 #endif
149 
150 #ifndef SWIGHIDDEN
151  EmbeddedTimestampVerificationResult(TRN_EmbeddedTimestampVerificationResult impl);
152  TRN_EmbeddedTimestampVerificationResult m_impl;
153 #endif
154 
155 private:
156 #ifndef SWIGHIDDEN
157  mutable bool m_owner;
158 #endif
159 };
160 
161 } //end pdftron
162 } //end PDF
163 
164 
165 #include <Impl/TrustVerificationResult.inl>
166 
167 #endif //PDFTRON_H_CPPPDFEmbeddedTimestampVerificationResult
EmbeddedTimestampVerificationResult & operator=(const EmbeddedTimestampVerificationResult &other)
VerificationResult::TrustStatus GetTrustStatus() const
DigestAlgorithm::Type GetMessageImprintDigestAlgorithm() const
VerificationResult::DigestStatus GetMessageImprintDigestStatus() const
TrustVerificationResult GetTrustVerificationResult() const
VerificationResult::DigestStatus GetCMSDigestStatus() const
std::vector< UString > GetUnsupportedFeatures() const
DigestAlgorithm::Type GetCMSSignatureDigestAlgorithm() const
EmbeddedTimestampVerificationResult(const EmbeddedTimestampVerificationResult &other)