|
|
__init__(self,
cipherSuite,
version)
Initialise Server Key Exchange for reading or writing |
source code
|
|
|
|
|
|
|
createDH(self,
dh_p,
dh_g,
dh_Ys)
Set FFDH protocol parameters |
source code
|
|
|
|
createSRP(self,
srp_N,
srp_g,
srp_s,
srp_B)
Set SRP protocol parameters |
source code
|
|
|
bytearray
|
hash(self,
clientRandom,
serverRandom)
Calculate hash of paramters to sign |
source code
|
|
|
|
|
|
bytearray
|
|
|
bytearray
|
writeParams(self)
Serialise the key exchange parameters |
source code
|
|
|
Inherited from HandshakeMsg:
postWrite
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
int
|
cipherSuite
id of ciphersuite selected in Server Hello message
|
|
int
|
dh_Ys
FFDH protocol server key share
|
|
int
|
dh_g
FFDHE protocol generator
|
|
int
|
dh_p
FFDHE protocol prime
|
|
int
|
hashAlg
id of hash algorithm used for signature
|
|
int
|
signAlg
id of signature algorithm used for signature
|
|
bytearray
|
signature
signature performed over the parameters by server
|
|
int
|
srp_B
SRP protocol server public value
|
|
int
|
srp_N
SRP protocol prime
|
|
int
|
srp_g
SRP protocol generator
|
|
bytearray
|
srp_s
SRP protocol salt value
|