X509_PURPOSE
X509_PURPOSE *xptmp;
X509_PURPOSE *ptmp = X509_PURPOSE_get0(i);
static int purpose_print(BIO *bio, X509 *cert, X509_PURPOSE *pt)
static int purpose_print(BIO *bio, X509 *cert, X509_PURPOSE *pt);
static int check_cmKGA(ossl_unused const X509_PURPOSE *purpose, const X509 *x, int ca)
X509_PURPOSE *X509_PURPOSE_get0(int idx)
X509_PURPOSE *xptmp;
X509_PURPOSE tmp;
int (*ck)(const X509_PURPOSE *, const X509 *, int),
X509_PURPOSE *ptmp;
static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
static void xptable_free(X509_PURPOSE *p)
static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
int X509_PURPOSE_get_id(const X509_PURPOSE *xp)
char *X509_PURPOSE_get0_name(const X509_PURPOSE *xp)
static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
char *X509_PURPOSE_get0_sname(const X509_PURPOSE *xp)
int X509_PURPOSE_get_trust(const X509_PURPOSE *xp)
static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_code_sign(const X509_PURPOSE *xp, const X509 *x,
static int no_check_purpose(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_ocsp_helper(const X509_PURPOSE *xp, const X509 *x,
static int xp_cmp(const X509_PURPOSE *const *a, const X509_PURPOSE *const *b);
static void xptable_free(X509_PURPOSE *p);
static X509_PURPOSE xstandard[] = {
static STACK_OF(X509_PURPOSE) *xptable = NULL;
static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
static int xp_cmp(const X509_PURPOSE *const *a, const X509_PURPOSE *const *b)
static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_ocsp_helper(const X509_PURPOSE *xp, const X509 *x,
static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
const X509_PURPOSE *pt;
static int check_purpose_code_sign(const X509_PURPOSE *xp, const X509 *x,
static int no_check_purpose(const X509_PURPOSE *xp, const X509 *x,
X509_PURPOSE *ptmp;
X509_PURPOSE *xp = X509_PURPOSE_get0(idx);
int (*ck)(const X509_PURPOSE *, const X509 *, int),
X509_PURPOSE *X509_PURPOSE_get0(int idx);
int X509_PURPOSE_get_id(const X509_PURPOSE *);
char *X509_PURPOSE_get0_name(const X509_PURPOSE *xp);
char *X509_PURPOSE_get0_sname(const X509_PURPOSE *xp);
int X509_PURPOSE_get_trust(const X509_PURPOSE *xp);
SKM_DEFINE_STACK_OF_INTERNAL(X509_PURPOSE, X509_PURPOSE, X509_PURPOSE)
#define sk_X509_PURPOSE_value(sk, idx) ((X509_PURPOSE *)OPENSSL_sk_value(ossl_check_const_X509_PURPOSE_sk_type(sk), (idx)))
#define sk_X509_PURPOSE_new(cmp) ((STACK_OF(X509_PURPOSE) *)OPENSSL_sk_new(ossl_check_X509_PURPOSE_compfunc_type(cmp)))
#define sk_X509_PURPOSE_new_null() ((STACK_OF(X509_PURPOSE) *)OPENSSL_sk_new_null())
#define sk_X509_PURPOSE_new_reserve(cmp, n) ((STACK_OF(X509_PURPOSE) *)OPENSSL_sk_new_reserve(ossl_check_X509_PURPOSE_compfunc_type(cmp), (n)))
#define sk_X509_PURPOSE_delete(sk, i) ((X509_PURPOSE *)OPENSSL_sk_delete(ossl_check_X509_PURPOSE_sk_type(sk), (i)))
#define sk_X509_PURPOSE_delete_ptr(sk, ptr) ((X509_PURPOSE *)OPENSSL_sk_delete_ptr(ossl_check_X509_PURPOSE_sk_type(sk), ossl_check_X509_PURPOSE_type(ptr)))
#define sk_X509_PURPOSE_pop(sk) ((X509_PURPOSE *)OPENSSL_sk_pop(ossl_check_X509_PURPOSE_sk_type(sk)))
#define sk_X509_PURPOSE_shift(sk) ((X509_PURPOSE *)OPENSSL_sk_shift(ossl_check_X509_PURPOSE_sk_type(sk)))
#define sk_X509_PURPOSE_set(sk, idx, ptr) ((X509_PURPOSE *)OPENSSL_sk_set(ossl_check_X509_PURPOSE_sk_type(sk), (idx), ossl_check_X509_PURPOSE_type(ptr)))
#define sk_X509_PURPOSE_dup(sk) ((STACK_OF(X509_PURPOSE) *)OPENSSL_sk_dup(ossl_check_const_X509_PURPOSE_sk_type(sk)))
#define sk_X509_PURPOSE_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(X509_PURPOSE) *)OPENSSL_sk_deep_copy(ossl_check_const_X509_PURPOSE_sk_type(sk), ossl_check_X509_PURPOSE_copyfunc_type(copyfunc), ossl_check_X509_PURPOSE_freefunc_type(freefunc)))
static int ck_purp(ossl_unused const X509_PURPOSE *purpose,
X509_PURPOSE *xp;