Sha256: fbc945384b38ff66b64de359619b2ce62d3425adf1ee2fcdf77cd5e5bf14b7f9

Contents?: true

Size: 559 Bytes

Versions: 6

Compression:

Stored size: 559 Bytes

Contents

module PolyPseudo
  class Key
    attr_reader :scheme_version, :scheme_key_version, :type, :recipient, :recipient_key_set_version, :ec

    def initialize(attributes)
      @scheme_version            = attributes["SchemeVersion"]
      @scheme_key_version        = attributes["SchemeKeyVersion"]
      @type                      = attributes["Type"]
      @recipient                 = attributes["Recipient"]
      @recipient_key_set_version = attributes["RecipientKeySetVersion"]
      @ec                        = attributes["PrivateKey"]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
poly_pseudo-0.2.0 lib/poly_pseudo/key.rb
poly_pseudo-0.1.4 lib/poly_pseudo/key.rb
poly_pseudo-0.1.3 lib/poly_pseudo/key.rb
poly_pseudo-0.1.2 lib/poly_pseudo/key.rb
poly_pseudo-0.1.1 lib/poly_pseudo/key.rb
poly_pseudo-0.1.0 lib/poly_pseudo/key.rb