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

Class DSSKey

object --+        
         |        
      PKey --+    
             |    
        DSSKey --+
                 |
                DSSKey


Representation of a DSS key which can be used to sign an verify SSH2 data.
Method Summary
    Inherited from DSSKey
  __init__(self, msg, data)
Create a new instance of this public key type.
  __hash__(self)
string __str__(self)
Return a string of an SSH Message made up of the public part(s) of this key.
string get_name(self)
Return the name of this private key implementation.
  read_private_key_file(self, filename, password)
Read private key contents from a file into this object.
Message sign_ssh_data(self, randpool, data)
Sign a blob of data with this private key, and return a Message representing an SSH signature message.
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.
    Inherited from PKey
int __cmp__(self, other)
Compare this key to another.
string _read_private_key_file(self, tag, filename, password)
Read an SSH2-format private key file, looking for a string of the type "BEGIN xxx PRIVATE KEY" for some xxx, base64-decode the text we find, and return it as a string.
string get_fingerprint(self)
Return an MD5 fingerprint of the public part of this key.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Class Variable Summary
    Inherited from PKey
dict _CIPHER_TABLE = {'DES-EDE3-CBC': {'cipher': <module 'Cry...

Generated by Epydoc 2.0 on Sat Jan 3 19:29:35 2004 http://epydoc.sf.net