Trait HasPrivate
pub unsafe trait HasPrivate { }Available on crate features
boring and crypto and std only.Expand description
A trait indicating that a key has private components.
§Safety
Implementors must ensure that every key typed with Self has its private
components set (and therefore its public components, see HasPublic).
Private accessors such as RsaRef::d convert the native pointers to
references without null checks.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".