Part of twisted.conch.ssh View Source
Maintainer: Paul Swartz
| Class | BadKeyError | Raised when a key isn't what we expected from it. |
| Class | EncryptedKeyError | Raised when an encrypted key is presented to fromString/fromFile without |
| Class | Key | An object representing a key. A key can be either a public or |
| Function | objectType | Return the SSH key type corresponding to a
Crypto.PublicKey.pubkey.pubkey |
| Function | pkcs1Pad | Pad out data to messageLength according to the PKCS#1 standard. |
| Function | pkcs1Digest | Create a message digest using the SHA1 hash algorithm according to the |
| Function | lenSig | Return the length of the signature in bytes for a key object. |
Crypto.PublicKey.pubkey.pubkey object.| Parameters | obj | (type: Crypto.PublicKey.pubkey.pubkey
) |
| Returns | (type: str
) | |
| Parameters | data | (type: str
) |
| messageLength | (type: int
) |
| Parameters | data | (type: str
) |
| messageLength | (type: str
) |
| Parameters | obj | (type: Crypto.PublicKey.pubkey.pubkey
) |
| Returns | (type: long
) | |