Lines Matching full:x509
1 /* crypto/x509/x509_vfy.c */
69 #include <openssl/x509.h>
112 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
113 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x);
121 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
123 X509_CRL *crl, X509 *x);
125 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
129 X509 **pissuer, int *pcrl_score);
130 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
132 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x);
134 STACK_OF(X509) *cert_path,
135 STACK_OF(X509) *crl_path);
147 static int x509_subject_cmp(X509 **a, X509 **b)
155 X509 *x,*xtmp,*chain_ss=NULL;
161 STACK_OF(X509) *sktmp=NULL;
395 /* Given a STACK_OF(X509) find the issuer of cert (if any)
398 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x)
401 X509 *issuer;
413 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer)
432 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
455 X509 *x;
609 X509 *x;
649 X509 *x;
695 X509 *x;
820 X509 **pissuer, int *pscore, unsigned int *preasons,
825 X509 *x = ctx->current_cert;
827 X509 *crl_issuer = NULL, *best_crl_issuer = NULL;
974 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
976 X509_CRL *crl, X509 *x)
1044 X509 **pissuer, int *pcrl_score)
1046 X509 *crl_issuer = NULL;
1108 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x)
1148 STACK_OF(X509) *cert_path,
1149 STACK_OF(X509) *crl_path)
1151 X509 *cert_ta, *crl_ta;
1253 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
1293 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x)
1296 X509 *issuer = NULL;
1340 X509 *issuer = NULL;
1445 static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x)
1497 X509 *x;
1529 static int check_cert_time(X509_STORE_CTX *ctx, X509 *x)
1579 X509 *xs,*xi;
1779 int X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain)
1855 X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx)
1860 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx)
1865 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx)
1868 X509 *x;
1869 STACK_OF(X509) *chain;
1879 X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx)
1894 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *x)
1899 void X509_STORE_CTX_set_chain(X509_STORE_CTX *ctx, STACK_OF(X509) *sk)
1996 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,
1997 STACK_OF(X509) *chain)
2002 ctx->cert=x509;
2127 void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk)
2208 IMPLEMENT_STACK_OF(X509)
2209 IMPLEMENT_ASN1_SET_OF(X509)