10Duke Scale C++ Client
|
#include <KeyFactory.h>
Creates cryptographical keys.
Public Member Functions | |
virtual std::unique_ptr< tenduke::crypto::PublicKey > | publicKeyFromPEM (const std::string &publicKeyAsPEM) const =0 |
Creates a tenduke::crypto::PublicKey from PEM. | |
virtual std::unique_ptr< tenduke::crypto::PublicKey > | publicKeyFromModuloAndExponent (const tenduke::utl::BinaryData &modulo, const tenduke::utl::BinaryData &exponent) const =0 |
Creates a RSA tenduke::crypto::PublicKey from modulo and exponent. | |
|
pure virtual |
Creates a RSA tenduke::crypto::PublicKey
from modulo and exponent.
modulo | - |
exponent | - |
Implemented in tenduke::crypto::libcrypto::LibcryptoRSAKeyFactory.
|
pure virtual |
Creates a tenduke::crypto::PublicKey
from PEM.
publicKeyAsPEM | - |
Implemented in tenduke::crypto::libcrypto::LibcryptoRSAKeyFactory.