Protocol

abstract class Protocol : Name, Comparable<Protocol>

An abstract location where computations can be placed.

A protocol simultaneously names a location and determines the (cryptographic) mechanism for executing the code placed at that location.

A protocol is a ProtocolName applied to a sequence of named arguments. The name and the arguments uniquely determine the protocol (see Protocol.equals).

Constructors

Link copied to clipboard
fun Protocol()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun authority(): Label

Returns the authority label of this protocol given the authority labels of the participating hosts.

Link copied to clipboard
operator override fun compareTo(other: Protocol): Int
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open override fun toDocument(): Document

Properties

Link copied to clipboard
abstract val arguments: Map<String, Value>

The named arguments applied to protocolName.

Link copied to clipboard

Hosts involved in this protocol.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override val name: String
Link copied to clipboard
override val nameCategory: String
Link copied to clipboard

The name of the (cryptographic) protocol.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard