pub trait VerifyingKeyLen {
type LEN: ArrayLength;
const VERIFYING_KEY_LEN: usize;
const PUBLIC_KEY_LEN: usize = Self::VERIFYING_KEY_LEN;
}Expand description
Trait for types that provide the length of the public (verifying) key.
Required Associated Constants§
Sourceconst VERIFYING_KEY_LEN: usize
const VERIFYING_KEY_LEN: usize
Length of the public (verifying) key in bytes.
Same as Self::PUBLIC_KEY_LEN.
Provided Associated Constants§
Sourceconst PUBLIC_KEY_LEN: usize = Self::VERIFYING_KEY_LEN
const PUBLIC_KEY_LEN: usize = Self::VERIFYING_KEY_LEN
Length of the public (verifying) key in bytes.
Same as Self::VERIFYING_KEY_LEN.
Required Associated Types§
Sourcetype LEN: ArrayLength
type LEN: ArrayLength
Self::VERIFYING_KEY_LEN as a type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".