Class: OpenSSL::SignatureAlgorithm::RSA::VerifyKey

Inherits:
PKey::RSA
  • Object
show all
Defined in:
lib/openssl/signature_algorithm/rsa.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ VerifyKey

Returns a new instance of VerifyKey.



25
26
27
# File 'lib/openssl/signature_algorithm/rsa.rb', line 25

def initialize(*args)
  super(OpenSSL::PKey::RSA.new(*args))
end

Instance Method Details

#serializeObject



29
30
31
# File 'lib/openssl/signature_algorithm/rsa.rb', line 29

def serialize
  to_pem
end