• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Heimdal-398.1.2/lib/hx509/

Lines Matching defs:cert

221     ret = hx509_certs_init(hxcontext, "MEMORY:cert-store", 0, NULL, &store);
349 print_signer(hx509_context context, void *ctx, hx509_cert cert)
356 ret = hx509_cert_get_subject(cert, &name);
400 ret = hx509_certs_init(hxcontext, "MEMORY:cert-store", 0, NULL, &store);
402 ret = hx509_certs_init(hxcontext, "MEMORY:cert-pool", 0, NULL, &pool);
409 ret = hx509_certs_init(hxcontext, "MEMORY:cert-anchors",
561 ret = hx509_certs_init(hxcontext, "MEMORY:cert-store", 0, NULL, &certs);
599 hx509_cert cert;
615 ret = hx509_certs_init(hxcontext, "MEMORY:cert-store", 0, NULL, &certs);
636 ret = hx509_certs_find(hxcontext, certs, q, &cert);
643 ret = hx509_cms_envelope_1(hxcontext, flags, cert, p, sz, enctype,
648 hx509_cert_free(cert);
676 print_certificate(hx509_context context, hx509_cert cert, int verbose)
681 fn = hx509_cert_get_friendly_name(cert);
685 _hx509_cert_private_key(cert) ? "yes" : "no");
687 ret = hx509_print_cert(hxcontext, cert, stdout);
689 errx(1, "failed to print cert");
699 hx509_validate_cert(hxcontext, vctx, cert);
712 print_f(hx509_context context, void *ctx, hx509_cert cert)
716 printf("cert: %d\n", s->counter++);
717 print_certificate(hxcontext, cert, s->verbose);
947 } else if (strncmp(s, "cert:", 5) == 0) {
1020 ret = hx509_certs_init(hxcontext, "MEMORY:cert-store", 0, NULL, &certs);
1716 "Failed to evaluate cert type %s", type);
1783 hx509_cert signer = NULL, cert = NULL;
2008 ret = hx509_ca_sign_self(hxcontext, tbs, private_key, &cert);
2012 ret = hx509_ca_sign(hxcontext, tbs, signer, &cert);
2018 ret = _hx509_cert_set_key(cert, cert_key);
2031 ret = hx509_certs_add(hxcontext, certs, cert);
2046 hx509_cert_free(cert);
2059 test_one_cert(hx509_context context, void *ctx, hx509_cert cert)
2067 if (_hx509_cert_private_key(cert) == NULL)
2071 NULL, cert, NULL, NULL, NULL, &sd);
2189 "hx509_certs_init: MEMORY cert");