[#DH_get0_key] = DH_get0_key :mrdocs: Borrow pointers to the public and private key BIGNUMs of a DH object (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] void DH_get0_key( xref:DH.adoc[DH] const* dh, xref:BIGNUM.adoc[BIGNUM] const** pub_key, xref:BIGNUM.adoc[BIGNUM] const** priv_key); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Parameters [cols="1,4"] |=== | Name| Description | *dh* | DH object to query. | *pub_key* | Receives an internal pointer to the public value, or NULL to skip; do not free. | *priv_key* | Receives an internal pointer to the private value, or NULL to skip; do not free. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#