Proof

@Serializable
@SerialName(value = "proof")
class Proof(val statement: ByteArray, val grants: List<ByteArray> = emptyList()) : AdmitMessage

Sent by a joiner to answer a Challenge (v3, #3210; sent since v4, #3211).

statement is the wire form of a signed us.tractat.kuilt.identity.AdmissionProof, carried opaque like Challenge.statement. grants are the wire forms of the grants this device holds from the challenging host for the room the challenge named or for every room of that host's, each a signed us.tractat.kuilt.identity.Grant: two at most, and empty when it holds none. Sent since v9 (#3222): a host that finds one good, and holds no seat for the device, lets it back in without asking its admission policy. A host sets aside a grant whose fields rule it out before checking any signature, and checks a few signatures at most. Compared by content, element by element.

Constructors

Link copied to clipboard
constructor(statement: ByteArray, grants: List<ByteArray> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String