diff options
Diffstat (limited to 'sshsig.h')
-rw-r--r-- | sshsig.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | struct sshbuf; | 20 | struct sshbuf; |
21 | struct sshkey; | 21 | struct sshkey; |
22 | struct sshsigopt; | ||
22 | 23 | ||
23 | typedef int sshsig_signer(struct sshkey *, u_char **, size_t *, | 24 | typedef int sshsig_signer(struct sshkey *, u_char **, size_t *, |
24 | const u_char *, size_t, const char *, u_int, void *); | 25 | const u_char *, size_t, const char *, u_int, void *); |
@@ -81,4 +82,11 @@ int sshsig_dearmor(struct sshbuf *sig, struct sshbuf **out); | |||
81 | int sshsig_check_allowed_keys(const char *path, const struct sshkey *sign_key, | 82 | int sshsig_check_allowed_keys(const char *path, const struct sshkey *sign_key, |
82 | const char *principal, const char *ns); | 83 | const char *principal, const char *ns); |
83 | 84 | ||
85 | /* Parse zero or more allowed_keys signature options */ | ||
86 | struct sshsigopt *sshsigopt_parse(const char *opts, | ||
87 | const char *path, u_long linenum, const char **errstrp); | ||
88 | |||
89 | /* Free signature options */ | ||
90 | void sshsigopt_free(struct sshsigopt *opts); | ||
91 | |||
84 | #endif /* SSHSIG_H */ | 92 | #endif /* SSHSIG_H */ |