Loading...
Searching...
No Matches
ObjectIdentifier.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_CPPPDFObjectIdentifier
7#define PDFTRON_H_CPPPDFObjectIdentifier
8#include <C/Crypto/TRN_ObjectIdentifier.h>
9
10#include <Common/BasicTypes.h>
11#include <Common/UString.h>
12#include <PDF/PDFDoc.h>
13
14namespace pdftron { namespace Crypto {
19{
20public:
21 //enums:
40
44
45 void Destroy();
46
47 //methods:
48
56 ObjectIdentifier(const Predefined in_oid_enum);
57
58#ifdef SWIG
64 ObjectIdentifier(const std::vector<int>& in_arr);
65#else
72 ObjectIdentifier(const UInt32* in_arr, const size_t in_size);
73#endif
74
80 ObjectIdentifier(const DigestAlgorithm::Type in_digest_algorithm_type);
81
87 std::vector<UInt32> GetRawValue() const;
88
89#ifdef SWIG
91#endif
92
93#ifndef SWIGHIDDEN
94 ObjectIdentifier(TRN_ObjectIdentifier impl);
95 TRN_ObjectIdentifier m_impl;
96#endif
97
98private:
99
100#ifndef SWIGHIDDEN
101 mutable bool m_owner;
102#endif
103};
104
105#include <Impl/ObjectIdentifier.inl>
106} //end Crypto
107} //end pdftron
108
109
110#endif //PDFTRON_H_CPPPDFObjectIdentifier
ObjectIdentifier(TRN_ObjectIdentifier impl)
ObjectIdentifier(const Predefined in_oid_enum)
ObjectIdentifier(const DigestAlgorithm::Type in_digest_algorithm_type)
std::vector< UInt32 > GetRawValue() const
ObjectIdentifier & operator=(const ObjectIdentifier &other)
ObjectIdentifier(const ObjectIdentifier &other)
ObjectIdentifier(const UInt32 *in_arr, const size_t in_size)
TRN_UInt32 UInt32
Definition BasicTypes.h:13