Lines Matching refs:context

9 - OpenSSL library context
30 B<OSSL_LIB_CTX> is an internal OpenSSL library context type.
32 a default context with functions that take an B<OSSL_LIB_CTX>
35 When a non default library context is in use care should be taken with
40 OSSL_LIB_CTX_new() creates a new OpenSSL library context.
42 OSSL_LIB_CTX_new_from_dispatch() creates a new OpenSSL library context
47 L<BIO_new_from_core_bio(3)>, require the library context to be created in this
52 new library context to the application library context. The new library context
53 is a full library context in its own right, but will have all the same providers
54 available to it that are available in the application library context (without
56 application library context then this will be automatically mirrored in the
57 child library context.
59 In addition providers that are not loaded in the parent library context can be
60 explicitly loaded into the child library context independently from the parent
61 library context. Providers loaded independently in this way will not be mirrored
62 in the parent library context and will not be affected if the parent library
63 context subsequently loads the same provider.
66 context as required. If the provider already exists due to it being mirrored
67 from the parent library context then it will remain available and its reference
71 the child library context that did not have an earlier L<OSSL_PROVIDER_load(3)>
72 call for that provider in that child library context.
74 In addition to providers, a child library context will also mirror the default
76 context. If L<EVP_set_default_properties(3)> is called directly on a child
77 library context then the new properties will override anything from the parent
78 library context and mirroring of the properties will stop.
82 available in the application's library context and therefore will similarly not
83 yet be available in the newly constructed child library context. As soon as the
85 application's library context and will be similarly mirrored in the child
86 library context.
89 This can be used to associate a library context with providers that are loaded
94 default OpenSSL library context. If the argument is NULL, nothing is done.
97 the global default library context.
99 OSSL_LIB_CTX_set0_default() sets the default OpenSSL library context to be
100 I<ctx> in the current thread. The previous default library context is
102 default library context with a subsequent call of this function. If I<ctx> is
103 NULL then no change is made to the default library context, but a pointer to
104 the current library context is still returned. On a successful call of this
106 context.
108 Care should be taken when changing the default library context and starting
109 async jobs (see L<ASYNC_start_job(3)>), as the default library context when
111 matter how the calling thread makes further default library context changes
113 library context that was the default at the start of the async job before
117 on the index. The index argument refers to a context member which is
120 If ctx is NULL then the function operates on the default library context.
127 OSSL_LIB_CTX_set0_default() return a library context pointer on success, or NULL