End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenSSL::PKey::EC#dsa_verify_asn1
key.dsa_verify_asn1(data, sig) → true | false
ext/openssl/lib/openssl/pkey.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/ext/openssl/lib/openssl/pkey.rb, line 270
def dsa_verify_asn1(data, sig)
verify_raw(nil, sig, data)
rescue OpenSSL::PKey::PKeyError
raise OpenSSL::PKey::ECError, $!.message
end
Deprecated in version 3.0. Consider using PKey::PKey#sign_raw and PKey::PKey#verify_raw instead.
See also
#dsa_sign_asn1
#export
#dh_compute_key
#generate_key
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0