2#ifndef rijndael_managed_h
3#define rijndael_managed_h
8namespace System{
namespace Security{
namespace Cryptography{
40 void check_implemented();
42 std::string calc_algo_spec(
int keySize);
Base class for Rijndael algorithm. Objects of this class should only be allocated using System::MakeO...
Definition: rijndael.h:14
Managed Rijndael algorithm. Only supports ECB and CFB modes with None padding and CBC mode with None ...
Definition: rijndael_managed.h:16
SharedPtr< ICryptoTransform > CreateDecryptor(System::ArrayPtr< uint8_t > rgbKey, System::ArrayPtr< uint8_t > rgbIV) override
Creates decryptor object with explicit parameters.
SharedPtr< ICryptoTransform > CreateEncryptor(System::ArrayPtr< uint8_t > rgbKey, System::ArrayPtr< uint8_t > rgbIV) override
Creates encryptor object with explicit parameters.
void GenerateKey() override
Creates random key and stores it in algorithm's internals.
void GenerateIV() override
Creates random initial value and stores it in algorithm's internals.
virtual SharedPtr< ICryptoTransform > CreateDecryptor()
Creates decryptor with parameters associated with algorithm object.
virtual SharedPtr< ICryptoTransform > CreateEncryptor()
Creates encryptor with parameters associated with algorithm object.
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