EVP_PKEY_CTX_get0_libctx.pod 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. =pod
  2. =head1 NAME
  3. EVP_PKEY_CTX_get0_libctx,
  4. EVP_PKEY_CTX_get0_propq
  5. - functions for getting OSSL_LIB_CTX and property query data from an EVP_PKEY_CTX
  6. =head1 SYNOPSIS
  7. #include <openssl/evp.h>
  8. OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx);
  9. const char *EVP_PKEY_CTX_get0_propq(EVP_PKEY_CTX *ctx);
  10. =head1 DESCRIPTION
  11. The EVP_PKEY_CTX_get0_libctx() and EVP_PKEY_CTX_get0_propq() functions obtain
  12. the OSSL_LIB_CTX and property query string values respectively that were
  13. associated with the EVP_PKEY_CTX when it was constructed.
  14. =head1 RETURN VALUES
  15. EVP_PKEY_CTX_get0_libctx() and EVP_PKEY_CTX_get0_propq() functions return the
  16. OSSL_LIB_CTX and property query string associated with the EVP_PKEY_CTX or NULL
  17. if they are not set. The returned values should not be freed by the caller.
  18. =head1 SEE ALSO
  19. L<EVP_PKEY_CTX_new(3)>
  20. =head1 HISTORY
  21. All functions were added in OpenSSL 3.0.
  22. =head1 COPYRIGHT
  23. Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
  24. Licensed under the Apache License 2.0 (the "License"). You may not use
  25. this file except in compliance with the License. You can obtain a copy
  26. in the file LICENSE in the source distribution or at
  27. L<https://www.openssl.org/source/license.html>.
  28. =cut