Test whether a key type supports signing operations.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_can_sign(EVP_PKEY const* pkey);

Return Value

1 if the key can be used for signing, or 0 otherwise.

Parameters

Name

Description

pkey

Key to query.

Created with MrDocs