read_keyblob (Net::SSH::Transport::OSSL::ReaderBufferImpl)

    # File lib/net/ssh/transport/ossl/buffer.rb, line 48
              def read_keyblob( type )
                case type
                  when "ssh-dss"
                    key = OpenSSL::PKey::DSA.new
                    key.p = read_bignum
                    key.q = read_bignum
                    key.g = read_bignum
                    key.pub_key = read_bignum

                  when "ssh-rsa"
                    key = OpenSSL::PKey::RSA.new
                    key.e = read_bignum
                    key.n = read_bignum

                  else
                    raise NotImplementedError, "unsupported key type '#{type}'"
                end

                return key
              end