ECDSA_do_verify

Verifies that the supplied signature is a valid ECDSA signature of the supplied hash value using the supplied public key.

extern (C) nothrow @nogc
int
ECDSA_do_verify

Parameters

dgst const(ubyte)*

pointer to the hash value

dgst_len int

length of the hash value

sig const(.ECDSA_SIG)*

ECDSA_SIG structure

eckey libressl_d.openssl.ec.EC_KEY*

EC_KEY object containing a public EC key

Return Value

Type: int

1 if the signature is valid, 0 if the signature is invalid and -1 on error

Meta