Struct crypto::voice::SignedKeyPackage
zaun_community_protocol::crypto::voice::SignedKeyPackage · Struct
pub struct SignedKeyPackage(…)A key package whose signature was made here or verified.
Methods
Section titled “Methods”package
Section titled “package”pub const fn package(&self) -> &KeyPackageThe package.
pub fn hash(&self) -> [u8; 32]SHA3-256 of the canonical bytes: bound into every key wrapped to this package.
to_wire
Section titled “to_wire”pub fn to_wire(&self) -> Vec<u8>The wire form: canonical bytes ‖ signature.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Eq, PartialEq, StructuralPartialEq