Skip to content

Enum keys::Suite

zaun_community_protocol::keys::Suite · Enum

pub enum Suite { … }

A signature suite. 0x00 and 0x02–0xFF are rejected.

RFC 10073 id-MLDSA65-Ed25519-SHA512 (OID 1.3.6.1.5.5.7.6.48).

pub const fn from_byte(byte: u8) -> Option<Self>

Parses a suite byte.

pub const fn byte(self) -> u8

The suite byte.

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

Full rustdoc page