• Home
  • Raw
  • Download

Lines Matching refs:getASN1Element

106 static const char *getASN1Element(struct Curl_asn1Element *elem,
110 static const char *getASN1Element(struct Curl_asn1Element *elem, in getASN1Element() function
148 beg = getASN1Element(&lelem, beg, end); in getASN1Element()
625 p1 = getASN1Element(&rdn, p1, dn->end); in encodeDN()
629 p2 = getASN1Element(&atv, p2, rdn.end); in encodeDN()
632 p3 = getASN1Element(&oid, atv.beg, atv.end); in encodeDN()
635 if(!getASN1Element(&value, p3, atv.end)) in encodeDN()
719 if(!getASN1Element(&elem, beg, end)) in Curl_parseX509()
725 beg = getASN1Element(&tbsCertificate, beg, end); in Curl_parseX509()
729 beg = getASN1Element(&cert->signatureAlgorithm, beg, end); in Curl_parseX509()
733 if(!getASN1Element(&cert->signature, beg, end)) in Curl_parseX509()
743 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
747 if(!getASN1Element(&cert->version, elem.beg, elem.end)) in Curl_parseX509()
749 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
755 beg = getASN1Element(&cert->signatureAlgorithm, beg, end); in Curl_parseX509()
757 beg = getASN1Element(&cert->issuer, beg, end); in Curl_parseX509()
761 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
764 ccp = getASN1Element(&cert->notBefore, elem.beg, elem.end); in Curl_parseX509()
767 if(!getASN1Element(&cert->notAfter, ccp, elem.end)) in Curl_parseX509()
770 beg = getASN1Element(&cert->subject, beg, end); in Curl_parseX509()
774 beg = getASN1Element(&cert->subjectPublicKeyInfo, beg, end); in Curl_parseX509()
777 ccp = getASN1Element(&cert->subjectPublicKeyAlgorithm, in Curl_parseX509()
782 if(!getASN1Element(&cert->subjectPublicKey, ccp, in Curl_parseX509()
794 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
801 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
809 beg = getASN1Element(&elem, beg, end); in Curl_parseX509()
815 if(!getASN1Element(&cert->extensions, elem.beg, elem.end)) in Curl_parseX509()
845 beg = getASN1Element(&oid, beg, end); in dumpAlgo()
852 if(!getASN1Element(param, beg, end)) in dumpAlgo()
885 if(!getASN1Element(&pk, pubkey->beg + 1, pubkey->end)) in do_pubkey()
892 p = getASN1Element(&elem, pk.beg, pk.end); in do_pubkey()
918 if(!getASN1Element(&elem, p, pk.end)) in do_pubkey()
923 p = getASN1Element(&elem, param->beg, param->end); in do_pubkey()
926 p = getASN1Element(&elem, p, param->end); in do_pubkey()
929 if(getASN1Element(&elem, p, param->end)) { in do_pubkey()
937 p = getASN1Element(&elem, param->beg, param->end); in do_pubkey()
940 if(getASN1Element(&elem, param->beg, param->end)) { in do_pubkey()
1122 ccp = getASN1Element(&e, beg, end); in checkOID()
1180 p = getASN1Element(&ext, p, cert.extensions.end); in Curl_verifyhost()
1187 ext.beg = getASN1Element(&elem, ext.beg, ext.end); in Curl_verifyhost()
1192 ext.beg = getASN1Element(&elem, ext.beg, ext.end); in Curl_verifyhost()
1197 if(!getASN1Element(&elem, elem.beg, elem.end)) in Curl_verifyhost()
1201 q = getASN1Element(&name, q, elem.end); in Curl_verifyhost()
1243 q = getASN1Element(&dn, q, cert.subject.end); in Curl_verifyhost()
1247 p = getASN1Element(&elem, p, dn.end); in Curl_verifyhost()
1258 if(!getASN1Element(&elem, name.beg, name.end)) in Curl_verifyhost()