pub struct SeaBeeKey {
pub seabee_path: PathBuf,
pub sig_path: PathBuf,
pub sig_digest: SeaBeeDigest,
pub key: PKey<Public>,
pub id: u32,
/* private fields */
}Expand description
A key used to verify SeaBeePolicy Updates
Fields§
§seabee_path: PathBufThe path on disk where this key is saved
sig_path: PathBufThe path on disk where the signature for this key is saved
sig_digest: SeaBeeDigestThe digest used to sign this key
key: PKey<Public>The key itself, see openssl::pkey::Pkey
id: u32The id used to identify this key
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeaBeeKey
impl RefUnwindSafe for SeaBeeKey
impl Send for SeaBeeKey
impl Sync for SeaBeeKey
impl Unpin for SeaBeeKey
impl UnwindSafe for SeaBeeKey
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more