| Method Summary |
| |
__init__(self,
msg,
data)
Create a new instance of this public key type. |
| |
__hash__(self)
|
| str
|
__str__(self)
Return a string of an SSH Message made up of the public part(s) of
this key. |
| bool
|
can_sign(self)
Return True if this key has the private part necessary
for signing data. |
RSAKey
|
generate(bits,
progress_func)
Generate a new private RSA key. (Static method)
|
| int
|
get_bits(self)
Return the number of significant bits in this key. |
| str
|
get_name(self)
Return the name of this private key implementation. |
| |
sign_ssh_data(self,
rpool,
data)
|
| boolean
|
verify_ssh_sig(self,
data,
msg)
Given a blob of data, and an SSH message representing a signature of
that data, verify that it was signed with this key. |
| |
write_private_key(self,
file_obj,
password)
Write private key contents into a file (or file-like) object. |
| |
write_private_key_file(self,
filename,
password)
Write private key contents into a file. |
| Inherited from object |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__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 |
| |
__repr__(x)
x.__repr__() <==> repr(x) |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |