pub struct KeychainAttestor { /* private fields */ }Expand description
Linux Secret Service backend skeleton. Unimplemented in v0.
Implementations§
Trait Implementations§
Source§impl Attestor for KeychainAttestor
Available on Linux only.
impl Attestor for KeychainAttestor
Available on Linux only.
Source§fn sign(&self, _signing_input: &[u8]) -> Signature
fn sign(&self, _signing_input: &[u8]) -> Signature
Sign the canonical signing input bytes. Read more
Source§fn key_id(&self) -> &str
fn key_id(&self) -> &str
Stable fingerprint of the public verifying key. Embedded into every
attestation preimage and matched on verify (see
VerifyError::KeyIdMismatch).Source§fn verifying_key(&self) -> VerifyingKey
fn verifying_key(&self) -> VerifyingKey
The verifying key for this attestor — exposed so test harnesses and
cortex audit verify can reconstruct the public side without going
through OS-specific lookup. OS-keychain backends MUST publish the
public key alongside the private key (see ADR 0010 §3).Auto Trait Implementations§
impl Freeze for KeychainAttestor
impl RefUnwindSafe for KeychainAttestor
impl Send for KeychainAttestor
impl Sync for KeychainAttestor
impl Unpin for KeychainAttestor
impl UnsafeUnpin for KeychainAttestor
impl UnwindSafe for KeychainAttestor
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