Return the public key component of a DH object without duplicating it (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
BIGNUM const*
DH_get0_pub_key(DH const* dh);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Internal BIGNUM pointer for the public key, or NULL if unset; do not free.

Parameters

Name

Description

dh

DH key to query.

Created with MrDocs