|
__init__(self,
sock)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
_calcKeyBlock(self,
cipherSuite,
masterSecret,
clientRandom,
serverRandom,
outputLength)
Calculate the overall key to slice up |
source code
|
|
|
_decryptAndUnseal(self,
recordType,
buf)
Decrypt AEAD encrypted data |
source code
|
|
|
_decryptSSL2(self,
data,
padding)
Decrypt SSL2 encrypted data |
source code
|
|
|
_decryptStreamThenMAC(self,
recordType,
data)
Decrypt a stream cipher and check MAC |
source code
|
|
|
_decryptThenMAC(self,
recordType,
data)
Decrypt data, check padding and MAC |
source code
|
|
|
_encryptThenMAC(self,
buf,
contentType)
Pad, encrypt and then MAC the data |
source code
|
|
|
_encryptThenSeal(self,
buf,
contentType)
Encrypt with AEAD cipher |
source code
|
|
|
|
|
_macThenEncrypt(self,
data,
contentType)
MAC, pad then encrypt data |
source code
|
|
|
_ssl2Encrypt(self,
data)
Encrypt in SSL2 mode |
source code
|
|
|
addPadding(self,
data)
Add padding to data so that it is multiple of block size |
source code
|
|
|
calcPendingStates(self,
cipherSuite,
masterSecret,
clientRandom,
serverRandom,
implementations)
Create pending states for encryption and decryption. |
source code
|
|
|
calcSSL2PendingStates(self,
cipherSuite,
masterSecret,
clientRandom,
serverRandom,
implementations)
Create the keys for encryption and decryption in SSLv2 |
source code
|
|
|
calculateMAC(self,
mac,
seqnumBytes,
contentType,
data)
Calculate the SSL/TLS version of a MAC |
source code
|
|
|
|
|
|
str
|
|
str
|
|
|
isCBCMode(self)
Returns true if cipher uses CBC mode |
source code
|
|
tuple
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|