summaryrefslogtreecommitdiff
path: root/other/ssharp/authfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'other/ssharp/authfile.h')
-rw-r--r--other/ssharp/authfile.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/other/ssharp/authfile.h b/other/ssharp/authfile.h
new file mode 100644
index 0000000..da90cd9
--- /dev/null
+++ b/other/ssharp/authfile.h
@@ -0,0 +1,36 @@
1/*
2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved
5 *
6 * As far as I am concerned, the code I have written for this software
7 * can be used freely for any purpose. Any derived versions of this
8 * software must be clearly marked as such, and if the derived work is
9 * incompatible with the protocol description in the RFC file, it must be
10 * called by a name other than "ssh" or "Secure Shell".
11 */
12
13/* $OpenBSD: authfile.h,v 1.6 2001/03/26 08:07:08 markus Exp $ */
14
15#ifndef AUTHFILE_H
16#define AUTHFILE_H
17
18int
19key_save_private(Key *key, const char *filename, const char *passphrase,
20 const char *comment);
21
22Key *
23key_load_public(const char *filename, char **commentp);
24
25Key *
26key_load_public_type(int type, const char *filename, char **commentp);
27
28Key *
29key_load_private(const char *filename, const char *passphrase,
30 char **commentp);
31
32Key *
33key_load_private_type(int type, const char *filename, const char *passphrase,
34 char **commentp);
35
36#endif