sysverify

dsa.sysverify(digest, sig) â true | false Instance Public methods 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. Parameters digest is a message digest of the original input data to be signed sig is a DSA signature value Example dsa = OpenSSL::PKey::DSA.new(2048) doc = "Sign me" digest = OpenSSL::Digest::SHA1.digest(doc) sig = dsa.syssign(digest) puts dsa.sysverify(digest, sig) #

to_der

dsa.to_der â aString Instance Public methods Encodes this DSA to its DER encoding.

to_pem

to_pem(p1 = v1, p2 = v2) Instance Public methods Alias for: export

to_s

to_s(p1 = v1, p2 = v2) Instance Public methods Alias for: export

to_text

dsa.to_text â aString Instance Public methods Prints all parameters of key to buffer INSECURE: PRIVATE INFORMATIONS CAN LEAK OUT!!! Don't use :-)) (I's up to you)

new

OpenSSL::PKey::EC::Group.new("secp112r1")OpenSSL::PKey::EC::Group.new(ec_group)OpenSSL::PKey::EC::Group.new(pem_string)OpenSSL::PKey::EC::Group.new(der_string)OpenSSL::PKey::EC::Group.new(pem_file)OpenSSL::PKey::EC::Group.new(der_file)OpenSSL::PKey::EC::Group.new(:GFp_simple)OpenSSL::PKey::EC::Group.new(:GFp_mult)OpenSSL::PKey::EC::Group.new(:GFp_nist)OpenSSL::PKey::EC::Group.new(:GF2m_simple)OpenSSL::PKey::EC::Group.new(:GFp, bignum_p, bignum_a, bignum_b)OpenSSL::PKey::EC::Group.new(:GF2m,

==

==(p1) Instance Public methods Alias for: eql?

asn1_flag

group.asn1_flag => Fixnum Instance Public methods See the OpenSSL documentation for EC_GROUP_get_asn1_flag()

asn1_flag=

group.asn1_flag = Fixnum => Fixnum Instance Public methods See the OpenSSL documentation for EC_GROUP_set_asn1_flag()

cofactor

group.get_cofactor => cofactor_bn Instance Public methods See the OpenSSL documentation for EC_GROUP_get_cofactor()