aboutsummaryrefslogtreecommitdiff
path: root/src/common/key.h
blob: ad41f1d88a85cc426a186ee1fc8155d0a079c433 (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
32
/**
 * key.h 
 * Routines for generating key pairs and loading private keys.
 *
 * Matej Pfajfar <mp292@cam.ac.uk>
 */

/*
 * Changes :
 * $Log$
 * Revision 1.1  2002/06/26 22:45:50  arma
 * Initial revision
 *
 * Revision 1.3  2002/01/26 18:50:11  mp292
 * Reviewed according to Secure-Programs-HOWTO.
 *
 * Revision 1.2  2001/12/18 10:37:47  badbytes
 * Header files now only apply if they were not previously included from somewhere else.
 *
 * Revision 1.1  2001/12/14 12:16:33  badbytes
 * Added routine for reading a private key from a file.
 *
 */

#ifndef __KEY_H
#include <openssl/rsa.h>

/* read the private key in keyfile into memory  */
RSA *load_prkey(unsigned char *keyfile);

#define __KEY_H
#endif