Class: Sekret::BodyEncryption::Result

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

Overview

The result of the encryption

Since:

  • 1.0.0

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The encrypted body

Returns:

  • (String)

    the current value of body



28
29
30
# File 'lib/sekret/body_encryption.rb', line 28

def body
  @body
end

#checksumString

The HMAC-SHA256 of the encrypted body

Returns:

  • (String)

    the current value of checksum



28
29
30
# File 'lib/sekret/body_encryption.rb', line 28

def checksum
  @checksum
end

#ivString

The random iv used for encryption

Returns:

  • (String)

    the current value of iv



28
29
30
# File 'lib/sekret/body_encryption.rb', line 28

def iv
  @iv
end

#keyString

The random key used for encryption

Returns:

  • (String)

    the current value of key



28
29
30
# File 'lib/sekret/body_encryption.rb', line 28

def key
  @key
end