Class: SymmetricEncryption::Cipher::HeaderStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/symmetric_encryption/cipher.rb

Overview

Defines the Header Structure returned when parsing the header

Instance Attribute Summary collapse

Instance Attribute Details

#cipher_nameObject

Returns the value of attribute cipher_name



20
21
22
# File 'lib/symmetric_encryption/cipher.rb', line 20

def cipher_name
  @cipher_name
end

#compressedObject

Returns the value of attribute compressed



20
21
22
# File 'lib/symmetric_encryption/cipher.rb', line 20

def compressed
  @compressed
end

#decryption_cipherObject

Returns the value of attribute decryption_cipher



20
21
22
# File 'lib/symmetric_encryption/cipher.rb', line 20

def decryption_cipher
  @decryption_cipher
end

#ivObject

Returns the value of attribute iv



20
21
22
# File 'lib/symmetric_encryption/cipher.rb', line 20

def iv
  @iv
end

#keyObject

Returns the value of attribute key



20
21
22
# File 'lib/symmetric_encryption/cipher.rb', line 20

def key
  @key
end

#versionObject

Returns the value of attribute version



20
21
22
# File 'lib/symmetric_encryption/cipher.rb', line 20

def version
  @version
end