|
10Duke Enterprise C++ SDK
|
#include <Crypto.h>
Cryptographic services.
This is a "service locator" for cryptographic services.
Public Member Functions | |
| Crypto (const std::shared_ptr<::tenduke::crypto::Ciphers > &ciphersService, const std::shared_ptr<::tenduke::crypto::HashFactory > &hashFactory, const std::shared_ptr<::tenduke::crypto::KDFProvider > &kdf, const std::shared_ptr<::tenduke::crypto::PublicKeyFactory > &publicKeyFactory, const std::shared_ptr<::tenduke::utl::random::RandomBytes > &randomBytes) | |
| Constructs a new instance. | |
| virtual std::shared_ptr< const ::tenduke::crypto::Ciphers > | ciphers () const |
| Returns "Ciphers"-service. | |
| virtual std::shared_ptr< const ::tenduke::crypto::KDFProvider > | kdf () const |
| Returns registered Key Derivation Functions. | |
| virtual std::shared_ptr< const ::tenduke::crypto::HashFactory > | hash () const |
| Returns hash factory. | |
| virtual std::shared_ptr< const ::tenduke::crypto::PublicKeyFactory > | publicKeys () const |
| Returns "Public keys"-service. | |
| virtual std::shared_ptr<::tenduke::utl::random::RandomBytes > | randomBytes () |
| Returns cryptographically secure random number generator. | |
|
inlineexplicit |
Constructs a new instance.
| ciphersService | Ciphers service |
| hashFactory | Hash factory |
| publicKeyFactory | Public keys service |
| kdf | Registered key generators |
| randomBytes | Cryptographically secure random number generator |