Lines Matching refs:method
65 X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method)
74 ret->method=method;
77 if ((method->new_item != NULL) && !method->new_item(ret))
88 if ( (ctx->method != NULL) &&
89 (ctx->method->free != NULL))
90 ctx->method->free(ctx);
96 if (ctx->method == NULL) return 0;
97 if (ctx->method->init != NULL)
98 return ctx->method->init(ctx);
105 if (ctx->method == NULL) return 0;
106 if (ctx->method->shutdown != NULL)
107 return ctx->method->shutdown(ctx);
115 if (ctx->method == NULL) return -1;
116 if (ctx->method->ctrl != NULL)
117 return ctx->method->ctrl(ctx,cmd,argc,argl,ret);
125 if ((ctx->method == NULL) || (ctx->method->get_by_subject == NULL))
128 return ctx->method->get_by_subject(ctx,type,name,ret);
134 if ((ctx->method == NULL) ||
135 (ctx->method->get_by_issuer_serial == NULL))
137 return ctx->method->get_by_issuer_serial(ctx,type,name,serial,ret);
143 if ((ctx->method == NULL) || (ctx->method->get_by_fingerprint == NULL))
145 return ctx->method->get_by_fingerprint(ctx,type,bytes,len,ret);
151 if ((ctx->method == NULL) || (ctx->method->get_by_alias == NULL))
153 return ctx->method->get_by_alias(ctx,type,str,len,ret);
265 if (m == lu->method)