Class: Capsium::Package::OpenPgp::LoadedKey

Inherits:
Data
  • Object
show all
Defined in:
lib/capsium/package/open_pgp.rb,
sig/capsium/package/open_pgp.rbs

Overview

One loaded key file: the Rnp context holding the key material and the selected key within it.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



27
28
29
# File 'lib/capsium/package/open_pgp.rb', line 27

def key
  @key
end

#rnpObject (readonly)

Returns the value of attribute rnp

Returns:

  • (Object)

    the current value of rnp



27
28
29
# File 'lib/capsium/package/open_pgp.rb', line 27

def rnp
  @rnp
end

Class Method Details

.newvoid

This method returns an undefined value.

Parameters:

  • rnp (Object)
  • key (Object)


21
# File 'sig/capsium/package/open_pgp.rbs', line 21

def self.new: (untyped rnp, untyped key) -> void