identities (Net::SSH::Authentication::Agent)

         # File lib/net/ssh/authentication/agent.rb, line 94
     94:     def identities
     95:       type, body = send_and_wait(SSH2_AGENT_REQUEST_IDENTITIES)
     96:       raise AgentError, "could not get identity count" if agent_failed(type)
     97:       raise AgentError, "bad authentication reply: #{type}" if type != SSH2_AGENT_IDENTITIES_ANSWER
     98:
     99:       identities = []
    100:       body.read_long.times do
    101:         key = Buffer.new(body.read_string).read_key
    102:         key.extend(Comment)
    103:         key.comment = body.read_string
    104:         identities.push key
    105:       end
    106:
    107:       return identities
    108:     end