Module

ReaderBufferImpl

The implementation of a reader buffer that can read bignums and keys.

Public Methods
read_bignum Read a bignum (OpenSSL::BN) from the buffer, in SSH2 format. It is essentially just a string, which is reinterpreted to be a bignum in binary format.
read_key Read a key from the buffer. The key will start with a string describing its type. The remainder of the key is defined by the type that was read.
read_keyblob Read a keyblob of the given type from the buffer, and return it as a key. Only RSA and DSA keys are supported.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.