paramiko.SecurityOptions

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.
| `_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
| ``__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', '...`
`member_descriptor` | `_transport` = `<member '_transport' of 'SecurityOptions' o...`

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 Get Method: `_get_ciphers`(self) Set Method: `_set_ciphers`(self, x)

### compression Compression algorithms Get Method: `_get_compression`(self) Set Method: `_set_compression`(self, x)

### digests Digest (one-way hash) algorithms Get Method: `_get_digests`(self) Set Method: `_set_digests`(self, x)

### kex Key exchange algorithms Get Method: `_get_kex`(self) Set Method: `_set_kex`(self, x)

### key_types Public-key algorithms Get Method: `_get_key_types`(self) Set Method: `_set_key_types`(self, x)

Class Variable Details

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

    ### _transport Type: `member_descriptor` Value:
        <member '_transport' of 'SecurityOptions' objects>

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