Lines Matching refs:getASN1Element
107 static const char *getASN1Element(struct Curl_asn1Element *elem,
111 static const char *getASN1Element(struct Curl_asn1Element *elem, in getASN1Element() function
149 beg = getASN1Element(&lelem, beg, end); in getASN1Element()
626 p1 = getASN1Element(&rdn, p1, dn->end); in encodeDN()
630 p2 = getASN1Element(&atv, p2, rdn.end); in encodeDN()
633 p3 = getASN1Element(&oid, atv.beg, atv.end); in encodeDN()
636 if(!getASN1Element(&value, p3, atv.end)) in encodeDN()
720 if(!getASN1Element(&elem, beg, end)) in Curl_parseX509()
726 beg = getASN1Element(&tbsCertificate, beg, end); in Curl_parseX509()
730 beg = getASN1Element(&cert->signatureAlgorithm, beg, end); in Curl_parseX509()
734 if(!getASN1Element(&cert->signature, beg, end)) in Curl_parseX509()
744 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
748 if(!getASN1Element(&cert->version, elem.beg, elem.end)) in Curl_parseX509()
750 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
756 beg = getASN1Element(&cert->signatureAlgorithm, beg, end); in Curl_parseX509()
758 beg = getASN1Element(&cert->issuer, beg, end); in Curl_parseX509()
762 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
765 ccp = getASN1Element(&cert->notBefore, elem.beg, elem.end); in Curl_parseX509()
768 if(!getASN1Element(&cert->notAfter, ccp, elem.end)) in Curl_parseX509()
771 beg = getASN1Element(&cert->subject, beg, end); in Curl_parseX509()
775 beg = getASN1Element(&cert->subjectPublicKeyInfo, beg, end); in Curl_parseX509()
778 ccp = getASN1Element(&cert->subjectPublicKeyAlgorithm, in Curl_parseX509()
783 if(!getASN1Element(&cert->subjectPublicKey, ccp, in Curl_parseX509()
795 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
802 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
810 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
816 if(!getASN1Element(&cert->extensions, elem.beg, elem.end)) in Curl_parseX509()
846 beg = getASN1Element(&oid, beg, end); in dumpAlgo()
853 if(!getASN1Element(param, beg, end)) in dumpAlgo()
886 if(!getASN1Element(&pk, pubkey->beg + 1, pubkey->end)) in do_pubkey()
893 p = getASN1Element(&elem, pk.beg, pk.end); in do_pubkey()
919 if(!getASN1Element(&elem, p, pk.end)) in do_pubkey()
924 p = getASN1Element(&elem, param->beg, param->end); in do_pubkey()
927 p = getASN1Element(&elem, p, param->end); in do_pubkey()
930 if(getASN1Element(&elem, p, param->end)) { in do_pubkey()
938 p = getASN1Element(&elem, param->beg, param->end); in do_pubkey()
941 if(getASN1Element(&elem, param->beg, param->end)) { in do_pubkey()
1123 ccp = getASN1Element(&e, beg, end); in checkOID()
1178 p = getASN1Element(&ext, p, cert.extensions.end); in Curl_verifyhost()
1185 ext.beg = getASN1Element(&elem, ext.beg, ext.end); in Curl_verifyhost()
1190 ext.beg = getASN1Element(&elem, ext.beg, ext.end); in Curl_verifyhost()
1195 if(!getASN1Element(&elem, elem.beg, elem.end)) in Curl_verifyhost()
1199 q = getASN1Element(&name, q, elem.end); in Curl_verifyhost()
1241 q = getASN1Element(&dn, q, cert.subject.end); in Curl_verifyhost()
1245 p = getASN1Element(&elem, p, dn.end); in Curl_verifyhost()
1256 if(!getASN1Element(&elem, name.beg, name.end)) in Curl_verifyhost()