- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlgorithmIdentifier.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_CPPCryptoAlgorithmIdentifier
7 #define PDFTRON_H_CPPCryptoAlgorithmIdentifier
8 #include <C/Crypto/TRN_AlgorithmIdentifier.h>
9
10 #include <Common/BasicTypes.h>
11 #include <Crypto/AlgorithmParams.h>
12
13 namespace pdftron { namespace Crypto {
14
15
20 class AlgorithmIdentifier
21 {
22 public:
23 AlgorithmIdentifier(const AlgorithmIdentifier& other);
24 AlgorithmIdentifier& operator= (const AlgorithmIdentifier& other);
25 ~AlgorithmIdentifier();
26
32 AlgorithmIdentifier(const ObjectIdentifier::Predefined oid_type);
33
39 AlgorithmIdentifier(const ObjectIdentifier& oid);
40
46 AlgorithmIdentifier(const DigestAlgorithm::Type digest_algorithm_type);
47
54 AlgorithmIdentifier(const ObjectIdentifier::Predefined oid_type, const AlgorithmParams& params);
55
62 AlgorithmIdentifier(const ObjectIdentifier& oid, const AlgorithmParams& params);
63
70 AlgorithmIdentifier(const DigestAlgorithm::Type digest_algorithm_type, const AlgorithmParams& params);
71
72 #ifdef SWIG
73 AlgorithmIdentifier();
74 #endif
75
76 #ifndef SWIGHIDDEN
77 AlgorithmIdentifier(TRN_AlgorithmIdentifier impl);
78 TRN_AlgorithmIdentifier m_impl;
79 #endif
80
81 private:
82
83 void Destroy();
84
85 #ifndef SWIGHIDDEN
86 mutable bool m_owner;
87 #endif
88 };
89
90 #include <Impl/AlgorithmIdentifier.inl>
91 } //end pdftron
92 } //end Crypto
93
94
95 #endif //PDFTRON_H_CPPCryptoAlgorithmIdentifier
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(const AlgorithmIdentifier &other)
pdftron::Crypto::ObjectIdentifier::Predefined
Predefined
Definition: ObjectIdentifier.h:22
AlgorithmParams.h
pdftron::Crypto::ObjectIdentifier
Definition: ObjectIdentifier.h:18
pdftron::Crypto::AlgorithmIdentifier::~AlgorithmIdentifier
~AlgorithmIdentifier()
pdftron::Crypto::AlgorithmIdentifier::operator=
AlgorithmIdentifier & operator=(const AlgorithmIdentifier &other)
pdftron::Crypto::AlgorithmParams
Definition: AlgorithmParams.h:20
pdftron::Crypto::AlgorithmIdentifier::m_impl
TRN_AlgorithmIdentifier m_impl
Definition: AlgorithmIdentifier.h:78
BasicTypes.h
pdftron::Crypto::AlgorithmIdentifier
Definition: AlgorithmIdentifier.h:20
pdftron::Crypto::DigestAlgorithm::Type
Type
Definition: DigestAlgorithm.h:21