Class: Virgil::Crypto::KeyPair

Inherits:
Struct
  • Object
show all
Defined in:
lib/virgil/crypto/key_pair.rb

Overview

Class containing key pair information

Instance Attribute Summary collapse

Instance Attribute Details

#private_keyObject

Returns the value of attribute private_key

Returns:

  • (Object)

    the current value of private_key



38
39
40
# File 'lib/virgil/crypto/key_pair.rb', line 38

def private_key
  @private_key
end

#public_keyObject

Returns the value of attribute public_key

Returns:

  • (Object)

    the current value of public_key



38
39
40
# File 'lib/virgil/crypto/key_pair.rb', line 38

def public_key
  @public_key
end