version 1.6, 2020/01/23 04:54:34 |
version 1.7, 2020/01/23 23:31:52 |
|
|
void sshsigopt_free(struct sshsigopt *opts); |
void sshsigopt_free(struct sshsigopt *opts); |
|
|
/* Get public key from signature */ |
/* Get public key from signature */ |
int |
int sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey); |
sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey); |
|
|
|
/* Find principal in allowed_keys file, given a sshkey. Returns |
/* Find principal in allowed_keys file, given a sshkey. Returns |
* 0 on success. |
* 0 on success. |
*/ |
*/ |
int sshsig_find_principal(const char *path, const struct sshkey *sign_key, |
int sshsig_find_principals(const char *path, const struct sshkey *sign_key, |
char **principal); |
char **principal); |
|
|
#endif /* SSHSIG_H */ |
#endif /* SSHSIG_H */ |