• Home
  • Raw
  • Download

Lines Matching refs:X509

70 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
71 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x);
79 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
81 static int check_key_level(X509_STORE_CTX *ctx, X509 *cert);
82 static int check_sig_level(X509_STORE_CTX *ctx, X509 *cert);
83 static int check_curve(X509 *cert);
85 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
86 unsigned int *preasons, X509_CRL *crl, X509 *x);
88 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
92 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, X509 **pissuer,
94 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
96 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x);
98 STACK_OF(X509) *cert_path,
99 STACK_OF(X509) *crl_path);
114 static int cert_self_signed(X509 *x) in cert_self_signed()
126 static X509 *lookup_cert_match(X509_STORE_CTX *ctx, X509 *x) in lookup_cert_match()
128 STACK_OF(X509) *certs; in lookup_cert_match()
129 X509 *xtmp = NULL; in lookup_cert_match()
157 static int verify_cb_cert(X509_STORE_CTX *ctx, X509 *x, int depth, int err) in verify_cb_cert()
188 X509 *cert = sk_X509_value(ctx->chain, i); in check_auth_level()
315 static int sk_X509_contains(STACK_OF(X509) *sk, X509 *cert) in sk_X509_contains()
331 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x) in find_issuer()
334 X509 *issuer, *rv = NULL; in find_issuer()
350 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer) in check_issued()
356 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) in get_issuer_sk()
370 static STACK_OF(X509) *lookup_certs_sk(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF() argument
372 STACK_OF(X509) *sk = NULL; in STACK_OF()
373 X509 *x; in STACK_OF()
403 static int check_purpose(X509_STORE_CTX *ctx, X509 *x, int purpose, int depth, in check_purpose()
458 X509 *x; in check_chain_extensions()
592 static int has_san_id(X509 *x, int gtype) in has_san_id()
619 X509 *x = sk_X509_value(ctx->chain, i); in check_name_constraints()
740 static int check_hosts(X509 *x, X509_VERIFY_PARAM *vpm) in check_hosts()
761 X509 *x = ctx->cert; in check_id()
780 X509 *x = NULL; in check_trust()
781 X509 *mx; in check_trust()
901 X509 *x = sk_X509_value(ctx->chain, cnum); in check_cert()
1025 X509 **pissuer, int *pscore, unsigned int *preasons, in get_crl_sk()
1030 X509 *x = ctx->current_cert; in get_crl_sk()
1032 X509 *crl_issuer = NULL, *best_crl_issuer = NULL; in get_crl_sk()
1179 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer, in get_crl_score()
1180 unsigned int *preasons, X509_CRL *crl, X509 *x) in get_crl_score()
1242 X509 **pissuer, int *pcrl_score) in crl_akid_check()
1244 X509 *crl_issuer = NULL; in crl_akid_check()
1301 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x) in check_crl_path()
1341 STACK_OF(X509) *cert_path, in check_crl_chain()
1342 STACK_OF(X509) *crl_path) in check_crl_chain()
1344 X509 *cert_ta, *crl_ta; in check_crl_chain()
1437 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score, in crl_crldp_check()
1472 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x) in get_crl_delta()
1475 X509 *issuer = NULL; in get_crl_delta()
1516 X509 *issuer = NULL; in check_crl()
1590 static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x) in cert_crl()
1656 X509 *x = sk_X509_value(ctx->chain, i); in check_policy()
1705 int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int depth) in x509_check_cert_time()
1741 X509 *xi = sk_X509_value(ctx->chain, n); in internal_verify()
1742 X509 *xs; in internal_verify()
1955 int X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain) in X509_get_pubkey_parameters()
2127 X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx) in X509_STORE_CTX_get_current_cert()
2132 void X509_STORE_CTX_set_current_cert(X509_STORE_CTX *ctx, X509 *x) in X509_STORE_CTX_set_current_cert()
2137 STACK_OF(X509) *X509_STORE_CTX_get0_chain(X509_STORE_CTX *ctx) in STACK_OF() argument
2142 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx) in STACK_OF() argument
2149 X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_current_issuer()
2164 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *x) in X509_STORE_CTX_set_cert()
2276 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, in X509_STORE_CTX_init()
2277 STACK_OF(X509) *chain) in X509_STORE_CTX_init()
2418 void X509_STORE_CTX_set0_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_set0_trusted_stack()
2467 X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_cert()
2472 STACK_OF(X509) *X509_STORE_CTX_get0_untrusted(X509_STORE_CTX *ctx) in STACK_OF() argument
2477 void X509_STORE_CTX_set0_untrusted(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_set0_untrusted()
2482 void X509_STORE_CTX_set0_verified_chain(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_set0_verified_chain()
2601 X509 *cert, in dane_i2d()
2634 static int dane_match(X509_STORE_CTX *ctx, X509 *cert, int depth) in dane_match()
2781 X509 *cert; in check_dane_issuer()
2807 X509 *cert = sk_X509_value(ctx->chain, num - 1); in check_dane_pkeys()
2851 static int check_leaf_suiteb(X509_STORE_CTX *ctx, X509 *cert) in check_leaf_suiteb()
2862 X509 *cert = ctx->cert; in dane_verify()
2923 static int get_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *cert) in get_issuer()
2925 STACK_OF(X509) *saved_chain = ctx->chain; in get_issuer()
2935 static int augment_stack(STACK_OF(X509) *src, STACK_OF(X509) **dstPtr) in augment_stack()
2938 STACK_OF(X509) *dst; in augment_stack()
2959 X509 *cert = sk_X509_value(ctx->chain, num - 1); in build_chain()
2961 STACK_OF(X509) *sktmp = NULL; in build_chain()
3039 X509 *x; in build_chain()
3040 X509 *xtmp = NULL; in build_chain()
3326 static int check_key_level(X509_STORE_CTX *ctx, X509 *cert) in check_key_level()
3356 static int check_curve(X509 *cert) in check_curve()
3383 static int check_sig_level(X509_STORE_CTX *ctx, X509 *cert) in check_sig_level()