|
10Duke Enterprise C++ SDK
|
libcrypto based implementations of cryptography services.
Classes | |
| class | BigNumber |
| A BigNumber, RAII wrapper of libcrypto BIGNUM. More... | |
| class | LibcryptoCiphers |
| Libcrypto-implementation of tenduke::crypto::Ciphers. More... | |
| class | LibcryptoHash |
| Libcrypto-implementation of tenduke::crypto::MessageDigest. More... | |
| class | LibcryptoKey |
| Base class for public and private keys. More... | |
| class | LibcryptoKeyFactory |
| Libcrypto implementation of tenduke::crypto::PublicKeyFactory. More... | |
| class | LibcryptoPBKDF2 |
| class | LibcryptoPrivateKey |
| Libcrypto-implementation of a private key definition. More... | |
| class | LibcryptoPublicKey |
| Libcrypto-implementation of a public key definition. More... | |
| class | LibcryptoSignatureVerifier |
| Libcrypto-implementation of tenduke::crypto::DigitalSignatureVerifier, used to verify digital signatures. 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::HashAlgorithm 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::HashAlgorithm | algorithm | ) |
Maps tenduke::crypto::MessageDigest::Algorithm to algorithm understood by libcrypto.
| algorithm | - |