/* * PK Key Factory * (C) 1999-2010 Jack Lloyd * * Distributed under the terms of the Botan license */ #ifndef BOTAN_PK_KEY_FACTORY_H__ #define BOTAN_PK_KEY_FACTORY_H__ #include namespace Botan { BOTAN_DLL Public_Key* make_public_key(const AlgorithmIdentifier& alg_id, const MemoryRegion& key_bits); BOTAN_DLL Private_Key* make_private_key(const AlgorithmIdentifier& alg_id, const MemoryRegion& key_bits, RandomNumberGenerator& rng); } #endif