Enum ssh_key::certificate::Field
source · pub enum Field {
Show 13 variants
PublicKey,
Nonce,
Serial,
Type,
KeyId,
ValidPrincipals,
ValidAfter,
ValidBefore,
CriticalOptions,
Extensions,
SignatureKey,
Signature,
Comment,
}
Expand description
Certificate fields.
This type is primarily used by the certificate builder for reporting errors in certificates.
Variants§
PublicKey
Subject public key
Nonce
Nonce
Serial
Serial number
Type
Certificate type: user or host
KeyId
Key ID
ValidPrincipals
Valid principals
ValidAfter
Valid after (Unix time)
ValidBefore
Valid before (Unix time)
CriticalOptions
Critical options
Extensions
Extensions
SignatureKey
Signature key (i.e. CA key)
Signature
Signature
Comment
Comment
Implementations§
Trait Implementations§
source§impl Ord for Field
impl Ord for Field
source§impl PartialOrd for Field
impl PartialOrd for Field
impl Copy for Field
impl Eq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)