Sha256: 6e7cf93eb16b2920422d5e69b01935c0be50ce4fc42268e723f105315b1ad56e
Contents?: true
Size: 373 Bytes
Versions: 9
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true require "cose/security_message" module COSE class Encrypt0 < SecurityMessage attr_reader :ciphertext def self.keyword_arguments_for_initialize(decoded) { ciphertext: decoded[0] } end def initialize(ciphertext:, **keyword_arguments) super(**keyword_arguments) @ciphertext = ciphertext end end end
Version data entries
9 entries across 9 versions & 1 rubygems