Home | History | Annotate | Download | only in openssl

Lines Matching refs:ctx

144 	int (*new_item)(X509_LOOKUP *ctx);
145 void (*free)(X509_LOOKUP *ctx);
146 int (*init)(X509_LOOKUP *ctx);
147 int (*shutdown)(X509_LOOKUP *ctx);
148 int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl,
150 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
152 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
154 int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type,
157 int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len,
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);
213 #define X509_STORE_set_verify_cb_func(ctx,func) ((ctx)->verify_cb=(func))
214 #define X509_STORE_set_verify_func(ctx,func) ((ctx)->verify=(func))
232 X509_STORE *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);
280 void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
282 #define X509_STORE_CTX_set_app_data(ctx,data) \
283 X509_STORE_CTX_set_ex_data(ctx,0,data)
284 #define X509_STORE_CTX_get_app_data(ctx) \
285 X509_STORE_CTX_get_ex_data(ctx,0)
417 int X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags);
418 int X509_STORE_set_purpose(X509_STORE *ctx, int purpose);
419 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
420 int X509_STORE_set1_param(X509_STORE *ctx, X509_VERIFY_PARAM *pm);
422 void X509_STORE_set_verify_cb(X509_STORE *ctx,
427 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);
440 int X509_STORE_add_cert(X509_STORE *ctx, X509 *x);
441 int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
446 int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc,
450 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type);
451 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type);
452 int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type);
457 void X509_LOOKUP_free(X509_LOOKUP *ctx);
458 int X509_LOOKUP_init(X509_LOOKUP *ctx);
459 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
461 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name,
463 int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, int type,
465 int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, int type, char *str,
467 int X509_LOOKUP_shutdown(X509_LOOKUP *ctx);
470 int X509_STORE_load_locations (X509_STORE *ctx,
472 int X509_STORE_set_default_paths(X509_STORE *ctx);
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);
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,
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);