]> andersk Git - openssh.git/blame - key.h
- Merge big update to OpenSSH-2.0 from OpenBSD CVS
[openssh.git] / key.h
CommitLineData
4fe2af09 1#ifndef KEY_H
2#define KEY_H
3
4typedef struct Key Key;
5enum types {
6 KEY_RSA,
7 KEY_DSA,
8 KEY_EMPTY
9};
10struct Key {
11 int type;
12 RSA *rsa;
13 DSA *dsa;
14};
15
16Key *key_new(int type);
17void key_free(Key *k);
18int key_equal(Key *a, Key *b);
19char *key_fingerprint(Key *k);
20int key_write(Key *key, FILE *f);
a306f2dd 21unsigned int
22key_read(Key *key, char **cpp);
4fe2af09 23
24#endif
This page took 0.088899 seconds and 5 git commands to generate.