Lines Matching refs:ca_key
85 struct sshkey *ca_key;
160 sshkey_free(rc->ca_key);
214 revoked_certs_for_ca_key(struct ssh_krl *krl, const struct sshkey *ca_key,
222 if ((ca_key == NULL && rc->ca_key == NULL) ||
223 sshkey_equal(rc->ca_key, ca_key)) {
233 if (ca_key == NULL)
234 rc->ca_key = NULL;
235 else if ((r = sshkey_from_private(ca_key, &rc->ca_key)) != 0) {
243 ca_key == NULL ? "*" : sshkey_type(ca_key)));
322 ssh_krl_revoke_cert_by_serial(struct ssh_krl *krl, const struct sshkey *ca_key,
325 return ssh_krl_revoke_cert_by_serial_range(krl, ca_key, serial, serial);
330 const struct sshkey *ca_key, u_int64_t lo, u_int64_t hi)
337 if ((r = revoked_certs_for_ca_key(krl, ca_key, &rc, 1)) != 0)
343 ssh_krl_revoke_cert_by_key_id(struct ssh_krl *krl, const struct sshkey *ca_key,
350 if ((r = revoked_certs_for_ca_key(krl, ca_key, &rc, 1)) != 0)
589 if (rc->ca_key == NULL) {
593 if ((r = sshkey_puts(rc->ca_key, buf)) != 0)
856 struct sshkey *ca_key = NULL;
865 if (blen != 0 && (r = sshkey_from_blob(blob, blen, &ca_key)) != 0)
883 ca_key, serial)) != 0)
892 ca_key, serial_lo, serial_hi)) != 0)
918 ca_key, serial_lo + serial)) != 0)
930 ca_key, key_id)) != 0)
953 sshkey_free(ca_key);