lib/cose/key/rsa.rb in cose-0.11.0 vs lib/cose/key/rsa.rb in cose-1.0.0
- old
+ new
@@ -45,10 +45,10 @@
new(**attributes)
end
attr_reader :n, :e, :d, :p, :q, :dp, :dq, :qinv
- def initialize(n:, e:, d: nil, p: nil, q: nil, dp: nil, dq: nil, qinv: nil, **keyword_arguments) # rubocop:disable Naming/UncommunicativeMethodParamName
+ def initialize(n:, e:, d: nil, p: nil, q: nil, dp: nil, dq: nil, qinv: nil, **keyword_arguments) # rubocop:disable Naming/MethodParameterName
super(**keyword_arguments)
if !n
raise ArgumentError, "Required public field n is missing"
elsif !e