This class wraps an ssl ENV_PKEY structure which it assumes contains a private and public RSA key pair
![]() | OpenSSLKeyFactoryImpl () Construct this object |
![]() | ~OpenSSLKeyFactoryImpl () Delete this object |
![]() | getKeyEncoded (const string& format, const PublicKey& key) const Encodes the key using a format specified by format |
![]() | getKeyEncoded (const string& format, const PrivateKey& key) const Encodes the key using a format specified by format |
![]() | initPublicKey (const string& format, const string& type, const string& encoding) const returns a PublicKey |
![]() | initPrivateKey (const string& format, const string& encoding) const returns a PrivateKey |
![]() | generateRSAKeyPair (int size, unsigned long exponent) const Generates an RSA key pair |
![]() | generateDSAKeyPair (int size, const string& seed) const Generates a DSA key pair |
![]() | ~OpenSSLKeyImpl () Destructor |
![]() | privateDecrypt (const string &encrypted) const Uses the contained private RSA key to decrypt the input string |
![]() | privateEncrypt (const string &data) const Uses the contained private RSA key to encrypt the input string |
![]() | publicDecrypt (const string &encrypted) const Uses the contained public RSA key to decrypt the input string |
![]() | publicEncrypt (const string &data) const Uses the contained public RSA key to encrypt the input string |
![]() | size () const Returns ENV_PKey_size of the contained ENV_Pkey |
![]() | format () const Returns DER |
![]() | algorithm () const Returns RSA |
![]() | OpenSSLKeyImpl (EVP_PKEY *evp) Constructor |
This class wraps an ssl ENV_PKEY structure which it assumes contains a private and public RSA key pair. It implements methods to use either the private or public key to encypt or decrypt an input string.
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