• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/x509/

Lines Matching refs:ctx

141 	int (*new_item)(X509_LOOKUP *ctx);
142 void (*free)(X509_LOOKUP *ctx);
143 int (*init)(X509_LOOKUP *ctx);
144 int (*shutdown)(X509_LOOKUP *ctx);
145 int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl,
147 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
149 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
151 int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type,
154 int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len,
178 int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate */
179 int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
180 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
181 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
182 int (*check_revocation)(X509_STORE_CTX *ctx); /* Check revocation status of chain */
183 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
184 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
185 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
186 int (*cleanup)(X509_STORE_CTX *ctx);
193 #define X509_STORE_set_depth(ctx,d) ((ctx)->depth=(d))
195 #define X509_STORE_set_verify_cb_func(ctx,func) ((ctx)->verify_cb=(func))
196 #define X509_STORE_set_verify_func(ctx,func) ((ctx)->verify=(func))
214 X509_STORE *ctx;
227 int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate */
228 int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
229 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
230 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
231 int (*check_revocation)(X509_STORE_CTX *ctx); /* Check revocation status of chain */
232 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
233 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
234 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
235 int (*cleanup)(X509_STORE_CTX *ctx);
253 #define X509_STORE_CTX_set_depth(ctx,d) ((ctx)->depth=(d))
255 #define X509_STORE_CTX_set_app_data(ctx,data) \
256 X509_STORE_CTX_set_ex_data(ctx,0,data)
257 #define X509_STORE_CTX_get_app_data(ctx) \
258 X509_STORE_CTX_get_ex_data(ctx,0)
338 void X509_STORE_set_flags(X509_STORE *ctx, long flags);
339 int X509_STORE_set_purpose(X509_STORE *ctx, int purpose);
340 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
344 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
346 void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
347 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store,
349 void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
350 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
357 int X509_STORE_add_cert(X509_STORE *ctx, X509 *x);
358 int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
363 int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc,
367 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type);
368 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type);
369 int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type);
374 void X509_LOOKUP_free(X509_LOOKUP *ctx);
375 int X509_LOOKUP_init(X509_LOOKUP *ctx);
376 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
378 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name,
380 int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, int type,
382 int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, int type, char *str,
384 int X509_LOOKUP_shutdown(X509_LOOKUP *ctx);
387 int X509_STORE_load_locations (X509_STORE *ctx,
389 int X509_STORE_set_default_paths(X509_STORE *ctx);
394 int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx,int idx,void *data);
395 void * X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx,int idx);
396 int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx);
397 void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx,int s);
398 int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx);
399 X509 * X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);
400 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx);
401 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx);
404 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose);
405 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
406 int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose,
408 void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, long flags);
409 void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, long flags, time_t t);
410 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,