read_keyblob (Net::SSH::Buffer)

         # File lib/net/ssh/buffer.rb, line 244
    244:     def read_keyblob(type)
    245:       case type
    246:         when "ssh-dss"
    247:           key = OpenSSL::PKey::DSA.new
    248:           key.p = read_bignum
    249:           key.q = read_bignum
    250:           key.g = read_bignum
    251:           key.pub_key = read_bignum
    252:
    253:         when "ssh-rsa"
    254:           key = OpenSSL::PKey::RSA.new
    255:           key.e = read_bignum
    256:           key.n = read_bignum
    257:
    258:         else
    259:           raise NotImplementedError, "unsupported key type `#{type}'"
    260:       end
    261:
    262:       return key
    263:     end