class COSE::Encrypt0
Attributes
ciphertext[R]
Public Class Methods
keyword_arguments_for_initialize(decoded)
click to toggle source
# File lib/cose/encrypt0.rb, line 9 def self.keyword_arguments_for_initialize(decoded) { ciphertext: decoded[0] } end
new(ciphertext:, **keyword_arguments)
click to toggle source
Calls superclass method
# File lib/cose/encrypt0.rb, line 13 def initialize(ciphertext:, **keyword_arguments) super(**keyword_arguments) @ciphertext = ciphertext end