Module | Net::SSH::Transport::OSSL::ReaderBufferImpl |
In: |
lib/net/ssh/transport/ossl/buffer.rb
|
The implementation of a reader buffer that can read bignums and keys.
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 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.