KeySize

Trait KeySize 

Source
pub trait KeySize {
    type Digest: 'static + Digest + DynDigest + AssociatedOid + Send + Sync;

    const SIZE: usize;
}
Expand description

An RSA key size

Required Associated Constants§

Source

const SIZE: usize

The size in bytes

Required Associated Types§

Source

type Digest: 'static + Digest + DynDigest + AssociatedOid + Send + Sync

The digest algorithm

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§