class

Tinrelay::Keyring

Inherits Reference < Object

Constructors

create(path : String, server : String, ship : String, passphrase : String, owner_path : String | Nil = nil, now : Time = Time.utc) : Keyring
Source
load(path : String, passphrase : String, owner_path : String | Nil = nil) : Keyring
Source
new(path : String, owner_path : String, data : Tinrelay::KeyringData)
Source

Class methods

ensure_passphrase!(passphrase : String) : Nil
Source

Instance methods

block!(ship : String, now : Int64 = Time.utc.to_unix) : ShipContact
Source
data
Source
owner(passphrase : String) : OwnerKeyData
Source
owner_path
Source
path
Source
pin_hail(record : HailSpoolRecord) : ShipContact
Source
prune_retired_radios!(now : Int64 = Time.utc.to_unix) : Bool
Source
save(passphrase : String) : Nil
Source
save_owner(owner : OwnerKeyData, passphrase : String) : Nil
Source
unblock!(ship : String) : ShipContact
Source