StaticPeerTransportAuth

org.sigilaris.node.gossip.StaticPeerTransportAuth
See theStaticPeerTransportAuth companion class

Companion for StaticPeerTransportAuth providing construction and testing helpers.

Attributes

Companion
class
Source
StaticPeerTransportAuth.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def configure(topology: StaticPeerTopology, peerSecrets: Map[PeerIdentity, TransportSharedSecret]): Either[String, StaticPeerTransportAuth]

Configures transport auth from typed peer secrets, validating completeness against the topology.

Configures transport auth from typed peer secrets, validating completeness against the topology.

Value parameters

peerSecrets

peer identity to shared secret mappings

topology

the peer topology

Attributes

Returns

the transport auth, or an error

Source
StaticPeerTransportAuth.scala

Creates transport auth with deterministic test secrets for all peers.

Creates transport auth with deterministic test secrets for all peers.

Value parameters

topology

the peer topology

Attributes

Returns

the transport auth with test secrets

Source
StaticPeerTransportAuth.scala