Package tlslite :: Module constants :: Class GroupName
[hide private]
[frames] | no frames]

Class GroupName

source code


Name of groups supported for (EC)DH key exchange

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
toRepr(cls, value, blacklist=None)
Convert numeric type to name representation
source code

Inherited from TLSEnum: toStr

Class Variables [hide private]
  all = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, ...
  allEC = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16...
  allFF = [256, 257, 258, 259, 260]
  brainpoolP256r1 = 26
  brainpoolP384r1 = 27
  brainpoolP512r1 = 28
  ffdhe2048 = 256
  ffdhe3072 = 257
  ffdhe4096 = 258
  ffdhe6144 = 259
  ffdhe8192 = 260
  secp160k1 = 15
  secp160r1 = 16
  secp160r2 = 17
  secp192k1 = 18
  secp192r1 = 19
  secp224k1 = 20
  secp224r1 = 21
  secp256k1 = 22
  secp256r1 = 23
  secp384r1 = 24
  secp521r1 = 25
  sect163k1 = 1
  sect163r1 = 2
  sect163r2 = 3
  sect193r1 = 4
  sect193r2 = 5
  sect233k1 = 6
  sect233r1 = 7
  sect239k1 = 8
  sect283k1 = 9
  sect283r1 = 10
  sect409k1 = 11
  sect409r1 = 12
  sect571k1 = 13
  sect571r1 = 14
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

toRepr(cls, value, blacklist=None)
Class Method

source code 

Convert numeric type to name representation

Overrides: TLSEnum.toRepr

Class Variable Details [hide private]

all

Value:
[1,
 2,
 3,
 4,
 5,
 6,
 7,
 8,
...

allEC

Value:
[1,
 2,
 3,
 4,
 5,
 6,
 7,
 8,
...