Method: I2P::BOB::Client#newkeys

Defined in:
lib/i2p/bob/client.rb

#newkeysDestination

Generates a new keypair for the current tunnel.

Examples:

bob.newkeys

Returns:

Since:

  • 0.1.4



231
232
233
234
# File 'lib/i2p/bob/client.rb', line 231

def newkeys
  send_command(:newkeys)
  Destination.parse(read_response)
end