Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/node/openssl/provider.h
$ cat -n /usr/include/node/openssl/provider.h 1 /* 2 * Copyright 2019-2025 The OpenSSL Project Authors. All Rights Reserved. 3 * 4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 7 * https://www.openssl.org/source/license.html 8 */ 9 10 #ifndef OPENSSL_PROVIDER_H 11 # define OPENSSL_PROVIDER_H 12 # pragma once 13 14 # include
15 16 # ifdef __cplusplus 17 extern "C" { 18 # endif 19 20 /* Set and Get a library context search path */ 21 int OSSL_PROVIDER_set_default_search_path(OSSL_LIB_CTX *, const char *path); 22 const char *OSSL_PROVIDER_get0_default_search_path(OSSL_LIB_CTX *libctx); 23 24 /* Load and unload a provider */ 25 OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *, const char *name); 26 OSSL_PROVIDER *OSSL_PROVIDER_load_ex(OSSL_LIB_CTX *, const char *name, 27 OSSL_PARAM *params); 28 OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *, const char *name, 29 int retain_fallbacks); 30 OSSL_PROVIDER *OSSL_PROVIDER_try_load_ex(OSSL_LIB_CTX *, const char *name, 31 OSSL_PARAM *params, 32 int retain_fallbacks); 33 int OSSL_PROVIDER_unload(OSSL_PROVIDER *prov); 34 int OSSL_PROVIDER_available(OSSL_LIB_CTX *, const char *name); 35 int OSSL_PROVIDER_do_all(OSSL_LIB_CTX *ctx, 36 int (*cb)(OSSL_PROVIDER *provider, void *cbdata), 37 void *cbdata); 38 39 const OSSL_PARAM *OSSL_PROVIDER_gettable_params(const OSSL_PROVIDER *prov); 40 int OSSL_PROVIDER_get_params(const OSSL_PROVIDER *prov, OSSL_PARAM params[]); 41 int OSSL_PROVIDER_self_test(const OSSL_PROVIDER *prov); 42 int OSSL_PROVIDER_get_capabilities(const OSSL_PROVIDER *prov, 43 const char *capability, 44 OSSL_CALLBACK *cb, 45 void *arg); 46 47 /*- 48 * Provider configuration parameters are normally set in the configuration file, 49 * but can also be set early in the main program before a provider is in use by 50 * multiple threads. 51 * 52 * Only UTF8-string values are supported. 53 */ 54 int OSSL_PROVIDER_add_conf_parameter(OSSL_PROVIDER *prov, const char *name, 55 const char *value); 56 /* 57 * Retrieves any of the requested configuration parameters for the given 58 * provider that were set in the configuration file or via the above 59 * OSSL_PROVIDER_add_parameter() function. 60 * 61 * The |params| array elements MUST have type OSSL_PARAM_UTF8_PTR, values are 62 * returned by reference, not as copies. 63 */ 64 int OSSL_PROVIDER_get_conf_parameters(const OSSL_PROVIDER *prov, 65 OSSL_PARAM params[]); 66 /* 67 * Parse a provider configuration parameter as a boolean value, 68 * or return a default value if unable to retrieve the parameter. 69 * Values like "1", "yes", "true", ... are true (nonzero). 70 * Values like "0", "no", "false", ... are false (zero). 71 */ 72 int OSSL_PROVIDER_conf_get_bool(const OSSL_PROVIDER *prov, 73 const char *name, int defval); 74 75 const OSSL_ALGORITHM *OSSL_PROVIDER_query_operation(const OSSL_PROVIDER *prov, 76 int operation_id, 77 int *no_cache); 78 void OSSL_PROVIDER_unquery_operation(const OSSL_PROVIDER *prov, 79 int operation_id, const OSSL_ALGORITHM *algs); 80 void *OSSL_PROVIDER_get0_provider_ctx(const OSSL_PROVIDER *prov); 81 const OSSL_DISPATCH *OSSL_PROVIDER_get0_dispatch(const OSSL_PROVIDER *prov); 82 83 /* Add a built in providers */ 84 int OSSL_PROVIDER_add_builtin(OSSL_LIB_CTX *, const char *name, 85 OSSL_provider_init_fn *init_fn); 86 87 /* Information */ 88 const char *OSSL_PROVIDER_get0_name(const OSSL_PROVIDER *prov); 89 90 # ifdef __cplusplus 91 } 92 # endif 93 94 #endif
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2026 MyWebUniversity.com ™