Searched refs:cert_der (Results 1 – 2 of 2) sorted by relevance
160 $cert_der = "$cadir/tmp/req-signed.der"; variable161 if (file_exists($cert_der))162 unlink($cert_der);163 exec("openssl x509 -in $cert_pem -inform PEM -out $cert_der -outform DER");164 if (!file_exists($cert_der)) {168 $der = file_get_contents($cert_der);
967 SECItem *cert_der = PK11_DEREncodePublicKey(pubkey); in cmp_peer_pubkey() local968 if(cert_der) { in cmp_peer_pubkey()970 result = Curl_pin_peer_pubkey(data, pinnedpubkey, cert_der->data, in cmp_peer_pubkey()971 cert_der->len); in cmp_peer_pubkey()972 SECITEM_FreeItem(cert_der, PR_TRUE); in cmp_peer_pubkey()1011 SECItem cert_der = { 0, NULL, 0 }; in SelectClientCert() local1023 &cert_der) != SECSuccess) { in SelectClientCert()1029 cert = PK11_FindCertFromDERCertItem(slot, &cert_der, proto_win); in SelectClientCert()1030 SECITEM_FreeItem(&cert_der, PR_FALSE); in SelectClientCert()