manpagez: man pages & more
man EVP_PKEY_CTX_get0_provider(3)
Home | html | info | man
EVP_PKEY_CTX_GET0_LIBCTX(3ossl)     OpenSSL    EVP_PKEY_CTX_GET0_LIBCTX(3ossl)



NAME

       EVP_PKEY_CTX_get0_libctx, EVP_PKEY_CTX_get0_propq,
       EVP_PKEY_CTX_get0_provider - functions for getting diverse information
       from an EVP_PKEY_CTX


SYNOPSIS

        #include <openssl/evp.h>

        OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx);
        const char *EVP_PKEY_CTX_get0_propq(const EVP_PKEY_CTX *ctx);
        const OSSL_PROVIDER *EVP_PKEY_CTX_get0_provider(const EVP_PKEY_CTX *ctx);


DESCRIPTION

       EVP_PKEY_CTX_get0_libctx(3) and EVP_PKEY_CTX_get0_propq() obtain the
       OSSL_LIB_CTX and property query string values respectively that were
       associated with the EVP_PKEY_CTX when it was constructed.

       EVP_PKEY_CTX_get0_provider() returns the provider associated with the
       ongoing EVP_PKEY_CTX operation.  If the operation is performed by en
       ENGINE, this function returns NULL.


RETURN VALUES

       EVP_PKEY_CTX_get0_libctx(3) and EVP_PKEY_CTX_get0_propq() functions
       return the OSSL_LIB_CTX and property query string associated with the
       EVP_PKEY_CTX or NULL if they are not set. The returned values should
       not be freed by the caller.

       EVP_PKEY_CTX_get0_provider() returns a provider if an operation
       performed by a provider is ongoing, otherwise NULL.


SEE ALSO

       EVP_PKEY_CTX_new(3)


HISTORY

       All functions were added in OpenSSL 3.0.


COPYRIGHT

       Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.

       Licensed under the Apache License 2.0 (the "License").  You may not use
       this file except in compliance with the License.  You can obtain a copy
       in the file LICENSE in the source distribution or at
       <https://www.openssl.org/source/license.html>.

3.3.2                             2024-09-04   EVP_PKEY_CTX_GET0_LIBCTX(3ossl)

openssl 3.3.2 - Generated Thu Sep 12 14:15:54 CDT 2024
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.