EndpointIdInterface

An endpoint's identifier, a 32-byte ed25519 public key.

In iroh 1.0 this is an alias for the underlying PublicKey cryptographic type and uniquely identifies an crate::Endpoint.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun fmtShort(): String

Short, base32 prefix of the `EndpointId`.

Link copied to clipboard
abstract fun toBytes(): ByteArray

Get the underlying 32 bytes.

Link copied to clipboard
abstract fun verify(message: ByteArray, signature: Signature)

Verify a signature on message against this endpoint's key.