Lines Matching refs:cert
85 X509 *cert = NULL; in addcert() local
281 &key, &cert) != 0) { in addcert()
288 if (cert == NULL) { in addcert()
328 cert = sk_X509_value(trustcerts, i); in addcert()
329 if (check_cert(err, cert) != 0) { in addcert()
338 if (check_cert_and_key(err, cert, key) != 0) { in addcert()
357 cert = sk_X509_value(trustcerts, 0); in addcert()
361 switch (verify_trust(cert)) { in addcert()
390 get_subject_display_name(cert)); in addcert()
395 cert = sk_X509_value(trustcerts, i); in addcert()
396 if (merge_ca_cert(err, cert, keystore) != 0) { in addcert()
404 get_subject_display_name(cert)); in addcert()
409 if (merge_cert_and_key(err, cert, key, alias, keystore) != 0) { in addcert()
449 static VerifyStatus verify_trust(X509 *cert) in verify_trust() argument
458 if (print_cert(err, cert, KEYSTORE_FORMAT_TEXT, in verify_trust()
459 get_subject_display_name(cert), B_TRUE, stdout) != 0) { in verify_trust()
500 if (!is_ca_cert(cert)) { in verify_trust()