Skip to main content

VerifyingKeyLen

Trait VerifyingKeyLen 

Source
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§

Source

const VERIFYING_KEY_LEN: usize

Length of the public (verifying) key in bytes.

Same as Self::PUBLIC_KEY_LEN.

Provided Associated Constants§

Source

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§

Source

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".

Implementors§