Lines Matching refs:X509_STORE_CTX
195 int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate */
196 int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
197 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
198 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
199 int (*check_revocation)(X509_STORE_CTX *ctx); /* Check revocation status of chain */
200 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
201 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
202 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
203 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
204 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
205 int (*cleanup)(X509_STORE_CTX *ctx);
244 int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate */
245 int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
246 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
247 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
248 int (*check_revocation)(X509_STORE_CTX *ctx); /* Check revocation status of chain */
249 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
250 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
251 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
252 int (*check_policy)(X509_STORE_CTX *ctx);
253 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
254 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
255 int (*cleanup)(X509_STORE_CTX *ctx);
275 X509_STORE_CTX *parent; /* For CRL path validation: parent context */
280 void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
415 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
416 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
423 int (*verify_cb)(int, X509_STORE_CTX *));
425 X509_STORE_CTX *X509_STORE_CTX_new(void);
427 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
429 void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
430 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store,
432 void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
433 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
443 int X509_STORE_get_by_subject(X509_STORE_CTX *vs,int type,X509_NAME *name,
477 int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx,int idx,void *data);
478 void * X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx,int idx);
479 int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx);
480 void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx,int s);
481 int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx);
482 X509 * X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);
483 X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx);
484 X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx);
485 X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(X509_STORE_CTX *ctx);
486 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx);
487 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx);
488 void X509_STORE_CTX_set_cert(X509_STORE_CTX *c,X509 *x);
489 void X509_STORE_CTX_set_chain(X509_STORE_CTX *c,STACK_OF(X509) *sk);
490 void X509_STORE_CTX_set0_crls(X509_STORE_CTX *c,STACK_OF(X509_CRL) *sk);
491 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose);
492 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
493 int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose,
495 void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, unsigned long flags);
496 void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags,
498 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
499 int (*verify_cb)(int, X509_STORE_CTX *));
501 X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx);
502 int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx);
504 X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx);
505 void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param);
506 int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name);