Class: Protocol::ZMTP::PeerInfo

Inherits:
Data
  • Object
show all
Defined in:
lib/protocol/zmtp/peer_info.rb

Overview

Context passed to an authenticator during authentication. public_key is a crypto::PublicKey instance.

Instance Attribute Summary collapse

Instance Attribute Details

#public_keyObject (readonly)

Returns the value of attribute public_key

Returns:

  • (Object)

    the current value of public_key



7
8
9
# File 'lib/protocol/zmtp/peer_info.rb', line 7

def public_key
  @public_key
end