Package paramiko :: Class SecurityOptions
[show private | hide private]
[frames | no frames]

Type 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 underlying Transport (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 __repr__(self)
Returns a string representation of this object, for debugging.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
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', '...

Method Details

__repr__(self)
(Representation operator)

Returns a string representation of this object, for debugging.
Returns:
str
Overrides:
__builtin__.object.__repr__

Property Details

ciphers

Symmetric encryption ciphers

compression

Compression algorithms

digests

Digest (one-way hash) algorithms

kex

Key exchange algorithms

key_types

Public-key algorithms

Class Variable Details

__slots__

Type:
list
Value:
['ciphers', 'digests', 'key_types', 'kex', 'compression', '_transport'\
]                                                                      

Generated by Epydoc 2.1 on Sun Dec 4 11:16:47 2005 http://epydoc.sf.net