summaryrefslogtreecommitdiffstats
path: root/botan/src/pubkey/pk_algs.h
blob: c41bf1a630d4fb341fb342e716171842dffceb66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* PK Key Factory
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/

#ifndef BOTAN_PK_KEY_FACTORY_H__
#define BOTAN_PK_KEY_FACTORY_H__

#include <botan/pk_keys.h>

namespace Botan {

/**
* Get an empty public key object.
* @param name the name of the desired public key algorithm
* @return the public key object
*/
BOTAN_DLL Public_Key*  get_public_key(const std::string&);

/**
* Get an empty private key object.
* @param name the name of the desired public key algorithm
* @return the private key object
*/
BOTAN_DLL Private_Key* get_private_key(const std::string&);

}

#endif