Validate the public key associated with a key context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_public_check(EVP_PKEY_CTX* ctx);

Return Value

1 if the public key is valid, 0 if invalid, or a negative value on error.

Parameters

Name

Description

ctx

Context whose key is checked (from EVP_PKEY_CTX_new or similar).

Created with MrDocs