Loading...
Searching...
No Matches
EmbeddedTimestampVerificationResult.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_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>
14#include <PDF/TrustVerificationResult.h>
15#include <Crypto/DigestAlgorithm.h>
16
17
18 namespace pdftron { namespace PDF {
19
24 class EmbeddedTimestampVerificationResult
25{
26 public:
27 EmbeddedTimestampVerificationResult(const EmbeddedTimestampVerificationResult& other);
28 EmbeddedTimestampVerificationResult& operator= (const EmbeddedTimestampVerificationResult& other);
29 ~EmbeddedTimestampVerificationResult();
30 void Destroy();
31
32 //methods:
33
39 bool GetVerificationStatus() const;
40
46 VerificationResult::DigestStatus GetCMSDigestStatus() const;
47
53 VerificationResult::DigestStatus GetMessageImprintDigestStatus() const;
54
60 VerificationResult::TrustStatus GetTrustStatus() const;
61
69 UString GetCMSDigestStatusAsString() const;
70
78 UString GetMessageImprintDigestStatusAsString() const;
79
87 UString GetTrustStatusAsString() const;
88
94 bool HasTrustVerificationResult() const;
95
103 TrustVerificationResult GetTrustVerificationResult() const;
104
110 Crypto::DigestAlgorithm::Type GetCMSSignatureDigestAlgorithm() const;
111
117 Crypto::DigestAlgorithm::Type GetMessageImprintDigestAlgorithm() const;
118
119#ifdef SWIG
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
143 std::vector<UString> GetUnsupportedFeatures() const;
144#endif
145
146#ifdef SWIG
147 EmbeddedTimestampVerificationResult();
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
BasicTypes.h
DigestAlgorithm.h
PDFDoc.h
TrustVerificationResult.h
UString.h
VerificationResult.h
pdftron::Crypto::DigestAlgorithm::Type
Type
Definition DigestAlgorithm.h:21
pdftron::PDF::EmbeddedTimestampVerificationResult::GetCMSSignatureDigestAlgorithm
Crypto::DigestAlgorithm::Type GetCMSSignatureDigestAlgorithm() const
pdftron::PDF::EmbeddedTimestampVerificationResult::GetTrustVerificationResult
TrustVerificationResult GetTrustVerificationResult() const
pdftron::PDF::EmbeddedTimestampVerificationResult::GetMessageImprintDigestAlgorithm
Crypto::DigestAlgorithm::Type GetMessageImprintDigestAlgorithm() const
pdftron::PDF::EmbeddedTimestampVerificationResult::EmbeddedTimestampVerificationResult
EmbeddedTimestampVerificationResult(const EmbeddedTimestampVerificationResult &other)
pdftron::PDF::EmbeddedTimestampVerificationResult::m_impl
TRN_EmbeddedTimestampVerificationResult m_impl
Definition EmbeddedTimestampVerificationResult.h:152
pdftron::PDF::EmbeddedTimestampVerificationResult::GetCMSDigestStatusAsString
UString GetCMSDigestStatusAsString() const
pdftron::PDF::EmbeddedTimestampVerificationResult::EmbeddedTimestampVerificationResult
EmbeddedTimestampVerificationResult(TRN_EmbeddedTimestampVerificationResult impl)
pdftron::PDF::EmbeddedTimestampVerificationResult::GetMessageImprintDigestStatus
VerificationResult::DigestStatus GetMessageImprintDigestStatus() const
pdftron::PDF::EmbeddedTimestampVerificationResult::HasTrustVerificationResult
bool HasTrustVerificationResult() const
pdftron::PDF::EmbeddedTimestampVerificationResult::GetUnsupportedFeatures
std::vector< UString > GetUnsupportedFeatures() const
pdftron::PDF::EmbeddedTimestampVerificationResult::operator=
EmbeddedTimestampVerificationResult & operator=(const EmbeddedTimestampVerificationResult &other)
pdftron::PDF::EmbeddedTimestampVerificationResult::GetMessageImprintDigestStatusAsString
UString GetMessageImprintDigestStatusAsString() const
pdftron::PDF::EmbeddedTimestampVerificationResult::GetTrustStatusAsString
UString GetTrustStatusAsString() const
pdftron::PDF::EmbeddedTimestampVerificationResult::GetTrustStatus
VerificationResult::TrustStatus GetTrustStatus() const
pdftron::PDF::EmbeddedTimestampVerificationResult::Destroy
void Destroy()
pdftron::PDF::EmbeddedTimestampVerificationResult::~EmbeddedTimestampVerificationResult
~EmbeddedTimestampVerificationResult()
pdftron::PDF::EmbeddedTimestampVerificationResult::GetCMSDigestStatus
VerificationResult::DigestStatus GetCMSDigestStatus() const
pdftron::PDF::EmbeddedTimestampVerificationResult::GetVerificationStatus
bool GetVerificationStatus() const
pdftron::PDF::TrustVerificationResult
Definition TrustVerificationResult.h:24
pdftron::PDF::VerificationResult::DigestStatus
DigestStatus
Definition VerificationResult.h:37
pdftron::PDF::VerificationResult::TrustStatus
TrustStatus
Definition VerificationResult.h:46
pdftron::UString
Definition UString.h:28
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10