EC_KEY_set_group

Sets the EC_GROUP of a EC_KEY object.

extern (C) nothrow @nogc
int
EC_KEY_set_group
(,
const(.EC_GROUP)* group
)

Parameters

key .EC_KEY*

EC_KEY object

group const(.EC_GROUP)*

EC_GROUP to use in the EC_KEY object (note: the EC_KEY object will use an own copy of the EC_GROUP).

Return Value

Type: int

1 on success and 0 if an error occurred.

Meta