[BACK]Return to authfile.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/authfile.h, Revision 1.17

1.17    ! markus      1: /* $OpenBSD: authfile.h,v 1.16 2011/05/04 21:15:29 djm Exp $ */
1.9       stevesk     2:
1.3       deraadt     3: /*
1.4       markus      4:  * Author: Tatu Ylonen <ylo@cs.hut.fi>
                      5:  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
                      6:  *                    All rights reserved
1.3       deraadt     7:  *
1.4       markus      8:  * As far as I am concerned, the code I have written for this software
                      9:  * can be used freely for any purpose.  Any derived versions of this
                     10:  * software must be clearly marked as such, and if the derived work is
                     11:  * incompatible with the protocol description in the RFC file, it must be
                     12:  * called by a name other than "ssh" or "Secure Shell".
1.3       deraadt    13:  */
1.5       djm        14:
1.1       markus     15: #ifndef AUTHFILE_H
                     16: #define AUTHFILE_H
1.5       djm        17:
1.17    ! markus     18: int     key_save_private(Key *, const char *, const char *, const char *,
        !            19:     int, const char *, int);
1.16      djm        20: int     key_load_file(int, const char *, Buffer *);
1.15      djm        21: Key    *key_load_cert(const char *);
1.8       markus     22: Key    *key_load_public(const char *, char **);
                     23: Key    *key_load_public_type(int, const char *, char **);
1.16      djm        24: Key    *key_parse_private(Buffer *, const char *, const char *, char **);
1.8       markus     25: Key    *key_load_private(const char *, const char *, char **);
1.15      djm        26: Key    *key_load_private_cert(int, const char *, const char *, int *);
1.13      dtucker    27: Key    *key_load_private_type(int, const char *, const char *, char **, int *);
1.10      markus     28: Key    *key_load_private_pem(int, int, const char *, char **);
1.11      dtucker    29: int     key_perm_ok(int, const char *);
1.14      djm        30: int     key_in_file(Key *, const char *, int);
1.1       markus     31:
                     32: #endif