Home | History | Annotate | Download | only in x509

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;
162 STACK_OF(X509) *sktmp=NULL;
400 /* Given a STACK_OF(X509) find the issuer of cert (if any)
403 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x)
406 X509 *issuer;
418 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer)
437 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
460 X509 *x;
614 X509 *x;
654 X509 *x;
700 X509 *x;
825 X509 **pissuer, int *pscore, unsigned int *preasons,
830 X509 *x = ctx->current_cert;
832 X509 *crl_issuer = NULL, *best_crl_issuer = NULL;
979 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
981 X509_CRL *crl, X509 *x)
1049 X509 **pissuer, int *pcrl_score)
1051 X509 *crl_issuer = NULL;
1113 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x)
1153 STACK_OF(X509) *cert_path,
1154 STACK_OF(X509) *crl_path)
1156 X509 *cert_ta, *crl_ta;
1258 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
1298 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x)
1301 X509 *issuer = NULL;
1345 X509 *issuer = NULL;
1450 static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x)
1502 X509 *x;
1534 static int check_cert_time(X509_STORE_CTX *ctx, X509 *x)
1584 X509 *xs,*xi;
1784 int X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain)
1860 X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx)
1865 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx)
1870 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx)
1873 X509 *x;
1874 STACK_OF(X509) *chain;
1884 X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx)
1899 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *x)
1904 void X509_STORE_CTX_set_chain(X509_STORE_CTX *ctx, STACK_OF(X509) *sk)
2001 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,
2002 STACK_OF(X509) *chain)
2007 ctx->cert=x509;
2132 void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk)
2213 IMPLEMENT_STACK_OF(X509)
2214 IMPLEMENT_ASN1_SET_OF(X509)