1#ifndef TENDUKE_CRYPTO_KEYFACTORY_H
2#define TENDUKE_CRYPTO_KEYFACTORY_H
4#include "./PublicKey.h"
5#include "../utl/BinaryData.h"
25 virtual std::unique_ptr<tenduke::crypto::PublicKey>
publicKeyFromPEM(
const std::string &publicKeyAsPEM)
const = 0;
Creates cryptographical keys.
Definition KeyFactory.h:16
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.
A holder of binary data.
Definition BinaryData.h:13
Cryptography services.
Definition CryptoException.h:7
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4