Lines Matching defs:certnum
781 static void do_pubkey_field(struct SessionHandle * data, int certnum,
791 Curl_ssl_push_certinfo(data, certnum, label, output);
792 if(!certnum)
798 static void do_pubkey(struct SessionHandle * data, int certnum,
825 if(!certnum)
830 Curl_ssl_push_certinfo(data, certnum, "RSA Public Key", q);
835 do_pubkey_field(data, certnum, "rsa(n)", &elem);
837 do_pubkey_field(data, certnum, "rsa(e)", &elem);
841 do_pubkey_field(data, certnum, "dsa(p)", &elem);
843 do_pubkey_field(data, certnum, "dsa(q)", &elem);
845 do_pubkey_field(data, certnum, "dsa(g)", &elem);
846 do_pubkey_field(data, certnum, "dsa(pub_key)", &pk);
850 do_pubkey_field(data, certnum, "dh(p)", &elem);
852 do_pubkey_field(data, certnum, "dh(g)", &elem);
853 do_pubkey_field(data, certnum, "dh(pub_key)", &pk);
863 int certnum,
880 if(certnum)
893 Curl_ssl_push_certinfo(data, certnum, "Subject", ccp);
894 if(!certnum)
895 infof(data, "%2d Subject: %s\n", certnum, ccp);
903 Curl_ssl_push_certinfo(data, certnum, "Issuer", ccp);
904 if(!certnum)
916 Curl_ssl_push_certinfo(data, certnum, "Version", ccp);
919 if(!certnum)
927 Curl_ssl_push_certinfo(data, certnum, "Serial Number", ccp);
928 if(!certnum)
938 Curl_ssl_push_certinfo(data, certnum, "Signature Algorithm", ccp);
939 if(!certnum)
948 Curl_ssl_push_certinfo(data, certnum, "Start Date", ccp);
949 if(!certnum)
958 Curl_ssl_push_certinfo(data, certnum, "Expire Date", ccp);
959 if(!certnum)
969 Curl_ssl_push_certinfo(data, certnum, "Public Key Algorithm", ccp);
970 if(!certnum)
972 do_pubkey(data, certnum, ccp, ¶m, &cert.subjectPublicKey);
982 Curl_ssl_push_certinfo(data, certnum, "Signature", ccp);
983 if(!certnum)
1015 Curl_ssl_push_certinfo(data, certnum, "Cert", cp2);
1016 if(!certnum)