Home
last modified time | relevance | path

Searched refs:pkey (Results 1 – 4 of 4) sorted by relevance

/curl/tests/http/testenv/
H A Dcerts.py120 pkey: Any,
124 self._pkey = pkey
331 creds = Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer)
392 pkey: Any,
510 issuer_key = pkey
513 issuer_subject=issuer_subject, pkey=pkey,
519 return Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer)
530 issuer_subject=issuer.certificate.subject, pkey=pkey,
536 return Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer)
548 issuer_subject=issuer.certificate.subject, pkey=pkey,
[all …]
/curl/lib/vtls/
H A Dbearssl.c121 br_x509_pkey *pkey; in load_cafile() local
203 if(!pkey) { in load_cafile()
207 ta->pkey = *pkey; in load_cafile()
211 switch(pkey->key_type) { in load_cafile()
213 ta_size += pkey->key.rsa.nlen + pkey->key.rsa.elen; in load_cafile()
216 ta_size += pkey->key.ec.qlen; in load_cafile()
231 switch(pkey->key_type) { in load_cafile()
234 memcpy(ta->pkey.key.rsa.n, pkey->key.rsa.n, pkey->key.rsa.nlen); in load_cafile()
235 ta->pkey.key.rsa.e = ta->pkey.key.rsa.n + ta->pkey.key.rsa.nlen; in load_cafile()
236 memcpy(ta->pkey.key.rsa.e, pkey->key.rsa.e, pkey->key.rsa.elen); in load_cafile()
[all …]
H A Dopenssl.c553 rsa = pubkey->pkey.rsa; in ossl_certchain()
590 dsa = pubkey->pkey.dsa; in ossl_certchain()
627 dh = pubkey->pkey.dh; in ossl_certchain()
1198 EVP_PKEY *pkey = NULL; in SSL_CTX_use_PrivateKey_blob() local
1204 pkey = PEM_read_bio_PrivateKey(in, NULL, passwd_callback, in SSL_CTX_use_PrivateKey_blob()
1207 pkey = d2i_PrivateKey_bio(in, NULL); in SSL_CTX_use_PrivateKey_blob()
1212 if(!pkey) { in SSL_CTX_use_PrivateKey_blob()
1216 ret = SSL_CTX_use_PrivateKey(ctx, pkey); in SSL_CTX_use_PrivateKey_blob()
1217 EVP_PKEY_free(pkey); in SSL_CTX_use_PrivateKey_blob()
/curl/tests/certs/scripts/
H A Dgenserv.sh130 "$OPENSSL" pkey -pubin -outform der | "$OPENSSL" dgst -sha256 -binary | \

Completed in 20 milliseconds