pub struct RevocationInput<'a> {
pub rid: &'a str,
pub identity_did: &'a IdentityDID,
pub subject: &'a CanonicalDid,
pub device_public_key: &'a [u8],
pub device_curve: CurveType,
pub note: Option<String>,
pub payload: Option<Value>,
pub timestamp: DateTime<Utc>,
pub identity_alias: &'a KeyAlias,
}Expand description
Inputs for create_signed_revocation.
Fields§
§rid: &'a strResource identifier of the attestation being revoked.
identity_did: &'a IdentityDIDIssuing identity DID (did:keri:…).
subject: &'a CanonicalDidSubject DID being revoked. Wire-format compatible: accepts
either did:key: or did:keri: forms.
device_public_key: &'a [u8]Raw device public key bytes (32 Ed25519, 33 P-256 compressed).
device_curve: CurveTypeSigning curve of device_public_key.
note: Option<String>Optional note explaining the revocation reason.
payload: Option<Value>Optional JSON payload (usually None).
timestamp: DateTime<Utc>Timestamp of the revocation.
identity_alias: &'a KeyAliasIdentity-key alias in the keychain.
Auto Trait Implementations§
impl<'a> Freeze for RevocationInput<'a>
impl<'a> RefUnwindSafe for RevocationInput<'a>
impl<'a> Send for RevocationInput<'a>
impl<'a> Sync for RevocationInput<'a>
impl<'a> Unpin for RevocationInput<'a>
impl<'a> UnsafeUnpin for RevocationInput<'a>
impl<'a> UnwindSafe for RevocationInput<'a>
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