Lines Matching refs:certnum

909                                   int certnum,  in ssl_push_certinfo()  argument
915 return Curl_ssl_push_certinfo_len(data, certnum, label, value, valuelen); in ssl_push_certinfo()
925 int certnum, in ssl_push_certinfo_dyn() argument
932 CURLcode result = Curl_ssl_push_certinfo_len(data, certnum, label, in ssl_push_certinfo_dyn()
935 if(!certnum && !result) in ssl_push_certinfo_dyn()
941 static CURLcode do_pubkey_field(struct Curl_easy *data, int certnum, in do_pubkey_field() argument
955 result = ssl_push_certinfo_dyn(data, certnum, label, &out); in do_pubkey_field()
962 static int do_pubkey(struct Curl_easy *data, int certnum, in do_pubkey() argument
978 if(!certnum) in do_pubkey()
983 if(ssl_push_certinfo(data, certnum, "ECC Public Key", q)) in do_pubkey()
986 return do_pubkey_field(data, certnum, "ecPublicKey", pubkey) == CURLE_OK in do_pubkey()
1013 if(!certnum) in do_pubkey()
1018 if(ssl_push_certinfo(data, certnum, "RSA Public Key", r)) in do_pubkey()
1022 if(do_pubkey_field(data, certnum, "rsa(n)", &elem)) in do_pubkey()
1026 if(do_pubkey_field(data, certnum, "rsa(e)", &elem)) in do_pubkey()
1032 if(do_pubkey_field(data, certnum, "dsa(p)", &elem)) in do_pubkey()
1036 if(do_pubkey_field(data, certnum, "dsa(q)", &elem)) in do_pubkey()
1039 if(do_pubkey_field(data, certnum, "dsa(g)", &elem)) in do_pubkey()
1041 if(do_pubkey_field(data, certnum, "dsa(pub_key)", &pk)) in do_pubkey()
1050 if(do_pubkey_field(data, certnum, "dh(p)", &elem)) in do_pubkey()
1053 if(do_pubkey_field(data, certnum, "dh(g)", &elem)) in do_pubkey()
1055 if(do_pubkey_field(data, certnum, "dh(pub_key)", &pk)) in do_pubkey()
1074 int certnum, in Curl_extract_certinfo() argument
1089 if(certnum) in Curl_extract_certinfo()
1104 result = ssl_push_certinfo_dyn(data, certnum, "Subject", &out); in Curl_extract_certinfo()
1115 result = ssl_push_certinfo_dyn(data, certnum, "Issuer", &out); in Curl_extract_certinfo()
1129 result = ssl_push_certinfo_dyn(data, certnum, "Version", &out); in Curl_extract_certinfo()
1140 result = ssl_push_certinfo_dyn(data, certnum, "Serial Number", &out); in Curl_extract_certinfo()
1152 result = ssl_push_certinfo_dyn(data, certnum, "Signature Algorithm", in Curl_extract_certinfo()
1164 result = ssl_push_certinfo_dyn(data, certnum, "Start Date", &out); in Curl_extract_certinfo()
1175 result = ssl_push_certinfo_dyn(data, certnum, "Expire Date", &out); in Curl_extract_certinfo()
1187 result = ssl_push_certinfo_dyn(data, certnum, "Public Key Algorithm", in Curl_extract_certinfo()
1193 rc = do_pubkey(data, certnum, Curl_dyn_ptr(&out), in Curl_extract_certinfo()
1206 result = ssl_push_certinfo_dyn(data, certnum, "Signature", &out); in Curl_extract_certinfo()
1248 result = ssl_push_certinfo_dyn(data, certnum, "Cert", &out); in Curl_extract_certinfo()