Module: Net::SSH::Transport::OSSL::ReaderBufferImpl

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.

### Methods

read_bignum read_key read_keyblob

### Public Instance 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( type )

Read a keyblob of the given type from the buffer, and return it as a key. Only RSA and DSA keys are supported.

[Validate]