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>
12
13namespace pdftron { namespace Crypto {
14
15
21{
22public:
26
33
40
46 AlgorithmIdentifier(const DigestAlgorithm::Type digest_algorithm_type);
47
55
63
70 AlgorithmIdentifier(const DigestAlgorithm::Type digest_algorithm_type, const AlgorithmParams& params);
71
72#ifdef SWIG
74#endif
75
76#ifndef SWIGHIDDEN
77 AlgorithmIdentifier(TRN_AlgorithmIdentifier impl);
78 TRN_AlgorithmIdentifier m_impl;
79#endif
80
81private:
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
AlgorithmIdentifier(TRN_AlgorithmIdentifier impl)
AlgorithmIdentifier(const ObjectIdentifier::Predefined oid_type)
AlgorithmIdentifier(const ObjectIdentifier &oid)
AlgorithmIdentifier(const DigestAlgorithm::Type digest_algorithm_type)
AlgorithmIdentifier(const DigestAlgorithm::Type digest_algorithm_type, const AlgorithmParams &params)
AlgorithmIdentifier(const ObjectIdentifier &oid, const AlgorithmParams &params)
AlgorithmIdentifier(const AlgorithmIdentifier &other)
AlgorithmIdentifier & operator=(const AlgorithmIdentifier &other)
AlgorithmIdentifier(const ObjectIdentifier::Predefined oid_type, const AlgorithmParams &params)