pub struct Status {
pub id: Namespace,
pub is_initialized: bool,
pub is_secure: bool,
pub generation: u64,
pub rotation_epoch: EpochTime,
pub checksum: Vec<u8>,
pub nodes: Vec<PublicKey>,
pub policy: Option<SignedPolicySGX>,
pub next_policy: Option<SignedPolicySGX>,
pub rsk: Option<PublicKey>,
}Expand description
Current key manager status.
Fields§
§id: NamespaceRuntime ID of the key manager.
is_initialized: boolTrue iff the key manager is done initializing.
is_secure: boolTrue iff the key manager is secure.
generation: u64Generation of the latest master secret.
rotation_epoch: EpochTimeEpoch of the last master secret rotation.
checksum: Vec<u8>Key manager master secret verification checksum.
nodes: Vec<PublicKey>List of currently active key manager node IDs.
policy: Option<SignedPolicySGX>Key manager policy.
next_policy: Option<SignedPolicySGX>Key manager policy scheduled to take effect in the next epoch.
rsk: Option<PublicKey>Runtime signing key of the key manager.
Trait Implementations§
Source§impl Decode for Status
impl Decode for Status
Source§fn try_default() -> Result<Self, DecodeError>
fn try_default() -> Result<Self, DecodeError>
Try to decode from a missing/null/undefined value.
Source§fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
Try to decode from a given CBOR value.
§fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
Try to decode from a given CBOR value, calling
try_default in case the value is null or
undefined.Source§impl EncodeAsMap for Status
impl EncodeAsMap for Status
§fn into_cbor_value_map(self) -> Valuewhere
Self: Sized,
fn into_cbor_value_map(self) -> Valuewhere
Self: Sized,
Encode the type into a CBOR Map.
§fn into_cbor_map(self) -> Vec<(Value, Value)>where
Self: Sized,
fn into_cbor_map(self) -> Vec<(Value, Value)>where
Self: Sized,
Encode the type into a CBOR Map, returning the map items.
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.