This class implements the digital signature interface defined in SignatureImpl by holding a ENV_MD_CTX object and wrapping the appropriate openssl functions
![]() | OpenSSLSecureSocketImpl (const SSLContext& ctx) Constructor - takes a security context, duplicates it and saves it in the new OpenSSLSecureSocketImpl |
![]() | ~OpenSSLSecureSocketImpl () Destructor - free the SSL structure and destroys this object |
![]() | newInstance (const SSLContext& ctx) Creates a new SecureSocketImpl |
![]() | doConnect () Provides the SocketImpl with a secure socket (an SSL structure containing a connected Unix socket) that has been connected to the host and port associated with the SocketImpl |
![]() | doAccept (SecureSocketImpl *impl) |
![]() | OpenSSLSignatureImpl (const string& alg) |
![]() | ~OpenSSLSignatureImpl () |
![]() | getAlgorithm () const Returns a string that identifies the algorithm, independent of implementation details |
![]() | isSignatureAlgorithmSupported (const string& alg) |
![]() | getEVP_MD (const string& alg) |
This class implements the digital signature interface defined in SignatureImpl by holding a ENV_MD_CTX object and wrapping the appropriate openssl functions. Typically the clients will not deal with an instance of this class directly. Instead they interact with the Signature reference-count pointer.
~OpenSSLSecureSocketImpl()
SecureSocketImpl* newInstance(const SSLContext& ctx)
Error allocation failed void doConnect()
void doAccept(SecureSocketImpl *impl)
OpenSSLSignatureImpl(const string& alg)
~OpenSSLSignatureImpl()
string getAlgorithm() const
static bool isSignatureAlgorithmSupported(const string& alg)
static const EVP_MD* getEVP_MD(const string& alg)
void resetEngine()
void doUpdate(const string &data, int offset, int len)
offset - start index
len - the number of bytes to use starting at offset string doSign()
SecurityException if signature fails bool doVerify(const string &signature)
string paramString() const
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de