Class: Sekret::Configuration

Inherits:
Struct
  • Object
show all
Defined in:
lib/sekret/configuration.rb

Overview

The configuration object

Instance Attribute Summary collapse

Instance Attribute Details

#mac_secretString

A random secret that will be used to generate the encryption checksum.

Returns:

  • (String)

    the current value of mac_secret



8
9
10
# File 'lib/sekret/configuration.rb', line 8

def mac_secret
  @mac_secret
end

#private_keyString

A RSA private key in pem format.

Returns:

  • (String)

    the current value of private_key



8
9
10
# File 'lib/sekret/configuration.rb', line 8

def private_key
  @private_key
end

#public_keyString

A RSA public key in pem format.

Returns:

  • (String)

    the current value of public_key



8
9
10
# File 'lib/sekret/configuration.rb', line 8

def public_key
  @public_key
end