Class: TTTLS13::Client::EchState

Inherits:
Object
  • Object
show all
Defined in:
lib/tttls1.3/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(maximum_name_length, config_id, cipher_suite, public_name, ctx) ⇒ EchState

Returns a new instance of EchState.

Parameters:

  • maximum_name_length (Integer)
  • config_id (Integer)
  • cipher_suite (HpkeSymmetricCipherSuite)
  • public_name (String)
  • ctx ([HPKE::ContextS])

    tx [[HPKE::ContextS]



1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
# File 'lib/tttls1.3/client.rb', line 1465

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_suiteObject

Returns the value of attribute cipher_suite.



1456
1457
1458
# File 'lib/tttls1.3/client.rb', line 1456

def cipher_suite
  @cipher_suite
end

#config_idObject

Returns the value of attribute config_id.



1455
1456
1457
# File 'lib/tttls1.3/client.rb', line 1455

def config_id
  @config_id
end

#ctxObject

Returns the value of attribute ctx.



1458
1459
1460
# File 'lib/tttls1.3/client.rb', line 1458

def ctx
  @ctx
end

#maximum_name_lengthObject

Returns the value of attribute maximum_name_length.



1454
1455
1456
# File 'lib/tttls1.3/client.rb', line 1454

def maximum_name_length
  @maximum_name_length
end

#public_nameObject

Returns the value of attribute public_name.



1457
1458
1459
# File 'lib/tttls1.3/client.rb', line 1457

def public_name
  @public_name
end