lib/cose/key/base.rb in cose-0.7.0 vs lib/cose/key/base.rb in cose-0.8.0
- old
+ new
@@ -25,10 +25,10 @@
kid: map[LABEL_KID],
**keyword_arguments_for_initialize(map)
)
end
- attr_reader :kid, :alg, :key_ops, :base_iv
+ attr_accessor :kid, :alg, :key_ops, :base_iv
def initialize(kid: nil, alg: nil, key_ops: nil, base_iv: nil)
@kid = kid
@alg = alg
@key_ops = key_ops