Botan
1.11.15
|
00001 /* 00002 * PK Key Factory 00003 * (C) 1999-2010 Jack Lloyd 00004 * 00005 * Botan is released under the Simplified BSD License (see license.txt) 00006 */ 00007 00008 #ifndef BOTAN_PK_KEY_FACTORY_H__ 00009 #define BOTAN_PK_KEY_FACTORY_H__ 00010 00011 #include <botan/pk_keys.h> 00012 00013 namespace Botan { 00014 00015 Public_Key* make_public_key(const AlgorithmIdentifier& alg_id, 00016 const secure_vector<byte>& key_bits); 00017 00018 Private_Key* make_private_key(const AlgorithmIdentifier& alg_id, 00019 const secure_vector<byte>& key_bits, 00020 RandomNumberGenerator& rng); 00021 00022 } 00023 00024 #endif