|
10Duke Enterprise C++ Client
|
libcrypto based implementations of cryptography services.
Classes | |
| class | AsymmetricMessageDigest |
| Libcrypto-implementation of asymmetric tenduke::crypto::MessageDigestVerifier. More... | |
| class | BigNumber |
A BigNumber, RAII wrapper of libcrypto BIGNUM. More... | |
| class | LibcryptoKey |
| Libcrypto-implementation of a public key definition. More... | |
| class | LibCryptoMessageDigest |
| Libcrypto-implementation of tenduke::crypto::MessageDigest. More... | |
| class | LibcryptoMessageDigestFactory |
| Libcrypto-implementation of ‘tenduke::crypto::MessageDigestFactory’. More... | |
| class | LibcryptoPrivateKey |
| Libcrypto-implementation of a private key definition. More... | |
| class | LibcryptoPublicKey |
| Libcrypto-implementation of a public key definition. More... | |
| class | LibcryptoRSAKeyFactory |
Libcrypto implementation of tenduke::crypto::RSAKeyFactory. More... | |
| class | PublicKeyToPEM |
| Utility service to convert Libcrypto public key (EVP_PKEY) to PEM. More... | |
Functions | |
| crypto::CryptoException | createLibcryptoException (const std::string &errorCode, const std::string &messageBody) |
| Utility function to create tenduke::crypto::CryptoException from libcrypto errors. | |
| std::string | mapMessageDigestAlgorithm (tenduke::crypto::MessageDigest::Algorithm algorithm) |
| Maps tenduke::crypto::MessageDigest::Algorithm to algorithm understood by libcrypto. | |
Variables | |
| const char *const | ALGORITHM_SHA256 = "sha256" |
| Libcrypto name for SHA256. | |
| xdcrypto::CryptoException tenduke::crypto::libcrypto::createLibcryptoException | ( | const std::string & | errorCode, |
| const std::string & | messageBody ) |
Utility function to create tenduke::crypto::CryptoException from libcrypto errors.
NOTE: Call this immediately after the error, this uses ERR_get_error() internally.
| errorCode | - |
| messageBody | - |
| std::string tenduke::crypto::libcrypto::mapMessageDigestAlgorithm | ( | tenduke::crypto::MessageDigest::Algorithm | algorithm | ) |
Maps tenduke::crypto::MessageDigest::Algorithm to algorithm understood by libcrypto.
| algorithm | - |