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

Public Instance methods

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.

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

[Validate]