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-2023 by Apryse Software 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 <Crypto/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 };
156 
157 } //end pdftron
158 } //end PDF
159 
160 
161 #include <Impl/TrustVerificationResult.inl>
162 
163 #endif //PDFTRON_H_CPPPDFEmbeddedTimestampVerificationResult
EmbeddedTimestampVerificationResult & operator=(const EmbeddedTimestampVerificationResult &other)
Crypto::DigestAlgorithm::Type GetCMSSignatureDigestAlgorithm() const
VerificationResult::TrustStatus GetTrustStatus() const
VerificationResult::DigestStatus GetMessageImprintDigestStatus() const
TrustVerificationResult GetTrustVerificationResult() const
VerificationResult::DigestStatus GetCMSDigestStatus() const
std::vector< UString > GetUnsupportedFeatures() const
Crypto::DigestAlgorithm::Type GetMessageImprintDigestAlgorithm() const
EmbeddedTimestampVerificationResult(const EmbeddedTimestampVerificationResult &other)