libcryptosec
|
Implementa uma engine dinâmica que pode ser carregada e utilizada no OpenSSL. Deve ser utilizada por desenvolvedores que desejam implementar suas próprias engines no padrão do OpenSSL. . More...
#include <DynamicEngine.h>
Public Member Functions | |
DynamicEngine (std::string &enginePath) throw (EngineException) | |
DynamicEngine (std::string &enginePath, std::string &engineId) throw (EngineException) | |
DynamicEngine (std::string &enginePath, std::string &engineId, std::vector< std::pair< std::string, std::string > > &extraCommands) throw (EngineException) | |
virtual | ~DynamicEngine () |
void | addToEnginesList () throw (EngineException) |
void | removeFromEnginesList () throw (EngineException) |
![]() | |
Engine (ENGINE *engine) | |
Engine (const Engine &engine) | |
virtual | ~Engine () |
std::string | getId () throw (EngineException) |
bool | testInit () |
std::vector< Engine::Algorithm > | getCapabilities () |
void | setCommand (std::string key) throw (EngineException) |
void | setCommand (std::string key, std::string value) throw (EngineException) |
void | setCommand (std::string key, long value) throw (EngineException) |
std::vector< std::pair< Engine::CmdType, std::string > > | getAvaliableCmds () |
ENGINE * | getEngine () const |
Additional Inherited Members | |
![]() | |
enum | Algorithm { RSA, DSA, RAND, ECDSA, CIPHERS, DIGESTS, ALL, NONE } |
enum | CmdType { STRING, LONG, NO_PARAMETERS, INTERNAL_USE } |
![]() | |
static std::string | algorithm2Name (Engine::Algorithm algorithm) |
![]() | |
ENGINE * | engine |
Implementa uma engine dinâmica que pode ser carregada e utilizada no OpenSSL. Deve ser utilizada por desenvolvedores que desejam implementar suas próprias engines no padrão do OpenSSL. .
DynamicEngine::DynamicEngine | ( | std::string & | enginePath | ) | |
throw | ( | EngineException | |||
) |
Construtor.
enginePath | caminho para a Engine. |
EngineException | caso a Engine esteja indisponível ou ocorra erro ao carregá-la. |
DynamicEngine::DynamicEngine | ( | std::string & | enginePath, |
std::string & | engineId | ||
) | |||
throw | ( | EngineException | |
) |
Construtor.
EngineException | caso a Engine esteja indisponível ou ocorra erro ao carregá-la. |
DynamicEngine::DynamicEngine | ( | std::string & | enginePath, |
std::string & | engineId, | ||
std::vector< std::pair< std::string, std::string > > & | extraCommands | ||
) | |||
throw | ( | EngineException | |
) |
Construtor.
enginePath | caminho para a Engine. |
engineId | identificador da Engine. |
extraCommands | vetor de pares de comando e seu respectivo valor. |
EngineException | caso a Engine esteja indisponível ou ocorra erro ao carregá-la. |
|
virtual |
Destrutor.
|
virtual |
Reimplemented from Engine.
|
virtual |
Reimplemented from Engine.