pub enum RevocationTrustClass {
ProducerSigned,
RegistryAttested,
}Expand description
The two trust classes of RFC-ACDP-0014 §5–§6. They carry different authority and MUST be reported distinguishably — never collapsed (§6).
Variants§
ProducerSigned
Signed by the producer’s own current, non-revoked key (§5): the stronger class, backed by the same trust anchor as every ACDP body. Consumers act on it without further judgment (§7).
RegistryAttested
Published under the registry’s identity on the producer’s behalf after an out-of-band identity check (§6): the weaker, lost-everything fallback. It imports registry trust — a hostile or deceived registry can fabricate one. Strict-profile default: apply §7 only for contexts served by or receipted by that same registry; seek corroboration before applying it globally.
Trait Implementations§
Source§impl Clone for RevocationTrustClass
impl Clone for RevocationTrustClass
Source§fn clone(&self) -> RevocationTrustClass
fn clone(&self) -> RevocationTrustClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RevocationTrustClass
Source§impl Debug for RevocationTrustClass
impl Debug for RevocationTrustClass
Source§impl<'de> Deserialize<'de> for RevocationTrustClass
impl<'de> Deserialize<'de> for RevocationTrustClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RevocationTrustClass
Source§impl PartialEq for RevocationTrustClass
impl PartialEq for RevocationTrustClass
Source§fn eq(&self, other: &RevocationTrustClass) -> bool
fn eq(&self, other: &RevocationTrustClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevocationTrustClass
impl Serialize for RevocationTrustClass
impl StructuralPartialEq for RevocationTrustClass
Auto Trait Implementations§
impl Freeze for RevocationTrustClass
impl RefUnwindSafe for RevocationTrustClass
impl Send for RevocationTrustClass
impl Sync for RevocationTrustClass
impl Unpin for RevocationTrustClass
impl UnsafeUnpin for RevocationTrustClass
impl UnwindSafe for RevocationTrustClass
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.