Lines Matching defs:ca_key
89 struct sshkey *ca_key;
164 sshkey_free(rc->ca_key);
219 revoked_certs_for_ca_key(struct ssh_krl *krl, const struct sshkey *ca_key,
227 if ((ca_key == NULL && rc->ca_key == NULL) ||
228 sshkey_equal(rc->ca_key, ca_key)) {
238 if (ca_key == NULL)
239 rc->ca_key = NULL;
240 else if ((r = sshkey_from_private(ca_key, &rc->ca_key)) != 0) {
247 KRL_DBG(("new CA %s", ca_key == NULL ? "*" : sshkey_type(ca_key)));
327 ssh_krl_revoke_cert_by_serial(struct ssh_krl *krl, const struct sshkey *ca_key,
330 return ssh_krl_revoke_cert_by_serial_range(krl, ca_key, serial, serial);
335 const struct sshkey *ca_key, u_int64_t lo, u_int64_t hi)
342 if ((r = revoked_certs_for_ca_key(krl, ca_key, &rc, 1)) != 0)
348 ssh_krl_revoke_cert_by_key_id(struct ssh_krl *krl, const struct sshkey *ca_key,
355 if ((r = revoked_certs_for_ca_key(krl, ca_key, &rc, 1)) != 0)
594 if (rc->ca_key == NULL) {
598 if ((r = sshkey_puts(rc->ca_key, buf)) != 0)
882 struct sshkey *ca_key = NULL;
891 if (blen != 0 && (r = sshkey_from_blob(blob, blen, &ca_key)) != 0)
909 ca_key, serial)) != 0)
918 ca_key, serial_lo, serial_hi)) != 0)
944 ca_key, serial_lo + serial)) != 0)
956 ca_key, key_id)) != 0)
983 sshkey_free(ca_key);
1358 if (rc->ca_key == NULL)
1361 if ((fp = sshkey_fingerprint(rc->ca_key,
1368 sshkey_ssh_name(rc->ca_key), fp);