diff options
-rw-r--r-- | sshsig.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -92,4 +92,14 @@ struct sshsigopt *sshsigopt_parse(const char *opts, | |||
92 | /* Free signature options */ | 92 | /* Free signature options */ |
93 | void sshsigopt_free(struct sshsigopt *opts); | 93 | void sshsigopt_free(struct sshsigopt *opts); |
94 | 94 | ||
95 | /* Get public key from signature */ | ||
96 | int | ||
97 | sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey); | ||
98 | |||
99 | /* Find principal in allowed_keys file, given a sshkey. Returns | ||
100 | * 0 on success. | ||
101 | */ | ||
102 | int sshsig_find_principal(const char *path, const struct sshkey *sign_key, | ||
103 | char **principal); | ||
104 | |||
95 | #endif /* SSHSIG_H */ | 105 | #endif /* SSHSIG_H */ |