aboutsummaryrefslogtreecommitdiffstats
path: root/include/pk_algs.h
blob: f4ac9ae794f990fbd8f2744f4d570865f59a0c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*************************************************
* PK Key Factory Header File                     *
* (C) 1999-2006 The Botan Project                *
*************************************************/

#ifndef BOTAN_PK_KEY_FACTORY_H__
#define BOTAN_PK_KEY_FACTORY_H__

#include <botan/x509_key.h>
#include <botan/pkcs8.h>

namespace Botan {

/*************************************************
* Get an PK key object                           *
*************************************************/
X509_PublicKey*   get_public_key(const std::string&);
PKCS8_PrivateKey* get_private_key(const std::string&);

}

#endif