interface FingerprintRepository
(source)
Repository of remote peer fingerprints.
abstract fun addFingerprint(identifier: String, fingerprint: Bytes): Unit
Adds the fingerprint of a remote peer to the repository. |
|
abstract fun contains(identifier: String): Boolean
Checks whether the identifier of the remote peer is present in the repository. abstract fun contains(identifier: String, fingerprint: Bytes): Boolean
Checks whether the identifier of the remote peer is present in the repository, and its fingerprint matches the fingerprint present. |