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.
Variants
Section titled “Variants”Descriptor
Section titled “Descriptor”CommunityDescriptor, signed by the root key.
Delegation
Section titled “Delegation”HostDelegation, signed by the root key.
RootRotation
Section titled “RootRotation”RootRotation, signed by the old and the new root key.
MemberKey
Section titled “MemberKey”MemberKeyRegistration, signed by the member key.
HostSession
Section titled “HostSession”HostSessionProof, signed by the host key.
Checkpoint
Section titled “Checkpoint”PublicCheckpoint, signed by the host key. Experimental.
MemberReauth
Section titled “MemberReauth”MemberReauth, signed by the member key (migration).
ExportManifest
Section titled “ExportManifest”ExportManifest, signed by the host key (ADR-0013).
Verification
Section titled “Verification”VerificationAssertion, signed by a verifier key. Reserved.
VoiceKeyPackage
Section titled “VoiceKeyPackage”VoiceKeyPackage, signed by the member key (ADR-0018). Experimental.
VoiceSenderKeys
Section titled “VoiceSenderKeys”VoiceSenderKeys, signed by the member key (ADR-0018). Experimental.
BotPackage
Section titled “BotPackage”BotPackage, signed by a publisher key (ADR-0019, the protocol).
Methods
Section titled “Methods”as_bytes
Section titled “as_bytes”pub const fn as_bytes(self) -> &'static [u8]The ASCII ctx bytes.
status
Section titled “status”pub const fn status(self) -> ContextStatusThe status column of the the protocol table.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Eq, Hash, PartialEq, StructuralPartialEq