The implementation of a reader buffer that can read bignums and keys.
| Public Methods | |
|---|---|
| read_ |
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_ |
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_ |
Read a keyblob of the given type from the buffer, and return it as a key. Only RSA and DSA keys are supported. |
<code/>and<pre/>for code samples.