Home | Trees | Indices | Help |
---|
|
object --+ | PKey
Base class for public keys.
Instance Methods | |||
int |
|
||
|
|||
str |
|
||
bool |
|
||
str |
|
||
int |
|
||
str |
|
||
str |
|
||
Message |
|
||
boolean |
|
||
|
|||
|
|||
Inherited from |
Class Methods | |||
PKey |
|
||
PKey |
|
Properties | |
Inherited from |
Method Details |
Compare this key to another. Returns 0 if this key is equivalent to the given key, or non-0 if they are different. Only the public parts of the key are compared, so a public key will compare equal to its corresponding private key.
|
Create a new instance of this public key type. If
|
Return a string of an SSH Message made up of the public part(s) of this key. This string is suitable for passing to __init__ to re-create the key object later.
|
Return
|
Create a key object by reading a private key from a file (or
file-like) object. If the private key is encrypted and
|
Create a key object by reading a private key file. If the private key
is encrypted and
|
Return a base64 string containing the public part of this key. Nothing secret is revealed. This format is compatible with that used to store public key files or recognized host keys.
|
Return the number of significant bits in this key. This is useful for judging the relative security of a key.
|
Return an MD5 fingerprint of the public part of this key. Nothing secret is revealed.
|
Return the name of this private key implementation.
|
Sign a blob of data with this private key, and return a Message representing an SSH signature message.
|
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 contents into a file (or file-like) object. If the
password is not
|
Write private key contents into a file. If the password is not
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon May 23 13:50:03 2011 | http://epydoc.sourceforge.net |