ENGINE_PKEY_METHS_PTR

ENGINE public-key method handler: list supported NIDs or return an EVP_PKEY_METHOD.

Synopsis

Declared in <openssl/engine.h>

typedef int(* ENGINE_PKEY_METHS_PTR)(ENGINE*, EVP_PKEY_METHOD**, int const**, int);

Return Value

Number of NIDs when listing, 1 when a method is returned, or 0 on failure.

Parameters

NameDescription
eENGINE being queried (first parameter of the callback).
pmethWhen non-NULL, receives the EVP_PKEY_METHOD for the requested NID.
nidsWhen pmeth is NULL, receives the array of supported NIDs.
nidNID to look up when pmeth is non-NULL.