Lines Matching refs:spki
65 NETSCAPE_SPKI *spki = NULL; in spkac_main() local
152 spki = NETSCAPE_SPKI_new(); in spkac_main()
153 if (spki == NULL) in spkac_main()
156 && !ASN1_STRING_set(spki->spkac->challenge, in spkac_main()
159 if (!NETSCAPE_SPKI_set_pubkey(spki, pkey)) { 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()
227 NETSCAPE_SPKI_free(spki); in spkac_main()