class JWT::JWK::RSA
def initialize(keypair, options = {})
def initialize(keypair, options = {}) raise ArgumentError, 'keypair must be of type OpenSSL::PKey::RSA' unless keypair.is_a?(OpenSSL::PKey::RSA) @keypair = keypair super(options) end
def initialize(keypair, options = {}) raise ArgumentError, 'keypair must be of type OpenSSL::PKey::RSA' unless keypair.is_a?(OpenSSL::PKey::RSA) @keypair = keypair super(options) end