AviaryPeering extension
Self signed peer records and the address books that collect them.
- on
Methods
-
newAddressBook(
[Uint8List? encoded]) → AddressBook -
Available on Aviary, provided by the AviaryPeering extension
An empty address book, or one decoded fromencoded(records are verified only when merged). Throws on a malformed encoding. -
peerRecordInfo(
Uint8List record) → PeerRecordInfo -
Available on Aviary, provided by the AviaryPeering extension
The fields of an encoded record. -
signPeerRecord(
int id, String host, int port, SecureIdentity identity, {Uint8List? prekey}) → Uint8List -
Available on Aviary, provided by the AviaryPeering extension
A record for validatoridsigned withidentity's hybrid signature key;prekeyis the optional ratchet prekey. -
verifyPeerRecord(
Uint8List record) → bool -
Available on Aviary, provided by the AviaryPeering extension
Whetherrecorddecodes and its owner signature verifies.