Class: TTTLS13::EchState
- Inherits:
-
Object
- Object
- TTTLS13::EchState
- Defined in:
- lib/tttls1.3/ech.rb
Instance Attribute Summary collapse
-
#cipher_suite ⇒ Object
readonly
Returns the value of attribute cipher_suite.
-
#config_id ⇒ Object
readonly
Returns the value of attribute config_id.
-
#ctx ⇒ Object
readonly
Returns the value of attribute ctx.
-
#maximum_name_length ⇒ Object
readonly
Returns the value of attribute maximum_name_length.
-
#public_name ⇒ Object
readonly
Returns the value of attribute public_name.
Instance Method Summary collapse
-
#initialize(maximum_name_length, config_id, cipher_suite, public_name, ctx) ⇒ EchState
constructor
A new instance of EchState.
Constructor Details
#initialize(maximum_name_length, config_id, cipher_suite, public_name, ctx) ⇒ EchState
Returns a new instance of EchState.
350 351 352 353 354 355 356 357 358 359 360 |
# File 'lib/tttls1.3/ech.rb', line 350 def initialize(maximum_name_length, config_id, cipher_suite, public_name, ctx) @maximum_name_length = maximum_name_length @config_id = config_id @cipher_suite = cipher_suite @public_name = public_name @ctx = ctx end |
Instance Attribute Details
#cipher_suite ⇒ Object (readonly)
Returns the value of attribute cipher_suite.
343 344 345 |
# File 'lib/tttls1.3/ech.rb', line 343 def cipher_suite @cipher_suite end |
#config_id ⇒ Object (readonly)
Returns the value of attribute config_id.
343 344 345 |
# File 'lib/tttls1.3/ech.rb', line 343 def config_id @config_id end |
#ctx ⇒ Object (readonly)
Returns the value of attribute ctx.
343 344 345 |
# File 'lib/tttls1.3/ech.rb', line 343 def ctx @ctx end |
#maximum_name_length ⇒ Object (readonly)
Returns the value of attribute maximum_name_length.
343 344 345 |
# File 'lib/tttls1.3/ech.rb', line 343 def maximum_name_length @maximum_name_length end |
#public_name ⇒ Object (readonly)
Returns the value of attribute public_name.
343 344 345 |
# File 'lib/tttls1.3/ech.rb', line 343 def public_name @public_name end |