Local

class Local(host: Host) : Plaintext

The protocol that executes code on a specific host in the clear.

This protocol has exactly the authority and the capabilities of the host it is tied to.

Constructors

Local
Link copied to clipboard
fun Local(host: Host)

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.

cleartextCommitmentInputPort
Link copied to clipboard
val cleartextCommitmentInputPort: InputPort
hashCommitmentInputPort
Link copied to clipboard
val hashCommitmentInputPort: InputPort
host
Link copied to clipboard
val host: 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
outputPort
Link copied to clipboard
val outputPort: OutputPort
protocolName
Link copied to clipboard
open override val protocolName: ProtocolName

The name of the (cryptographic) protocol.