Loading...
Searching...
No Matches
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
AlgorithmParams.h
BasicTypes.h
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(TRN_AlgorithmIdentifier impl)
pdftron::Crypto::AlgorithmIdentifier::m_impl
TRN_AlgorithmIdentifier m_impl
Definition AlgorithmIdentifier.h:78
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(const ObjectIdentifier::Predefined oid_type)
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(const ObjectIdentifier &oid)
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(const DigestAlgorithm::Type digest_algorithm_type)
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(const DigestAlgorithm::Type digest_algorithm_type, const AlgorithmParams &params)
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(const ObjectIdentifier &oid, const AlgorithmParams &params)
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(const AlgorithmIdentifier &other)
pdftron::Crypto::AlgorithmIdentifier::operator=
AlgorithmIdentifier & operator=(const AlgorithmIdentifier &other)
pdftron::Crypto::AlgorithmIdentifier::AlgorithmIdentifier
AlgorithmIdentifier(const ObjectIdentifier::Predefined oid_type, const AlgorithmParams &params)
pdftron::Crypto::AlgorithmIdentifier::~AlgorithmIdentifier
~AlgorithmIdentifier()
pdftron::Crypto::AlgorithmParams
Definition AlgorithmParams.h:21
pdftron::Crypto::DigestAlgorithm::Type
Type
Definition DigestAlgorithm.h:21
pdftron::Crypto::ObjectIdentifier
Definition ObjectIdentifier.h:19
pdftron::Crypto::ObjectIdentifier::Predefined
Predefined
Definition ObjectIdentifier.h:22
pdftron::Crypto
Definition AlgorithmIdentifier.h:13
pdftron
Definition BasicTypes.h:10