我们从Python开源项目中,提取了以下16个代码示例,用于说明如何使用paramiko.SecurityOptions()。
def __repr__(self): """ Returns a string representation of this object, for debugging. @rtype: str """ return '<paramiko.SecurityOptions for %s>' % repr(self._transport)
def get_security_options(self): """ Return a L{SecurityOptions} object which can be used to tweak the encryption algorithms this transport will permit, and the order of preference for them. @return: an object that can be used to change the preferred algorithms for encryption, digest (hash), public key, and key exchange. @rtype: L{SecurityOptions} """ return SecurityOptions(self)
def get_security_options(self): """ Return a `.SecurityOptions` object which can be used to tweak the encryption algorithms this transport will permit (for encryption, digest/hash operations, public keys, and key exchanges) and the order of preference for them. """ return SecurityOptions(self)
def __repr__(self): """ Returns a string representation of this object, for debugging. """ return '<paramiko.SecurityOptions for %s>' % repr(self._transport)