pub struct RevocationListEnvelope {
pub revocation_list: RevocationList,
pub signature: String,
}Expand description
On-wire envelope: {"revocation_list": {...}, "signature": "..."}.
Per RFC-AITP-0008 §1.5, both revocation_list and signature are
REQUIRED. signature is base64url over
sha256(JCS({"revocation_list": {...}})) — the envelope minus the
signature field — per the v0.2 kat-revocation-001 vector.
Fields§
§revocation_list: RevocationListThe signed inner snapshot.
signature: StringIssuer’s base64url signature over JCS-canonical bytes of
{"revocation_list": {...}}.
Trait Implementations§
Source§impl Clone for RevocationListEnvelope
impl Clone for RevocationListEnvelope
Source§fn clone(&self) -> RevocationListEnvelope
fn clone(&self) -> RevocationListEnvelope
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 moreSource§impl Debug for RevocationListEnvelope
impl Debug for RevocationListEnvelope
Source§impl<'de> Deserialize<'de> for RevocationListEnvelope
impl<'de> Deserialize<'de> for RevocationListEnvelope
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 RevocationListEnvelope
Source§impl PartialEq for RevocationListEnvelope
impl PartialEq for RevocationListEnvelope
Source§fn eq(&self, other: &RevocationListEnvelope) -> bool
fn eq(&self, other: &RevocationListEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevocationListEnvelope
impl Serialize for RevocationListEnvelope
impl StructuralPartialEq for RevocationListEnvelope
Auto Trait Implementations§
impl Freeze for RevocationListEnvelope
impl RefUnwindSafe for RevocationListEnvelope
impl Send for RevocationListEnvelope
impl Sync for RevocationListEnvelope
impl Unpin for RevocationListEnvelope
impl UnsafeUnpin for RevocationListEnvelope
impl UnwindSafe for RevocationListEnvelope
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.