Skip to main content

HasParams

Trait HasParams 

pub unsafe trait HasParams { }
Available on crate feature boring only.
Expand description

A trait indicating that a key has parameters.

§Safety

Implementors must ensure that every key (PKey, Rsa, Dsa, EcKey, …) typed with Self has its domain parameters set. Accessors on such keys convert the native parameter pointers to references without null checks.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

§

impl HasParams for Params

§

impl<T> HasParams for T
where T: HasPublic,