| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
CipherSuite
Encapsulates a cipher suite.
Members/args:
* code: two-byte ID code, as int
* kx: key exchange algorithm, e.g. 'RSA' or 'DHE'
* auth: authentication algorithm, e.g. 'RSA' or 'DSS'
* cipher: stream or block cipher algorithm, e.g. 'AES_128'
* mode: mode of operation for block ciphers, e.g. 'CBC' or 'GCM'
* mac: message authentication code algorithm, e.g. 'MD5' or 'SHA256'
* name: cipher suite name as defined in the RFCs,
e.g. 'TLS_RSA_WITH_RC4_40_MD5', can be generated by default from the
other parameters
* encoding: encoding algorithm, defaults to cipher+mode
Additional members:
* kx_auth: kx+auth algorithm, as 'KeyExchangeAlgorithm' in RFCs
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
MAC_SIZES =
|
|||
BLOCK_SIZES =
|
|||
|
|||
| kx | |||
| auth | |||
| kx_auth | |||
| encoding | |||
| name | |||
|
mac_size In bytes. |
|||
|
block_size In bytes. |
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
|
|||
kx
|
auth
|
kx_auth
|
encoding
|
name
|
mac_sizeIn bytes. Default to 0.
|
block_sizeIn bytes. Default to 1.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Apr 30 11:26:51 2019 | http://epydoc.sourceforge.net |