• Home
  • Raw
  • Download

Lines Matching refs:ca

67 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca);
68 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca);
69 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca);
70 static int purpose_smime(const X509 *x, int ca);
71 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x, int ca);
72 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x, int ca);
73 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x, int ca);
74 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x, int ca);
75 static int no_check(const X509_PURPOSE *xp, const X509 *x, int ca);
76 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca);
109 int X509_check_purpose(X509 *x, int id, int ca) in X509_check_purpose() argument
122 return pt->check_purpose(pt, x, ca); in X509_check_purpose()
378 if(bs->ca) x->ex_flags |= EXFLAG_CA; in x509v3_cache_extensions()
381 || !bs->ca) { in x509v3_cache_extensions()
552 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca) in check_purpose_ssl_client() argument
555 if(ca) return check_ssl_ca(x); in check_purpose_ssl_client()
563 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca) in check_purpose_ssl_server() argument
566 if(ca) return check_ssl_ca(x); in check_purpose_ssl_server()
576 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca) in check_purpose_ns_ssl_server() argument
579 ret = check_purpose_ssl_server(xp, x, ca); in check_purpose_ns_ssl_server()
580 if(!ret || ca) return ret; in check_purpose_ns_ssl_server()
587 static int purpose_smime(const X509 *x, int ca) in purpose_smime() argument
590 if(ca) { in purpose_smime()
607 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x, int ca) in check_purpose_smime_sign() argument
610 ret = purpose_smime(x, ca); in check_purpose_smime_sign()
611 if(!ret || ca) return ret; in check_purpose_smime_sign()
616 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x, int ca) in check_purpose_smime_encrypt() argument
619 ret = purpose_smime(x, ca); in check_purpose_smime_encrypt()
620 if(!ret || ca) return ret; in check_purpose_smime_encrypt()
625 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x, int ca) in check_purpose_crl_sign() argument
627 if(ca) { in check_purpose_crl_sign()
640 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca) in ocsp_helper() argument
644 if(ca) return check_ca(x); in ocsp_helper()
650 int ca) in check_purpose_timestamp_sign() argument
655 if (ca) return check_ca(x); in check_purpose_timestamp_sign()
684 static int no_check(const X509_PURPOSE *xp, const X509 *x, int ca) in no_check() argument