Lines Matching refs:library

8 - OpenSSL library context
28 B<OSSL_LIB_CTX> is an internal OpenSSL library context type.
33 When a non default library context is in use care should be taken with
38 OSSL_LIB_CTX_new() creates a new OpenSSL library context.
40 OSSL_LIB_CTX_new_from_dispatch() creates a new OpenSSL library context
45 L<BIO_new_from_core_bio(3)>, require the library context to be created in this
50 new library context to the application library context. The new library context
51 is a full library context in its own right, but will have all the same providers
52 available to it that are available in the application library context (without
54 application library context then this will be automatically mirrored in the
55 child library context.
57 In addition providers that are not loaded in the parent library context can be
58 explicitly loaded into the child library context independently from the parent
59 library context. Providers loaded independently in this way will not be mirrored
60 in the parent library context and will not be affected if the parent library
63 A provider may call the function L<OSSL_PROVIDER_load(3)> with the child library
65 from the parent library context then it will remain available and its reference
69 the child library context that did not have an earlier L<OSSL_PROVIDER_load(3)>
70 call for that provider in that child library context.
72 In addition to providers, a child library context will also mirror the default
73 properties (set via L<EVP_set_default_properties(3)>) from the parent library
75 library context then the new properties will override anything from the parent
76 library context and mirroring of the properties will stop.
80 available in the application's library context and therefore will similarly not
81 yet be available in the newly constructed child library context. As soon as the
83 application's library context and will be similarly mirrored in the child
84 library context.
87 This can be used to associate a library context with providers that are loaded
91 default OpenSSL library context. If the argument is NULL, nothing is done.
94 the global default library context.
96 OSSL_LIB_CTX_set0_default() sets the default OpenSSL library context to be
97 I<ctx> in the current thread. The previous default library context is
99 default library context with a subsequent call of this function. If I<ctx> is
100 NULL then no change is made to the default library context, but a pointer to
101 the current library context is still returned. On a successful call of this
102 function the returned value will always be a concrete (non NULL) library
105 Care should be taken when changing the default library context and starting
106 async jobs (see L<ASYNC_start_job(3)>), as the default library context when
108 matter how the calling thread makes further default library context changes
110 library context that was the default at the start of the async job before
116 OSSL_LIB_CTX_set0_default() return a library context pointer on success, or NULL