version 1.38, 2002/05/25 18:51:07 |
version 1.39, 2002/05/31 11:35:15 |
|
|
#endif |
#endif |
|
|
typedef struct Authctxt Authctxt; |
typedef struct Authctxt Authctxt; |
|
typedef struct Authmethod Authmethod; |
typedef struct KbdintDevice KbdintDevice; |
typedef struct KbdintDevice KbdintDevice; |
|
|
struct Authctxt { |
struct Authctxt { |
|
|
#endif |
#endif |
}; |
}; |
|
|
|
struct Authmethod { |
|
char *name; |
|
int (*userauth)(Authctxt *authctxt); |
|
int *enabled; |
|
}; |
|
|
/* |
/* |
* Keyboard interactive device: |
* Keyboard interactive device: |
* init_ctx returns: non NULL upon success |
* init_ctx returns: non NULL upon success |
|
|
BIGNUM *auth_rsa_generate_challenge(Key *); |
BIGNUM *auth_rsa_generate_challenge(Key *); |
int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); |
int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); |
int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); |
int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); |
|
|
/* ssh2 methods */ |
|
int userauth_none(Authctxt *); |
|
int userauth_passwd(Authctxt *); |
|
int userauth_pubkey(Authctxt *); |
|
int userauth_hostbased(Authctxt *); |
|
int userauth_kbdint(Authctxt *); |
|
|
|
int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); |
int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); |
int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); |
int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); |