All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
X509Extension.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2020 by PDFTron Systems 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/PDF/TRN_X509Extension.h>
10 
11 #include <Common/BasicTypes.h>
12 #include <Common/UString.h>
13 #include <PDF/PDFDoc.h>
14 
15 namespace pdftron { namespace PDF {
16 
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 
42 
50  UString ToString() const;
51 
57  std::vector<UChar> GetData() const;
58 
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 pdftron
79 } //end PDF
80 
81 
82 #endif //PDFTRON_H_CPPPDFX509Extension
UString ToString() const
std::vector< UChar > GetData() const
ObjectIdentifier GetObjectIdentifier() const
TRN_X509Extension m_impl
Definition: X509Extension.h:67
X509Extension(const X509Extension &other)
X509Extension & operator=(const X509Extension &other)