Sha256: f2573ac7e4af05da0156bf14bb8a1551be632a2aec835d4b11f9cbb8da4bd7c3
Contents?: true
Size: 342 Bytes
Versions: 8
Compression:
Stored size: 342 Bytes
Contents
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
8 entries across 8 versions & 1 rubygems