pub enum KeyTrust {
NotAuth,
NotPrivate,
AuthOrPrivate,
DoNotTrust,
}
Expand description
Specifies in what contexts this key may be trusted for use
Variants
NotAuth
Use of the key is prohibited for authentication
NotPrivate
Use of the key is prohibited for confidentiality
AuthOrPrivate
Use of the key for authentication and/or confidentiality is permitted
DoNotTrust
If both bits are one, the “no key” value, (revocation?)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyTrust
impl UnwindSafe for KeyTrust
Blanket Implementations
Mutably borrows from an owned value. Read more