Botan  1.10.9
pk_algs.h
Go to the documentation of this file.
1 /*
2 * PK Key Factory
3 * (C) 1999-2010 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7 
8 #ifndef BOTAN_PK_KEY_FACTORY_H__
9 #define BOTAN_PK_KEY_FACTORY_H__
10 
11 #include <botan/pk_keys.h>
12 
13 namespace Botan {
14 
15 Public_Key* make_public_key(const AlgorithmIdentifier& alg_id,
16  const MemoryRegion<byte>& key_bits);
17 
18 Private_Key* make_private_key(const AlgorithmIdentifier& alg_id,
19  const MemoryRegion<byte>& key_bits,
20  RandomNumberGenerator& rng);
21 
22 }
23 
24 #endif
Private_Key * make_private_key(const AlgorithmIdentifier &alg_id, const MemoryRegion< byte > &key_bits, RandomNumberGenerator &rng)
Definition: pk_algs.cpp:104
RandomNumberGenerator * rng
Definition: global_rng.cpp:165
Public_Key * make_public_key(const AlgorithmIdentifier &alg_id, const MemoryRegion< byte > &key_bits)
Definition: pk_algs.cpp:49