SecurityProtocol class abstract

Interface for security protocols in libp2p

Implementers

Constructors

SecurityProtocol()

Properties

hashCode → int
The hash code for this object.
no setterinherited
protocolId → String
The protocol identifier string
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
secureInbound(TransportConn connection) → Future<SecuredConnection>
Secures an inbound connection
secureOutbound(TransportConn connection) → Future<SecuredConnection>
Secures an outbound connection
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited