Class: Sekret::Decryptor::Payload

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

Overview

An intermediate representation of the decrypted message

Since:

  • 1.0.0

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The encrypted body of the message

Returns:

  • (String)

    the current value of body



19
20
21
# File 'lib/sekret/decryptor.rb', line 19

def body
  @body
end

#headerString

The encrypted header from the message

Returns:

  • (String)

    the current value of header



19
20
21
# File 'lib/sekret/decryptor.rb', line 19

def header
  @header
end