Commitment

class Commitment(cleartextHost: Host, hashHosts: Set<Host>) : Protocol

Types

Companion
Link copied to clipboard
object Companion

Functions

authority
Link copied to clipboard
open override fun authority(hostTrustConfiguration: HostTrustConfiguration): Label

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

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

Properties

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

The named arguments applied to protocolName.

cleartextHost
Link copied to clipboard
val cleartextHost: Host
cleartextInputPorts
Link copied to clipboard
val cleartextInputPorts: Map<Host, InputPort>
hashHosts
Link copied to clipboard
val hashHosts: Set<Host>
hosts
Link copied to clipboard
val hosts: HostSetValue

Hosts involved in this protocol.

inputPort
Link copied to clipboard
val inputPort: InputPort
internalInputPorts
Link copied to clipboard
val internalInputPorts: Map<Host, InputPort>
internalOutputPorts
Link copied to clipboard
val internalOutputPorts: Map<Host, OutputPort>
name
Link copied to clipboard
override val name: String
nameCategory
Link copied to clipboard
override val nameCategory: String
openCleartextOutputPort
Link copied to clipboard
val openCleartextOutputPort: OutputPort
openCommitmentOutputPorts
Link copied to clipboard
val openCommitmentOutputPorts: Map<Host, OutputPort>
protocolName
Link copied to clipboard
open override val protocolName: ProtocolName

The name of the (cryptographic) protocol.