Class: Universa::PublicKey
- Inherits:
-
RemoteAdapter
- Object
- Delegator
- RemoteAdapter
- Universa::PublicKey
- Defined in:
- lib/universa/keys.rb
Overview
A com.icodici.crypto.PublicKey
extension. As the key is immutable, caching is used to avoid innecessary UMI calls.
Instance Method Summary collapse
-
#long_address ⇒ KeyAddress
Long address.
-
#short_address ⇒ KeyAddress
Short address.
Methods inherited from RemoteAdapter
#__getobj__, #__setobj__, #initialize, #inspect, invoke_static, remote_class, remote_class_name, #to_s
Constructor Details
This class inherits a constructor from Universa::RemoteAdapter
Instance Method Details
#long_address ⇒ KeyAddress
Returns long address.
48 49 50 |
# File 'lib/universa/keys.rb', line 48 def long_address @long_address ||= get_long_address() end |
#short_address ⇒ KeyAddress
Returns short address.
43 44 45 |
# File 'lib/universa/keys.rb', line 43 def short_address @short_address ||= get_short_address() end |