Loading...
Searching...
No Matches
VerificationResult.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_CPPPDFVerificationResult
7#define PDFTRON_H_CPPPDFVerificationResult
8#include <C/PDF/TRN_VerificationResult.h>
9
10#include <Common/BasicTypes.h>
11#include <Common/UString.h>
12#include <PDF/PDFDoc.h>
13
16
17#include <vector>
18
19namespace pdftron { namespace PDF {
21
26{
27public:
29 //enums:
64
65 void Destroy();
66
67 //methods:
68
79
86
93
100
107
122
128 std::vector<DisallowedChange> GetDisallowedChanges() const;
129
137
144
151
158
165
179#ifdef SWIG
180 // 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>.
181 std::vector<std::string> GetUnsupportedFeatures() const;
182#else
183 std::vector<UString> GetUnsupportedFeatures() const;
184#endif
185
186#ifdef SWIG
188#endif
189
190#ifndef SWIGHIDDEN
191 VerificationResult(TRN_VerificationResult impl);
192 TRN_VerificationResult m_impl;
193#endif
194
195private:
196
197#ifndef SWIGHIDDEN
198 mutable bool m_owner;
199#endif
200};
201
202
203} //end pdftron
204} //end PDF
205
206#include <Impl/TrustVerificationResult.inl>
207
208#endif //PDFTRON_H_CPPPDFVerificationResult
UString GetTrustStatusAsString() const
std::vector< UString > GetUnsupportedFeatures() const
pdftron::PDF::DisallowedChange DisallowedChange
UString GetDocumentStatusAsString() const
UString GetPermissionsStatusAsString() const
VerificationResult & operator=(const VerificationResult &other)
DocumentStatus GetDocumentStatus() const
ModificationPermissionsStatus GetPermissionsStatus() const
VerificationResult(TRN_VerificationResult impl)
VerificationResult(const VerificationResult &other)
DigestStatus GetDigestStatus() const
UString GetDigestStatusAsString() const
Crypto::DigestAlgorithm::Type GetDigestAlgorithm() const
TrustVerificationResult GetTrustVerificationResult() const
TrustStatus GetTrustStatus() const
std::vector< DisallowedChange > GetDisallowedChanges() const