5 EVP_PKEY_CTX_get0_libctx,
6 EVP_PKEY_CTX_get0_propq
7 - functions for getting OSSL_LIB_CTX and property query data from an EVP_PKEY_CTX
11 #include <openssl/evp.h>
13 OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx);
14 const char *EVP_PKEY_CTX_get0_propq(EVP_PKEY_CTX *ctx);
18 The EVP_PKEY_CTX_get0_libctx() and EVP_PKEY_CTX_get0_propq() functions obtain
19 the OSSL_LIB_CTX and property query string values respectively that were
20 associated with the EVP_PKEY_CTX when it was constructed.
24 EVP_PKEY_CTX_get0_libctx() and EVP_PKEY_CTX_get0_propq() functions return the
25 OSSL_LIB_CTX and property query string associated with the EVP_PKEY_CTX or NULL
26 if they are not set. The returned values should not be freed by the caller.
30 L<EVP_PKEY_CTX_new(3)>
34 All functions were added in OpenSSL 3.0.
38 Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
40 Licensed under the Apache License 2.0 (the "License"). You may not use
41 this file except in compliance with the License. You can obtain a copy
42 in the file LICENSE in the source distribution or at
43 L<https://www.openssl.org/source/license.html>.