All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TrustVerificationResult.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_CPPPDFTrustVerificationResult
7 #define PDFTRON_H_CPPPDFTrustVerificationResult
8 #include <C/PDF/TRN_TrustVerificationResult.h>
9 
10 #include <Common/BasicTypes.h>
11 #include <Common/UString.h>
13 #include <PDF/PDFDoc.h>
14 #include <Crypto/X509Certificate.h>
15 
16 namespace pdftron { namespace PDF {
17  class EmbeddedTimestampVerificationResult;
18 
24 {
25 public:
26 
30 
31  void Destroy();
32 
33  //methods:
34 
40  bool WasSuccessful() const;
41 
49  UString GetResultString() const;
50 
57 
64 
71 
78 
84  std::vector<Crypto::X509Certificate> GetCertPath() const;
85 
86 #ifdef SWIG
88 #endif
89 
90 #ifndef SWIGHIDDEN
91  TrustVerificationResult(TRN_TrustVerificationResult impl);
92  TRN_TrustVerificationResult m_impl;
93 #endif
94 
95 private:
96 
97 #ifndef SWIGHIDDEN
98  mutable bool m_owner;
99 #endif
100 };
101 
102 } //end pdftron
103 } //end PDF
104 
105 #include <Impl/TrustVerificationResult.inl>
106 
107 #endif //PDFTRON_H_CPPPDFTrustVerificationResult
TRN_Int64 Int64
Definition: BasicTypes.h:20
EmbeddedTimestampVerificationResult GetEmbeddedTimestampVerificationResult()
TrustVerificationResult(const TrustVerificationResult &other)
bool HasEmbeddedTimestampVerificationResult() const
VerificationOptions::TimeMode GetTimeOfTrustVerificationEnum() const
TrustVerificationResult & operator=(const TrustVerificationResult &other)
std::vector< Crypto::X509Certificate > GetCertPath() const