Returns the public key of a EC_KEY object.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
EC_POINT const*
EC_KEY_get0_public_key(EC_KEY const* key);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

a EC_POINT object with the public key (possibly NULL)

Parameters

Name

Description

key

the EC_KEY object

Created with MrDocs