# Class SSL.State

Description

  The state object handles a one-way stream of packets, and operates in either decryption or encryption mode. A connection switches from one set of state objects to another, one or more times during its lifetime.

Variable crypt

  `Cipher.CipherAlgorithm SSL.State.crypt`

Description

  Encryption or decryption object.

Variable mac

  `Cipher.MACAlgorithm SSL.State.mac`

Description

  Message Authentication Code

Variable salt

  `string SSL.State.salt`

Description

  TLS 1.2 IV salt. This is used as a prefix for the IV for the AEAD cipher algorithms.

Variable seq_num

  `int SSL.State.seq_num`

Description

  64-bit sequence number.

Variable session

  `Session SSL.State.session`

Description

  Information about the used algorithms.

Variable tls_iv

  `int SSL.State.tls_iv`

Description

  TLS IV prefix length.