10Duke Scale C++ Client
Loading...
Searching...
No Matches
PublicKeyToPEM.h
1#ifndef TENDUKE_CRYPTO_LIBCRYPTO_PUBLICKEYTOPEM_H
2#define TENDUKE_CRYPTO_LIBCRYPTO_PUBLICKEYTOPEM_H
3
4#include "./LibcryptoPublicKey.h"
5
6#include <string>
7
8namespace tenduke { namespace crypto { namespace libcrypto {
9
13{
14public:
19
25 std::string from(const LibcryptoPublicKey &publicKey) const;
26};
27
28}}}
29
30
31#endif // TENDUKE_CRYPTO_LIBCRYPTO_PUBLICKEYTOPEM_H
Libcrypto-implementation of a public key definition.
Definition LibcryptoPublicKey.h:19
Utility service to convert Libcrypto public key (EVP_PKEY) to PEM.
Definition PublicKeyToPEM.h:13
std::string from(const LibcryptoPublicKey &publicKey) const
Creates PEM-representation of LibcryptoPublicKey.
Definition PublicKeyToPEM.cpp:16
PublicKeyToPEM()
Constructs new instance.
libcrypto based implementations of cryptography services.
Definition AsymmetricMessageDigest.h:15
Cryptography services.
Definition CryptoException.h:7
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7