authfile.h revision 98675
198675Sdes/*	$OpenBSD: authfile.h,v 1.10 2002/05/23 19:24:30 markus Exp $	*/
292555Sdes
365668Skris/*
465668Skris * Author: Tatu Ylonen <ylo@cs.hut.fi>
565668Skris * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
665668Skris *                    All rights reserved
765668Skris *
865668Skris * As far as I am concerned, the code I have written for this software
965668Skris * can be used freely for any purpose.  Any derived versions of this
1065668Skris * software must be clearly marked as such, and if the derived work is
1165668Skris * incompatible with the protocol description in the RFC file, it must be
1265668Skris * called by a name other than "ssh" or "Secure Shell".
1365668Skris */
1469587Sgreen
1560573Skris#ifndef AUTHFILE_H
1660573Skris#define AUTHFILE_H
1760573Skris
1892555Sdesint	 key_save_private(Key *, const char *, const char *, const char *);
1992555SdesKey	*key_load_public(const char *, char **);
2092555SdesKey	*key_load_public_type(int, const char *, char **);
2192555SdesKey	*key_load_private(const char *, const char *, char **);
2292555SdesKey	*key_load_private_type(int, const char *, const char *, char **);
2398675SdesKey	*key_load_private_pem(int, int, const char *, char **);
2460573Skris
2560573Skris#endif
26