CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
hmacsha_512.h
1
2#ifndef _aspose_security_cryptography_hmacsha_512_h_
3#define _aspose_security_cryptography_hmacsha_512_h_
4
5#include <system/array.h>
6#include <system/exceptions.h>
7
8#include <security/cryptography/hash_algorithm.h>
9
10namespace System { namespace Security { namespace Cryptography {
11
16class ASPOSECPP_SHARED_CLASS HMACSHA512 : public HashAlgorithm
17{
19public:
21 ASPOSECPP_SHARED_API HMACSHA512();
24 ASPOSECPP_SHARED_API HMACSHA512(const System::ArrayPtr<uint8_t>& key);
28 ASPOSECPP_SHARED_API ArrayPtr<uint8_t> ComputeHash(const ArrayPtr<uint8_t>& buffer);
29
30protected:
31 MEMBER_FUNCTION_MAKE_OBJECT(HMACSHA512, CODEPORTING_ARGS(), CODEPORTING_ARGS());
32};
33
34}}}
35#endif
Hash-based Message Authentication Code that uses the SHA512 hash function. Partialy implemented....
Definition: hmacsha_512.h:17
HMACSHA512(const System::ArrayPtr< uint8_t > &key)
Constructor.
ArrayPtr< uint8_t > ComputeHash(const ArrayPtr< uint8_t > &buffer)
Calculates HMAC.
Base class for hashing algorithms. Objects of this class should only be allocated using System::MakeO...
Definition: hash_algorithm.h:30
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9