Home | History | Annotate | Download | only in include
      1 /*	$OpenBSD: authfile.h,v 1.10 2002/05/23 19:24:30 markus Exp $	*/
      2 
      3 #ifndef	_AUTHFILE_H
      4 #define	_AUTHFILE_H
      5 
      6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
      7 
      8 #ifdef __cplusplus
      9 extern "C" {
     10 #endif
     11 
     12 
     13 /*
     14  * Author: Tatu Ylonen <ylo (at) cs.hut.fi>
     15  * Copyright (c) 1995 Tatu Ylonen <ylo (at) cs.hut.fi>, Espoo, Finland
     16  *                    All rights reserved
     17  *
     18  * As far as I am concerned, the code I have written for this software
     19  * can be used freely for any purpose.  Any derived versions of this
     20  * software must be clearly marked as such, and if the derived work is
     21  * incompatible with the protocol description in the RFC file, it must be
     22  * called by a name other than "ssh" or "Secure Shell".
     23  */
     24 
     25 int	 key_save_private(Key *, const char *, const char *, const char *);
     26 Key	*key_load_public(const char *, char **);
     27 Key	*key_load_public_type(int, const char *, char **);
     28 Key	*key_load_private(const char *, const char *, char **);
     29 Key	*key_load_private_type(int, const char *, const char *, char **);
     30 Key	*key_load_private_pem(int, int, const char *, char **);
     31 
     32 #ifdef __cplusplus
     33 }
     34 #endif
     35 
     36 #endif /* _AUTHFILE_H */
     37