pub struct RotationSuccessor {
pub kid: String,
pub alg: String,
pub public_key_multibase: String,
pub not_before: String,
pub not_after: String,
}Expand description
The successor a rotation attestation names: the key, its fragment, and its activation bounds.
Fields§
§kid: StringThe fragment a later proof.verificationMethod will carry — the join
key of the chain.
alg: String§8.1’s JWS spelling (EdDSA, ES256) — NOT the §8.4.5 TXT spelling
(ed25519, p256). The mapping between the two vocabularies is
stated once in spec/aph-0.2.md §5 rather than rediscovered per
implementation, exactly as RFC 0001 §2.2 asked.
public_key_multibase: StringThe successor key bytes themselves, multibase. Naming a kid without
the bytes would let whoever controls publication bind the kid to a
key of their choosing — the attack this mechanism exists to stop.
not_before: StringRFC 3339 activation lower bound, §8.4.5’s vocabulary.
not_after: StringRFC 3339 activation upper bound.
Trait Implementations§
Source§impl Clone for RotationSuccessor
impl Clone for RotationSuccessor
Source§impl Debug for RotationSuccessor
impl Debug for RotationSuccessor
Source§impl<'de> Deserialize<'de> for RotationSuccessor
impl<'de> Deserialize<'de> for RotationSuccessor
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 RotationSuccessor
Source§impl PartialEq for RotationSuccessor
impl PartialEq for RotationSuccessor
Source§impl Serialize for RotationSuccessor
impl Serialize for RotationSuccessor
impl StructuralPartialEq for RotationSuccessor
Auto Trait Implementations§
impl Freeze for RotationSuccessor
impl RefUnwindSafe for RotationSuccessor
impl Send for RotationSuccessor
impl Sync for RotationSuccessor
impl Unpin for RotationSuccessor
impl UnsafeUnpin for RotationSuccessor
impl UnwindSafe for RotationSuccessor
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