libcryptosec
Public Member Functions | List of all members
DynamicEngine Class Reference

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>

Inheritance diagram for DynamicEngine:
Engine

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)
 
- Public Member Functions inherited from Engine
 Engine (ENGINE *engine)
 
 Engine (const Engine &engine)
 
virtual ~Engine ()
 
std::string getId () throw (EngineException)
 
bool testInit ()
 
std::vector< Engine::AlgorithmgetCapabilities ()
 
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

- Public Types inherited from Engine
enum  Algorithm {
  RSA, DSA, RAND, ECDSA,
  CIPHERS, DIGESTS, ALL, NONE
}
 
enum  CmdType { STRING, LONG, NO_PARAMETERS, INTERNAL_USE }
 
- Static Public Member Functions inherited from Engine
static std::string algorithm2Name (Engine::Algorithm algorithm)
 
- Protected Attributes inherited from Engine
ENGINE * engine
 

Detailed Description

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. .

Constructor & Destructor Documentation

◆ DynamicEngine() [1/3]

DynamicEngine::DynamicEngine ( std::string &  enginePath)
throw (EngineException
)

Construtor.

Parameters
enginePathcaminho para a Engine.
Exceptions
EngineExceptioncaso a Engine esteja indisponível ou ocorra erro ao carregá-la.

◆ DynamicEngine() [2/3]

DynamicEngine::DynamicEngine ( std::string &  enginePath,
std::string &  engineId 
)
throw (EngineException
)

Construtor.

Parameters
enginePathcaminho para a Engine.
engineIdidentificador da Engine.
Exceptions
EngineExceptioncaso a Engine esteja indisponível ou ocorra erro ao carregá-la.

◆ DynamicEngine() [3/3]

DynamicEngine::DynamicEngine ( std::string &  enginePath,
std::string &  engineId,
std::vector< std::pair< std::string, std::string > > &  extraCommands 
)
throw (EngineException
)

Construtor.

Parameters
enginePathcaminho para a Engine.
engineIdidentificador da Engine.
extraCommandsvetor de pares de comando e seu respectivo valor.
Exceptions
EngineExceptioncaso a Engine esteja indisponível ou ocorra erro ao carregá-la.

◆ ~DynamicEngine()

DynamicEngine::~DynamicEngine ( )
virtual

Destrutor.

Member Function Documentation

◆ addToEnginesList()

void DynamicEngine::addToEnginesList ( )
throw (EngineException
)
virtual
See also
Engine::addToEnginesList().

Reimplemented from Engine.

◆ removeFromEnginesList()

void DynamicEngine::removeFromEnginesList ( )
throw (EngineException
)
virtual
See also
Engine::removeFromEnginesList().

Reimplemented from Engine.


The documentation for this class was generated from the following files: