Skip to content
instance method

OpenSSL::PKey::DSA#sysverify

(::String digest, ::String data) -> bool
dsa.sysverify(digest, sig) → true | false

Verifies whether the signature is valid given the message digest input. It does so by validating sig using the public key of this DSA instance.

Deprecated in version 3.0. Consider using PKey::PKey#sign_raw and PKey::PKey#verify_raw instead.

digest

A message digest of the original input data to be signed.

sig

A DSA signature value.

See also #syssign #to_der #set_pqg #to_pem also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0