pub struct PublicKeyInfo {
pub verifying_key_hex: String,
pub revoked: bool,
}Expand description
A key’s public half plus its revocation state, read directly from the
stored record’s plaintext verifying_key_hex/revoked fields — no
private-key decryption involved. For callers (like the did:web document
builder in dpp-vc) that only ever need the public key, this avoids an
AES-GCM decrypt per key on every call.
Fields§
§verifying_key_hex: String§revoked: boolAuto Trait Implementations§
impl Freeze for PublicKeyInfo
impl RefUnwindSafe for PublicKeyInfo
impl Send for PublicKeyInfo
impl Sync for PublicKeyInfo
impl Unpin for PublicKeyInfo
impl UnsafeUnpin for PublicKeyInfo
impl UnwindSafe for PublicKeyInfo
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