Attach an EC_KEY_METHOD to key (deprecated).

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_KEY_set_method(
    EC_KEY* key,
    EC_KEY_METHOD const* meth);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

key

Key whose method table is replaced.

meth

Method table to use; must outlive key unless replaced again.

Created with MrDocs