EVP_PKEY_CTX_get_operation

Return the operation type currently configured on a key context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX* ctx);

Return Value

One of the EVP_PKEY_OP_* values, or EVP_PKEY_OP_UNDEFINED if unset.

Parameters

NameDescription
ctxKey context to query.