version 1.3, 1999/10/14 18:17:42 |
version 1.4, 1999/11/15 20:53:24 |
|
|
The caller must initialize the integers before the call, and free the |
The caller must initialize the integers before the call, and free the |
comment after a successful call (before calling ssh_get_next_identity). */ |
comment after a successful call (before calling ssh_get_next_identity). */ |
int ssh_get_first_identity(AuthenticationConnection *connection, |
int ssh_get_first_identity(AuthenticationConnection *connection, |
int *bitsp, BIGNUM *e, BIGNUM *n, char **comment); |
BIGNUM *e, BIGNUM *n, char **comment); |
|
|
/* Returns the next authentication identity for the agent. Other functions |
/* Returns the next authentication identity for the agent. Other functions |
can be called between this and ssh_get_first_identity or two calls of this |
can be called between this and ssh_get_first_identity or two calls of this |
function. This returns 0 if there are no more identities. The caller |
function. This returns 0 if there are no more identities. The caller |
must free comment after a successful return. */ |
must free comment after a successful return. */ |
int ssh_get_next_identity(AuthenticationConnection *connection, |
int ssh_get_next_identity(AuthenticationConnection *connection, |
int *bitsp, BIGNUM *e, BIGNUM *n, char **comment); |
BIGNUM *e, BIGNUM *n, char **comment); |
|
|
/* Requests the agent to decrypt the given challenge. Returns true if |
/* Requests the agent to decrypt the given challenge. Returns true if |
the agent claims it was able to decrypt it. */ |
the agent claims it was able to decrypt it. */ |
int ssh_decrypt_challenge(AuthenticationConnection *auth, |
int ssh_decrypt_challenge(AuthenticationConnection *auth, |
int bits, BIGNUM *e, BIGNUM *n, BIGNUM *challenge, |
BIGNUM *e, BIGNUM *n, BIGNUM *challenge, |
unsigned char session_id[16], |
unsigned char session_id[16], |
unsigned int response_type, |
unsigned int response_type, |
unsigned char response[16]); |
unsigned char response[16]); |