EC_KEY_can_sign

Indicates if an EC_KEY can be used for signing.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_KEY_can_sign(EC_KEY const* eckey);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 if can sign and 0 otherwise.

Parameters

NameDescription
eckeythe EC_KEY object