• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/OpenSSL098-52/src/crypto/x509/

Lines Matching refs:ctx

142 	int (*new_item)(X509_LOOKUP *ctx);
143 void (*free)(X509_LOOKUP *ctx);
144 int (*init)(X509_LOOKUP *ctx);
145 int (*shutdown)(X509_LOOKUP *ctx);
146 int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl,
148 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
150 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
152 int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type,
155 int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len,
193 int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate */
194 int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
195 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
196 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
197 int (*check_revocation)(X509_STORE_CTX *ctx); /* Check revocation status of chain */
198 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
199 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
200 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
201 int (*cleanup)(X509_STORE_CTX *ctx);
209 #define X509_STORE_set_verify_cb_func(ctx,func) ((ctx)->verify_cb=(func))
210 #define X509_STORE_set_verify_func(ctx,func) ((ctx)->verify=(func))
228 X509_STORE *ctx;
240 int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate */
241 int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
242 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
243 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
244 int (*check_revocation)(X509_STORE_CTX *ctx); /* Check revocation status of chain */
245 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
246 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
247 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
248 int (*check_policy)(X509_STORE_CTX *ctx);
249 int (*cleanup)(X509_STORE_CTX *ctx);
269 void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
271 #define X509_STORE_CTX_set_app_data(ctx,data) \
272 X509_STORE_CTX_set_ex_data(ctx,0,data)
273 #define X509_STORE_CTX_get_app_data(ctx) \
274 X509_STORE_CTX_get_ex_data(ctx,0)
390 int X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags);
391 int X509_STORE_set_purpose(X509_STORE *ctx, int purpose);
392 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
393 int X509_STORE_set1_param(X509_STORE *ctx, X509_VERIFY_PARAM *pm);
397 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
399 void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
400 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store,
402 void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
403 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
410 int X509_STORE_add_cert(X509_STORE *ctx, X509 *x);
411 int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
416 int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc,
420 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type);
421 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type);
422 int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type);
427 void X509_LOOKUP_free(X509_LOOKUP *ctx);
428 int X509_LOOKUP_init(X509_LOOKUP *ctx);
429 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
431 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name,
433 int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, int type,
435 int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, int type, char *str,
437 int X509_LOOKUP_shutdown(X509_LOOKUP *ctx);
440 int X509_STORE_load_locations (X509_STORE *ctx,
442 int X509_STORE_set_default_paths(X509_STORE *ctx);
447 int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx,int idx,void *data);
448 void * X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx,int idx);
449 int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx);
450 void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx,int s);
451 int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx);
452 X509 * X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);
453 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx);
454 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx);
458 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose);
459 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
460 int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose,
462 void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, unsigned long flags);
463 void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags,
465 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
468 X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx);
469 int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx);
471 X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx);
472 void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param);
473 int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name);