]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/EVP_PKEY_CTX_get0_libctx.pod
Update copyright year
[thirdparty/openssl.git] / doc / man3 / EVP_PKEY_CTX_get0_libctx.pod
CommitLineData
29000e43
MC
1=pod
2
3=head1 NAME
4
5EVP_PKEY_CTX_get0_libctx,
ad0a2c01
RL
6EVP_PKEY_CTX_get0_propq,
7EVP_PKEY_CTX_get0_provider
8- functions for getting diverse information from an EVP_PKEY_CTX
29000e43
MC
9
10=head1 SYNOPSIS
11
12 #include <openssl/evp.h>
13
b4250010 14 OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx);
ad0a2c01
RL
15 const char *EVP_PKEY_CTX_get0_propq(const EVP_PKEY_CTX *ctx);
16 const OSSL_PROVIDER *EVP_PKEY_CTX_get0_provider(const EVP_PKEY_CTX *ctx);
29000e43
MC
17
18=head1 DESCRIPTION
19
ad0a2c01
RL
20EVP_PKEY_CTX_get0_libctx() and EVP_PKEY_CTX_get0_propq() obtain the
21OSSL_LIB_CTX and property query string values respectively that were
29000e43
MC
22associated with the EVP_PKEY_CTX when it was constructed.
23
ad0a2c01
RL
24EVP_PKEY_CTX_get0_provider() returns the provider associated with the
25ongoing B<EVP_PKEY_CTX> operation. If the operation is performed by
26en B<ENGINE>, this function returns NULL.
27
29000e43
MC
28=head1 RETURN VALUES
29
30EVP_PKEY_CTX_get0_libctx() and EVP_PKEY_CTX_get0_propq() functions return the
b4250010 31OSSL_LIB_CTX and property query string associated with the EVP_PKEY_CTX or NULL
29000e43
MC
32if they are not set. The returned values should not be freed by the caller.
33
ad0a2c01
RL
34EVP_PKEY_CTX_get0_provider() returns a provider if an operation performed by
35a provider is ongoing, otherwise NULL.
36
29000e43
MC
37=head1 SEE ALSO
38
39L<EVP_PKEY_CTX_new(3)>
40
41=head1 HISTORY
42
43All functions were added in OpenSSL 3.0.
44
45=head1 COPYRIGHT
46
54b40531 47Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
29000e43
MC
48
49Licensed under the Apache License 2.0 (the "License"). You may not use
50this file except in compliance with the License. You can obtain a copy
51in the file LICENSE in the source distribution or at
52L<https://www.openssl.org/source/license.html>.
53
54=cut