Home | Trees | Index | Help |
---|
Package paramiko :: Class SecurityOptions |
|
object
--+
|
SecurityOptions
Simple object containing the security preferences of an ssh transport. These are tuples of acceptable ciphers, digests, key types, and key exchange algorithms, listed in order of preference.
Changing the contents and/or order of these fields affects the underlyingTransport
(but only if you change them
before starting the session). If you try to add an algorithm that
paramiko doesn't recognize, ValueError
will be raised. If
you try to assign something besides a tuple to one of the fields,
TypeError
will be raised.
Since: ivysaur
Method Summary | |
---|---|
__init__(self,
transport)
| |
str |
Returns a string representation of this object, for debugging. |
_get_ciphers(self)
| |
_get_compression(self)
| |
_get_digests(self)
| |
_get_kex(self)
| |
_get_key_types(self)
| |
_set(self,
name,
orig,
x)
| |
_set_ciphers(self,
x)
| |
_set_compression(self,
x)
| |
_set_digests(self,
x)
| |
_set_kex(self,
x)
| |
_set_key_types(self,
x)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Property Summary | |
---|---|
ciphers : Symmetric encryption ciphers | |
compression : Compression algorithms | |
digests : Digest (one-way hash) algorithms | |
kex : Key exchange algorithms | |
key_types : Public-key algorithms |
Class Variable Summary | |
---|---|
list |
__slots__ = ['ciphers', 'digests', 'key_types', 'kex', '...
|
member_descriptor |
_transport = <member '_transport' of 'SecurityOptions' o...
|
Method Details |
---|
__repr__(self)
Returns a string representation of this object, for debugging.
|
Property Details |
---|
ciphersSymmetric encryption ciphers
|
compressionCompression algorithms
|
digestsDigest (one-way hash) algorithms
|
kexKey exchange algorithms |
key_typesPublic-key algorithms
|
Class Variable Details |
---|
__slots__
|
_transport
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sun Dec 4 11:16:47 2005 | http://epydoc.sf.net |