Loading...
Searching...
No Matches
X509Extension.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
7#ifndef PDFTRON_H_CPPPDFX509Extension
8#define PDFTRON_H_CPPPDFX509Extension
9#include <C/Crypto/TRN_X509Extension.h>
10
11#include <Common/BasicTypes.h>
12#include <Common/UString.h>
13#include <PDF/PDFDoc.h>
14
15 namespace pdftron { namespace Crypto {
16
20 class X509Extension
21{
22 public:
23 X509Extension(const X509Extension& other);
24 X509Extension& operator= (const X509Extension& other);
25 void Destroy();
26
27 //methods:
28
34 bool IsCritical() const;
35
41 ObjectIdentifier GetObjectIdentifier() const;
42
50 UString ToString() const;
51
57 std::vector<UChar> GetData() const;
58
59 ~X509Extension();
60
61#ifdef SWIG
62 X509Extension();
63#endif
64
65#ifndef SWIGHIDDEN
66 X509Extension(TRN_X509Extension impl);
67 TRN_X509Extension m_impl;
68#endif
69
70 private:
71
72#ifndef SWIGHIDDEN
73 mutable bool m_owner;
74#endif
75};
76
77#include <Impl/X509Extension.inl>
78} //end Crypto
79} //end pdftron
80
81
82#endif //PDFTRON_H_CPPPDFX509Extension
BasicTypes.h
PDFDoc.h
UString.h
pdftron::Crypto::ObjectIdentifier
Definition ObjectIdentifier.h:19
pdftron::Crypto::X509Extension::GetData
std::vector< UChar > GetData() const
pdftron::Crypto::X509Extension::IsCritical
bool IsCritical() const
pdftron::Crypto::X509Extension::ToString
UString ToString() const
pdftron::Crypto::X509Extension::X509Extension
X509Extension(TRN_X509Extension impl)
pdftron::Crypto::X509Extension::Destroy
void Destroy()
pdftron::Crypto::X509Extension::X509Extension
X509Extension(const X509Extension &other)
pdftron::Crypto::X509Extension::GetObjectIdentifier
ObjectIdentifier GetObjectIdentifier() const
pdftron::Crypto::X509Extension::~X509Extension
~X509Extension()
pdftron::Crypto::X509Extension::operator=
X509Extension & operator=(const X509Extension &other)
pdftron::Crypto::X509Extension::m_impl
TRN_X509Extension m_impl
Definition X509Extension.h:67
pdftron::UString
Definition UString.h:28
pdftron::Crypto
Definition AlgorithmIdentifier.h:13
pdftron
Definition BasicTypes.h:10