• Home
  • Raw
  • Download

Lines Matching refs:X509

116 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
117 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x);
126 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
127 unsigned int *preasons, X509_CRL *crl, X509 *x);
129 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
133 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, X509 **pissuer,
135 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
137 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x);
139 STACK_OF(X509) *cert_path,
140 STACK_OF(X509) *crl_path);
150 static int cert_self_signed(X509 *x) in cert_self_signed()
161 static X509 *lookup_cert_match(X509_STORE_CTX *ctx, X509 *x) in lookup_cert_match()
163 STACK_OF(X509) *certs; in lookup_cert_match()
164 X509 *xtmp = NULL; in lookup_cert_match()
186 X509 *x, *xtmp, *xtmp2, *chain_ss = NULL; in X509_verify_cert()
192 STACK_OF(X509) *sktmp = NULL; in X509_verify_cert()
194 OPENSSL_PUT_ERROR(X509, X509_R_NO_CERT_SET_FOR_US_TO_VERIFY); in X509_verify_cert()
203 OPENSSL_PUT_ERROR(X509, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in X509_verify_cert()
216 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_verify_cert()
227 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_verify_cert()
236 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_verify_cert()
247 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_verify_cert()
293 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_verify_cert()
385 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_verify_cert()
533 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x) in find_issuer()
536 X509 *issuer; in find_issuer()
547 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer) in check_issued()
565 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) in get_issuer_sk()
583 X509 *x; in check_chain_extensions()
715 X509 *x; in check_name_constraints()
761 static int check_hosts(X509 *x, X509_VERIFY_PARAM_ID *id) in check_hosts()
784 X509 *x = ctx->cert; in check_id()
808 X509 *x = NULL; in check_trust()
836 X509 *mx; in check_trust()
881 X509 *x; in check_cert()
1007 X509 **pissuer, int *pscore, unsigned int *preasons, in get_crl_sk()
1013 X509 *x = ctx->current_cert; in get_crl_sk()
1015 X509 *crl_issuer = NULL, *best_crl_issuer = NULL; in get_crl_sk()
1165 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer, in get_crl_score()
1166 unsigned int *preasons, X509_CRL *crl, X509 *x) in get_crl_score()
1228 X509 **pissuer, int *pcrl_score) in crl_akid_check()
1230 X509 *crl_issuer = NULL; in crl_akid_check()
1298 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x) in check_crl_path()
1339 STACK_OF(X509) *cert_path, in check_crl_chain()
1340 STACK_OF(X509) *crl_path) in check_crl_chain()
1342 X509 *cert_ta, *crl_ta; in check_crl_chain()
1434 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score, in crl_crldp_check()
1469 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x) in get_crl_delta()
1472 X509 *issuer = NULL; in get_crl_delta()
1515 X509 *issuer = NULL; in check_crl()
1621 static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x) in cert_crl()
1662 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in check_policy()
1671 X509 *x; in check_policy()
1705 static int check_cert_time(X509_STORE_CTX *ctx, X509 *x) in check_cert_time()
1751 X509 *xs, *xi; in internal_verify()
1943 OPENSSL_PUT_ERROR(X509, X509_R_CRL_ALREADY_DELTA); in X509_CRL_diff()
1948 OPENSSL_PUT_ERROR(X509, X509_R_NO_CRL_NUMBER); in X509_CRL_diff()
1953 OPENSSL_PUT_ERROR(X509, X509_R_ISSUER_MISMATCH); in X509_CRL_diff()
1958 OPENSSL_PUT_ERROR(X509, X509_R_AKID_MISMATCH); in X509_CRL_diff()
1962 OPENSSL_PUT_ERROR(X509, X509_R_IDP_MISMATCH); in X509_CRL_diff()
1967 OPENSSL_PUT_ERROR(X509, X509_R_NEWER_CRL_NOT_NEWER); in X509_CRL_diff()
1973 OPENSSL_PUT_ERROR(X509, X509_R_CRL_VERIFY_FAILURE); in X509_CRL_diff()
2035 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_CRL_diff()
2083 X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx) in X509_STORE_CTX_get_current_cert()
2088 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx) in STACK_OF() argument
2093 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx) in STACK_OF() argument
2100 X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_current_issuer()
2115 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *x) in X509_STORE_CTX_set_cert()
2120 void X509_STORE_CTX_set_chain(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_set_chain()
2125 STACK_OF(X509) *X509_STORE_CTX_get0_untrusted(X509_STORE_CTX *ctx) in STACK_OF() argument
2168 OPENSSL_PUT_ERROR(X509, X509_R_UNKNOWN_PURPOSE_ID); in X509_STORE_CTX_purpose_inherit()
2175 OPENSSL_PUT_ERROR(X509, X509_R_UNKNOWN_PURPOSE_ID); in X509_STORE_CTX_purpose_inherit()
2187 OPENSSL_PUT_ERROR(X509, X509_R_UNKNOWN_TRUST_ID); in X509_STORE_CTX_purpose_inherit()
2204 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_STORE_CTX_new()
2225 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, in X509_STORE_CTX_init()
2226 STACK_OF(X509) *chain) in X509_STORE_CTX_init()
2324 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_STORE_CTX_init()
2333 void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_trusted_stack()
2380 X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_cert()
2422 IMPLEMENT_ASN1_SET_OF(X509)