• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/crypto/heimdal/lib/hx509/

Lines Matching refs:cert

206     ret = hx509_certs_init(context, "MEMORY:cert-store", 0, NULL, &store);
334 print_signer(hx509_context contextp, void *ctx, hx509_cert cert)
341 ret = hx509_cert_get_subject(cert, &name);
385 ret = hx509_certs_init(context, "MEMORY:cert-store", 0, NULL, &store);
387 ret = hx509_certs_init(context, "MEMORY:cert-pool", 0, NULL, &pool);
394 ret = hx509_certs_init(context, "MEMORY:cert-anchors",
546 ret = hx509_certs_init(context, "MEMORY:cert-store", 0, NULL, &certs);
584 hx509_cert cert;
600 ret = hx509_certs_init(context, "MEMORY:cert-store", 0, NULL, &certs);
621 ret = hx509_certs_find(context, certs, q, &cert);
628 ret = hx509_cms_envelope_1(context, flags, cert, p, sz, enctype,
633 hx509_cert_free(cert);
661 print_certificate(hx509_context hxcontext, hx509_cert cert, int verbose)
666 fn = hx509_cert_get_friendly_name(cert);
670 _hx509_cert_private_key(cert) ? "yes" : "no");
672 ret = hx509_print_cert(hxcontext, cert, NULL);
674 errx(1, "failed to print cert");
684 hx509_validate_cert(hxcontext, vctx, cert);
697 print_f(hx509_context hxcontext, void *ctx, hx509_cert cert)
701 printf("cert: %d\n", s->counter++);
702 print_certificate(context, cert, s->verbose);
932 } else if (strncmp(s, "cert:", 5) == 0) {
1005 ret = hx509_certs_init(context, "MEMORY:cert-store", 0, NULL, &certs);
1683 "Failed to evaluate cert type %s", type);
1750 hx509_cert signer = NULL, cert = NULL;
1975 ret = hx509_ca_sign_self(context, tbs, private_key, &cert);
1979 ret = hx509_ca_sign(context, tbs, signer, &cert);
1985 ret = _hx509_cert_assign_key(cert, cert_key);
1998 ret = hx509_certs_add(context, certs, cert);
2013 hx509_cert_free(cert);
2026 test_one_cert(hx509_context hxcontext, void *ctx, hx509_cert cert)
2034 if (_hx509_cert_private_key(cert) == NULL)
2038 NULL, cert, NULL, NULL, NULL, &sd);
2169 "hx509_certs_init: MEMORY cert");