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-2023 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 
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 Crypto
79 } //end pdftron
80 
81 
82 #endif //PDFTRON_H_CPPPDFX509Extension
ObjectIdentifier GetObjectIdentifier() const
std::vector< UChar > GetData() const
X509Extension(const X509Extension &other)
X509Extension & operator=(const X509Extension &other)