Class: Virgil::SDK::Cryptography::Keys::KeyPair

Inherits:
Struct
  • Object
show all
Defined in:
lib/virgil/sdk/cryptography/keys/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



40
41
42
# File 'lib/virgil/sdk/cryptography/keys/key_pair.rb', line 40

def private_key
  @private_key
end

#public_keyObject

Returns the value of attribute public_key

Returns:

  • (Object)

    the current value of public_key



40
41
42
# File 'lib/virgil/sdk/cryptography/keys/key_pair.rb', line 40

def public_key
  @public_key
end