Skip to content

Enum crypto::Context

zaun_community_protocol::crypto::Context · Enum

pub enum Context { … }

An RFC 10073 ctx value of this protocol. The verifier always supplies the context of the object type it expects; it is never read from the input.

CommunityDescriptor, signed by the root key.

HostDelegation, signed by the root key.

RootRotation, signed by the old and the new root key.

MemberKeyRegistration, signed by the member key.

HostSessionProof, signed by the host key.

PublicCheckpoint, signed by the host key. Experimental.

MemberReauth, signed by the member key (migration).

ExportManifest, signed by the host key (ADR-0013).

VerificationAssertion, signed by a verifier key. Reserved.

VoiceKeyPackage, signed by the member key (ADR-0018). Experimental.

VoiceSenderKeys, signed by the member key (ADR-0018). Experimental.

BotPackage, signed by a publisher key (ADR-0019, the protocol).

pub const fn as_bytes(self) -> &'static [u8]

The ASCII ctx bytes.

pub const fn status(self) -> ContextStatus

The status column of the the protocol table.

Clone, Copy, Debug, Eq, Hash, PartialEq, StructuralPartialEq

Full rustdoc page