• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/crypto/x509v3/

Lines Matching refs:X509_PURPOSE

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);
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 no_check(const X509_PURPOSE *xp, const X509 *x, int ca);
75 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca);
77 static int xp_cmp(const X509_PURPOSE * const *a,
78 const X509_PURPOSE * const *b);
79 static void xptable_free(X509_PURPOSE *p);
81 static X509_PURPOSE xstandard[] = {
92 #define X509_PURPOSE_COUNT (sizeof(xstandard)/sizeof(X509_PURPOSE))
94 IMPLEMENT_STACK_OF(X509_PURPOSE)
96 static STACK_OF(X509_PURPOSE) *xptable = NULL;
98 static int xp_cmp(const X509_PURPOSE * const *a,
99 const X509_PURPOSE * const *b)
110 const X509_PURPOSE *pt;
139 X509_PURPOSE * X509_PURPOSE_get0(int idx)
149 X509_PURPOSE *xptmp;
159 X509_PURPOSE tmp;
171 int (*ck)(const X509_PURPOSE *, const X509 *, int),
175 X509_PURPOSE *ptmp;
184 if(!(ptmp = OPENSSL_malloc(sizeof(X509_PURPOSE)))) {
227 static void xptable_free(X509_PURPOSE *p)
248 int X509_PURPOSE_get_id(X509_PURPOSE *xp)
253 char *X509_PURPOSE_get0_name(X509_PURPOSE *xp)
258 char *X509_PURPOSE_get0_sname(X509_PURPOSE *xp)
263 int X509_PURPOSE_get_trust(X509_PURPOSE *xp)
498 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca)
509 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca)
522 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca)
553 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x, int ca)
562 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x, int ca)
571 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x, int ca)
586 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca)
595 static int no_check(const X509_PURPOSE *xp, const X509 *x, int ca)