Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 227) sorted by relevance

12345678910

/openssl-master/crypto/x509/
A Dx509_meth.c24 if (method != NULL) { in X509_LOOKUP_meth_new()
32 return method; in X509_LOOKUP_meth_new()
35 OPENSSL_free(method); in X509_LOOKUP_meth_new()
41 if (method != NULL) in X509_LOOKUP_meth_free()
43 OPENSSL_free(method); in X509_LOOKUP_meth_free()
63 method->free = free_fn; in X509_LOOKUP_meth_set_free()
70 return method->free; in X509_LOOKUP_meth_get_free()
76 method->init = init; in X509_LOOKUP_meth_set_init()
83 return method->init; in X509_LOOKUP_meth_get_init()
104 method->ctrl = ctrl; in X509_LOOKUP_meth_set_ctrl()
[all …]
A Dv3_prn.c78 const X509V3_EXT_METHOD *method; in X509V3_EXT_print() local
86 if ((method = X509V3_EXT_get(ext)) == NULL) in X509V3_EXT_print()
88 if (method->it) in X509V3_EXT_print()
96 if (method->i2s) { in X509V3_EXT_print()
97 if ((value = method->i2s(method, ext_str)) == NULL) { in X509V3_EXT_print()
116 } else if (method->i2v) { in X509V3_EXT_print()
117 if ((nval = method->i2v(method, ext_str, NULL)) == NULL) { in X509V3_EXT_print()
123 } else if (method->i2r) { in X509V3_EXT_print()
124 if (!method->i2r(method, ext_str, out, indent)) in X509V3_EXT_print()
132 if (method->it) in X509V3_EXT_print()
[all …]
A Dv3_info.c19 *method, AUTHORITY_INFO_ACCESS
23 *method,
49 ASN1_SIMPLE(ACCESS_DESCRIPTION, method, ASN1_OBJECT),
62 X509V3_EXT_METHOD *method, AUTHORITY_INFO_ACCESS *ainfo,
75 tmp = i2v_GENERAL_NAME(method, desc->location, tret);
80 i2t_ASN1_OBJECT(objtmp, sizeof(objtmp), desc->method);
101 *method, in v2i_AUTHORITY_INFO_ACCESS() argument
131 if (!v2i_GENERAL_NAME_ex(acc->location, method, ctx, &ctmp, 0)) in v2i_AUTHORITY_INFO_ACCESS()
137 acc->method = OBJ_txt2obj(objtmp, 0); in v2i_AUTHORITY_INFO_ACCESS()
138 if (!acc->method) { in v2i_AUTHORITY_INFO_ACCESS()
[all …]
A Dx509_lu.c27 ret->method = method; in X509_LOOKUP_new()
28 if (method->new_item != NULL && method->new_item(ret) == 0) { in X509_LOOKUP_new()
39 if ((ctx->method != NULL) && (ctx->method->free != NULL)) in X509_LOOKUP_free()
56 if (ctx->method == NULL) in X509_LOOKUP_init()
66 if (ctx->method == NULL) in X509_LOOKUP_shutdown()
77 if (ctx->method == NULL) in X509_LOOKUP_ctrl_ex()
97 || ctx->method == NULL in X509_LOOKUP_by_subject_ex()
119 if ((ctx->method == NULL) || (ctx->method->get_by_issuer_serial == NULL)) in X509_LOOKUP_by_issuer_serial()
128 if ((ctx->method == NULL) || (ctx->method->get_by_fingerprint == NULL)) in X509_LOOKUP_by_fingerprint()
136 if ((ctx->method == NULL) || (ctx->method->get_by_alias == NULL)) in X509_LOOKUP_by_alias()
[all …]
A Dv3_conf.c82 const X509V3_EXT_METHOD *method; in do_ext_nconf() local
96 if (method->v2i) { in do_ext_nconf()
108 ext_struc = method->v2i(method, ctx, nval); in do_ext_nconf()
113 } else if (method->s2i) { in do_ext_nconf()
114 if ((ext_struc = method->s2i(method, ctx, value)) == NULL) in do_ext_nconf()
116 } else if (method->r2i) { in do_ext_nconf()
121 if ((ext_struc = method->r2i(method, ctx, value)) == NULL) in do_ext_nconf()
130 if (method->it) in do_ext_nconf()
133 method->ext_free(ext_struc); in do_ext_nconf()
147 if (method->it) { in do_ext_i2d()
[all …]
A Dv3_skid.c16 static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method,
27 char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, in i2s_ASN1_OCTET_STRING() argument
33 ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, in s2i_ASN1_OCTET_STRING() argument
91 static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method, in s2i_skey_id() argument
98 return s2i_ASN1_OCTET_STRING(method, ctx /* not used */, str); in s2i_skey_id()
/openssl-master/crypto/property/
A Dproperty.c34 void *method; member
42 METHOD method; member
50 METHOD method; member
147 return (*method->up_ref)(method->method); in ossl_method_up_ref()
152 (*method->free)(method->method); in ossl_method_free()
278 impl->method.method = method; in ossl_method_store_add()
360 if (impl->method.method == method) { in ossl_method_store_remove()
375 fn(alg->nid, impl->method.method, fnarg); in alg_do_one()
478 *method = best_impl->method.method; in ossl_method_store_fetch()
614 *method = r->method.method; in ossl_method_store_cache_get()
[all …]
/openssl-master/crypto/ui/
A Dui_lib.c39 if (method == NULL) in UI_new_method()
41 if (method == NULL) in UI_new_method()
42 method = UI_null(); in UI_new_method()
43 ret->meth = method; in UI_new_method()
705 if (method != NULL) in UI_method_get_opener()
712 if (method != NULL) in UI_method_get_writer()
719 if (method != NULL) in UI_method_get_flusher()
726 if (method != NULL) in UI_method_get_reader()
733 if (method != NULL) in UI_method_get_closer()
741 if (method != NULL) in UI_method_get_prompt_constructor()
[all …]
/openssl-master/crypto/store/
A Dstore_meth.c135 void *method = NULL; in get_loader_from_store() local
150 return method; in get_loader_from_store()
254 void *method = NULL; in construct_loader() local
264 if (method == NULL) in construct_loader()
267 return method; in construct_loader()
283 void *method = NULL; in inner_loader_fetch() local
365 return method; in inner_loader_fetch()
373 void *method; in OSSL_STORE_LOADER_fetch() local
379 return method; in OSSL_STORE_LOADER_fetch()
387 void *method; in ossl_store_loader_fetch_by_number() local
[all …]
/openssl-master/crypto/evp/
A Devp_fetch.c122 void *method = NULL; in get_evp_method_from_store() local
153 return method; in get_evp_method_from_store()
212 void *method; in construct_evp_method() local
227 return method; in construct_evp_method()
356 return method; in inner_evp_generic_fetch()
368 void *method; in evp_generic_fetch() local
376 return method; in evp_generic_fetch()
395 void *method; in evp_generic_fetch_by_number() local
403 return method; in evp_generic_fetch_by_number()
421 void *method; in evp_generic_fetch_from_prov() local
[all …]
/openssl-master/crypto/
A Dcore_fetch.c68 void *method = NULL; in ossl_method_construct_this() local
70 if ((method = data->mcm->construct(algo, provider, data->mcm_data)) in ossl_method_construct_this()
87 data->mcm->put(NULL, method, provider, algo->algorithm_names, in ossl_method_construct_this()
99 data->mcm->put(data->store, method, provider, algo->algorithm_names, in ossl_method_construct_this()
104 data->mcm->destruct(method, data->mcm_data); in ossl_method_construct_this()
111 void *method = NULL; in ossl_method_construct() local
113 if ((method = mcm->get(NULL, (const OSSL_PROVIDER **)provider_rw, in ossl_method_construct()
130 method = mcm->get(cbdata.store, (const OSSL_PROVIDER **)provider_rw, in ossl_method_construct()
134 if (method == NULL) in ossl_method_construct()
135 method = mcm->get(NULL, (const OSSL_PROVIDER **)provider_rw, mcm_data); in ossl_method_construct()
[all …]
/openssl-master/crypto/ocsp/
A Dv3_ocsp.c23 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *nonce,
25 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *nonce,
27 static int i2r_object(const X509V3_EXT_METHOD *method, void *obj, BIO *out,
34 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce,
37 static int i2r_ocsp_nocheck(const X509V3_EXT_METHOD *method,
39 static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method,
41 static int i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in,
143 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff, in i2r_ocsp_acutoff() argument
215 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce, in i2r_ocsp_nonce() argument
233 static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method, in s2i_ocsp_nocheck() argument
[all …]
/openssl-master/doc/internal/man3/
A Dossl_method_construct.pod6 - generic method constructor
15 /* Get an already existing method from a store */
17 /* Store a method in a store */
18 int (*put)(void *store, void *method, const OSSL_PROVIDER *prov,
20 /* Construct a new method */
23 /* Destruct a method */
24 void (*destruct)(void *method, void *data);
54 ossl_method_construct() creates a method by asking all available
60 useful in the case a method must be found in that particular
86 Look up an already existing method from a store by name.
[all …]
A DOSSL_METHOD_STORE.pod10 - implementation method store and query
23 int nid, const char *properties, void *method,
27 int nid, const void *method);
30 void **method, const OSSL_PROVIDER **prov_rw);
62 ossl_method_store_new() create a new empty method store using the supplied
70 has a method from the same provider with the same I<nid> and I<properties>.
72 reference count of the method.
80 ossl_method_store_fetch() queries I<store> for a method identified by I<nid>
92 for a method identified by I<nid> that matches the property query
96 The result, if any, is returned in I<method>.
[all …]
A Devp_keymgmt_newdata.pod42 evp_keymgmt_newdata() calls the method's new() function.
44 evp_keymgmt_freedata() calls the method's free() function.
50 evp_keymgmt_get_params() calls the method's get_params() function.
52 evp_keymgmt_has() calls the method's has() function.
54 evp_keymgmt_validate() calls the method's validate() function.
56 evp_keymgmt_import() calls the method's import() function.
58 evp_keymgmt_import_types() calls the method's import_types() function.
60 evp_keymgmt_export() calls the method's export() function.
62 evp_keymgmt_export_types() calls the method's export_types() function.
/openssl-master/doc/man3/
A DUI_create_method.pod14 interface method creation and destruction
25 int UI_method_set_writer(UI_METHOD *method,
28 int UI_method_set_reader(UI_METHOD *method,
31 int UI_method_set_data_duplicator(UI_METHOD *method,
34 int UI_method_set_prompt_constructor(UI_METHOD *method,
41 int (*UI_method_get_opener(const UI_METHOD *method)) (UI *);
104 This depends on the needs of the method.
109 This is how the UI_OpenSSL() method does it.
173 return the different method functions.
187 return 0 on success, -1 if the given B<method> is NULL.
[all …]
A DX509_LOOKUP_meth_new.pod30 void X509_LOOKUP_meth_free(X509_LOOKUP_METHOD *method);
32 int X509_LOOKUP_meth_set_new_item(X509_LOOKUP_METHOD *method,
37 int X509_LOOKUP_meth_set_free(X509_LOOKUP_METHOD *method,
42 int X509_LOOKUP_meth_set_init(X509_LOOKUP_METHOD *method,
47 int X509_LOOKUP_meth_set_shutdown(X509_LOOKUP_METHOD *method,
54 int X509_LOOKUP_meth_set_ctrl(X509_LOOKUP_METHOD *method,
65 const X509_LOOKUP_METHOD *method);
75 const X509_LOOKUP_METHOD *method);
85 const X509_LOOKUP_METHOD *method);
95 const X509_LOOKUP_METHOD *method);
[all …]
A DSSL_CTX_set_ssl_version.pod6 - choose a new TLS/SSL method
12 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *method);
13 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method);
18 SSL_CTX_set_ssl_version() sets a new default TLS/SSL B<method> for SSL objects
25 SSL_set_ssl_method() sets a new TLS/SSL B<method> for a particular B<ssl>
28 SSL_get_ssl_method() returns a function pointer to the TLS/SSL method
33 The available B<method> choices are described in
37 an SSL object, the method of the SSL object is reset to the method currently
A Ds2i_ASN1_IA5STRING.pod21 char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
22 ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
24 char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *method, const ASN1_INTEGER *a);
25 ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *method, const char *value);
26 char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
28 ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
30 char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *method, const ASN1_ENUMERATED *a);
31 char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *method,
34 char *i2s_ASN1_UTF8STRING(X509V3_EXT_METHOD *method,
36 ASN1_UTF8STRING *s2i_ASN1_UTF8STRING(X509V3_EXT_METHOD *method,
A DSSL_set_connect_state.pod29 it was either assigned a dedicated client method, a dedicated server
30 method, or a generic method, that can be used for both client and
31 server connections. (The method might have been changed with
37 be clear from the method chosen, whether client or server mode was
49 the result depends on what method was used when SSL_CTX was created with
50 L<SSL_CTX_new(3)>. If a generic method or a dedicated server method was
/openssl-master/crypto/bio/
A Dbio_cb.c41 BIO_snprintf(p, left, "Free - %s\n", bio->method->name); in BIO_debug_callback_ex()
44 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback_ex()
47 bio->method->name, bio->num); in BIO_debug_callback_ex()
50 bio->num, len, bio->method->name); in BIO_debug_callback_ex()
53 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback_ex()
56 bio->method->name, bio->num); in BIO_debug_callback_ex()
59 bio->num, len, bio->method->name); in BIO_debug_callback_ex()
62 BIO_snprintf(p, left, "puts() - %s\n", bio->method->name); in BIO_debug_callback_ex()
66 bio->method->name); in BIO_debug_callback_ex()
70 bio->method->name); in BIO_debug_callback_ex()
A Dbio_lib.c90 bio->method = method; in BIO_new_ex()
104 if (method->create != NULL && !method->create(bio)) { in BIO_new_ex()
146 if ((a->method != NULL) && (a->method->destroy != NULL)) in BIO_free()
254 return b->method->name; in BIO_method_name()
259 return b->method->type; in BIO_method_type()
276 if (b->method == NULL || b->method->bread == NULL) { in bio_read_intern()
347 if (b->method == NULL || b->method->bwrite == NULL) { in bio_write_intern()
409 if (b->method == NULL || b->method->bputs == NULL) { in BIO_puts()
458 if (b->method == NULL || b->method->bgets == NULL) { in BIO_gets()
568 if (b->method == NULL || b->method->ctrl == NULL) { in BIO_ctrl()
[all …]
/openssl-master/crypto/encode_decode/
A Ddecoder_meth.c132 void *method = NULL; in get_decoder_from_store() local
160 return method; in get_decoder_from_store()
303 void *method = NULL; in construct_decoder() local
313 if (method == NULL) in construct_decoder()
316 return method; in construct_decoder()
342 void *method = NULL; in inner_ossl_decoder_fetch() local
418 return method; in inner_ossl_decoder_fetch()
425 void *method; in OSSL_DECODER_fetch() local
431 return method; in OSSL_DECODER_fetch()
438 void *method; in ossl_decoder_fetch_by_number() local
[all …]
A Dencoder_meth.c132 void *method = NULL; in get_encoder_from_store() local
160 return method; in get_encoder_from_store()
313 void *method = NULL; in construct_encoder() local
323 if (method == NULL) in construct_encoder()
326 return method; in construct_encoder()
352 void *method = NULL; in inner_ossl_encoder_fetch() local
427 return method; in inner_ossl_encoder_fetch()
434 void *method; in OSSL_ENCODER_fetch() local
440 return method; in OSSL_ENCODER_fetch()
447 void *method; in ossl_encoder_fetch_by_number() local
[all …]
/openssl-master/test/ssl-tests/
A Dprotocol_version.pm114 my $method = shift;
117 my $dtls = $method eq "DTLS";
119 undef $method if !$dtls;
172 "Method" => $method,
222 my $method = shift;
225 my $dtls = $method eq "DTLS";
227 undef $method if !$dtls;
285 "Method" => $method,
309 "Method" => $method,

Completed in 60 milliseconds

12345678910