ECDSA_do_sign

Computes the ECDSA signature of the given hash value using the supplied private key and returns the created signature.

extern (C) nothrow @nogc
ECDSA_do_sign

Parameters

dgst const(ubyte)*

pointer to the hash value

dgst_len int

length of the hash value

eckey libressl_d.openssl.ec.EC_KEY*

EC_KEY object containing a private EC key

Return Value

Type: .ECDSA_SIG*

pointer to a ECDSA_SIG structure or null if an error occurred

Meta