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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of iv



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

def iv
  @iv
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



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

def key
  @key
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



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

def version
  @version
end