Home
last modified time | relevance | path

Searched refs:spki (Results 1 – 12 of 12) sorted by relevance

/openssl/apps/
H A Dspkac.c65 NETSCAPE_SPKI *spki = NULL; in spkac_main() local
152 spki = NETSCAPE_SPKI_new(); in spkac_main()
153 if (spki == NULL) in spkac_main()
163 i = NETSCAPE_SPKI_sign(spki, pkey, md); in spkac_main()
168 spkstr = NETSCAPE_SPKI_b64_encode(spki); in spkac_main()
194 spki = NETSCAPE_SPKI_b64_decode(spkstr, -1); in spkac_main()
196 if (spki == NULL) { in spkac_main()
207 NETSCAPE_SPKI_print(out, spki); in spkac_main()
208 pkey = NETSCAPE_SPKI_get_pubkey(spki); in spkac_main()
210 i = NETSCAPE_SPKI_verify(spki, pkey); in spkac_main()
[all …]
H A Dca.c1973 NETSCAPE_SPKI *spki = NULL; in certify_spkac() local
2035 spki = NETSCAPE_SPKI_b64_decode(cv->value, -1); in certify_spkac()
2036 if (spki == NULL) { in certify_spkac()
2049 if (spki == NULL) { in certify_spkac()
2061 if ((pktmp = NETSCAPE_SPKI_get_pubkey(spki)) == NULL) { in certify_spkac()
2066 j = NETSCAPE_SPKI_verify(spki, pktmp); in certify_spkac()
2084 NETSCAPE_SPKI_free(spki); in certify_spkac()
/openssl/crypto/asn1/
H A Dt_spki.c20 int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki) in NETSCAPE_SPKI_print() argument
28 X509_PUBKEY_get0_param(&spkioid, NULL, NULL, NULL, spki->spkac->pubkey); in NETSCAPE_SPKI_print()
32 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in NETSCAPE_SPKI_print()
39 chal = spki->spkac->challenge; in NETSCAPE_SPKI_print()
42 i = OBJ_obj2nid(spki->sig_algor.algorithm); in NETSCAPE_SPKI_print()
46 n = spki->signature->length; in NETSCAPE_SPKI_print()
47 s = (char *)spki->signature->data; in NETSCAPE_SPKI_print()
/openssl/crypto/x509/
H A Dx509spki.c35 NETSCAPE_SPKI *spki; in NETSCAPE_SPKI_b64_decode() local
47 spki = d2i_NETSCAPE_SPKI(NULL, &p, spki_len); in NETSCAPE_SPKI_b64_decode()
49 return spki; in NETSCAPE_SPKI_b64_decode()
54 char *NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *spki) in NETSCAPE_SPKI_b64_encode() argument
60 der_len = i2d_NETSCAPE_SPKI(spki, NULL); in NETSCAPE_SPKI_b64_encode()
71 i2d_NETSCAPE_SPKI(spki, &p); in NETSCAPE_SPKI_b64_encode()
H A Dx509_vfy.c3028 X509_verify(cert, t->spki) <= 0) in check_dane_pkeys()
/openssl/test/
H A Dalgorithmid_test.c279 int n, x509 = 0, spki = 0, testcount = 0; in setup_tests() local
287 spki = 1; in setup_tests()
298 testcount = x509 + spki; in setup_tests()
308 if (spki && n == 1) { in setup_tests()
315 if (spki && pubkey_filename == NULL) { in setup_tests()
325 if (spki) in setup_tests()
H A Dtls-provider.c1932 DO_ENC_PUBLIC_KEY(impl, type, spki, output)
/openssl/include/internal/
H A Ddane.h49 EVP_PKEY *spki; member
/openssl/ssl/statem/
H A Dstatem_lib.c1116 const unsigned char *spki, *spkistart; in tls_process_rpk() local
1255 if (!PACKET_get_bytes(pkt, &spki, spki_len)) { in tls_process_rpk()
1259 spkistart = spki; in tls_process_rpk()
1260 if ((pkey = d2i_PUBKEY_ex(NULL, &spki, spki_len, sctx->libctx, sctx->propq)) == NULL in tls_process_rpk()
1261 || spki != (spkistart + spki_len)) { in tls_process_rpk()
/openssl/include/openssl/
H A Dx509.h.in234 * spki structures - useful if you are writing a CA web page
347 int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki);
/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c1147 DO_PUBLIC_KEY(impl, type, spki, output)
/openssl/ssl/
H A Dssl_lib.c163 EVP_PKEY_free(t->spki); in tlsa_free()
399 t->spki = pkey; in dane_tlsa_add()
1282 *mspki = (dane->mcert == NULL) ? dane->mtlsa->spki : NULL; in SSL_get0_dane_authority()

Completed in 68 milliseconds