- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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-2025 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>
12 #include <PDF/VerificationOptions.h>
13 #include <PDF/PDFDoc.h>
14 #include <Crypto/X509Certificate.h>
15
16 namespace pdftron { namespace PDF {
17 class EmbeddedTimestampVerificationResult;
18
23 class TrustVerificationResult
24 {
25 public:
26
27 TrustVerificationResult(const TrustVerificationResult& other);
28 TrustVerificationResult& operator= (const TrustVerificationResult& other);
29 ~TrustVerificationResult();
30
31 void Destroy();
32
33 //methods:
34
40 bool WasSuccessful() const;
41
49 UString GetResultString() const;
50
56 Int64 GetTimeOfTrustVerification() const;
57
63 VerificationOptions::TimeMode GetTimeOfTrustVerificationEnum() const;
64
70 bool HasEmbeddedTimestampVerificationResult() const;
71
77 EmbeddedTimestampVerificationResult GetEmbeddedTimestampVerificationResult();
78
84 std::vector<Crypto::X509Certificate> GetCertPath() const;
85
86 #ifdef SWIG
87 TrustVerificationResult();
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
pdftron::PDF::TrustVerificationResult::Destroy
void Destroy()
pdftron::Int64
TRN_Int64 Int64
Definition: BasicTypes.h:20
pdftron::PDF::TrustVerificationResult::~TrustVerificationResult
~TrustVerificationResult()
UString.h
pdftron::PDF::TrustVerificationResult::GetEmbeddedTimestampVerificationResult
EmbeddedTimestampVerificationResult GetEmbeddedTimestampVerificationResult()
X509Certificate.h
pdftron::PDF::TrustVerificationResult::TrustVerificationResult
TrustVerificationResult(const TrustVerificationResult &other)
pdftron::PDF::TrustVerificationResult::GetResultString
UString GetResultString() const
pdftron::PDF::TrustVerificationResult::GetTimeOfTrustVerification
Int64 GetTimeOfTrustVerification() const
PDFDoc.h
BasicTypes.h
pdftron::PDF::VerificationOptions::TimeMode
TimeMode
Definition: VerificationOptions.h:37
pdftron::PDF::EmbeddedTimestampVerificationResult
Definition: EmbeddedTimestampVerificationResult.h:24
pdftron::PDF::TrustVerificationResult::HasEmbeddedTimestampVerificationResult
bool HasEmbeddedTimestampVerificationResult() const
pdftron::PDF::TrustVerificationResult::GetTimeOfTrustVerificationEnum
VerificationOptions::TimeMode GetTimeOfTrustVerificationEnum() const
pdftron::PDF::TrustVerificationResult::WasSuccessful
bool WasSuccessful() const
pdftron::PDF::TrustVerificationResult::m_impl
TRN_TrustVerificationResult m_impl
Definition: TrustVerificationResult.h:92
VerificationOptions.h
pdftron::PDF::TrustVerificationResult
Definition: TrustVerificationResult.h:23
pdftron::PDF::TrustVerificationResult::operator=
TrustVerificationResult & operator=(const TrustVerificationResult &other)
pdftron::UString
Definition: UString.h:27
pdftron::PDF::TrustVerificationResult::GetCertPath
std::vector< Crypto::X509Certificate > GetCertPath() const