TransportSharedSecret

org.sigilaris.node.gossip.TransportSharedSecret
See theTransportSharedSecret companion class

Companion for TransportSharedSecret.

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 fromUtf8(value: String): Either[String, TransportSharedSecret]

Creates a shared secret from a UTF-8 string.

Creates a shared secret from a UTF-8 string.

Value parameters

value

the secret string (must not be empty)

Attributes

Returns

the secret, or an error

Source
StaticPeerTransportAuth.scala