pub struct InProcessCoSigner { /* private fields */ }Expand description
In-process reference implementation of BilateralCoSigningProtocol.
Holds the origin kernel’s signing keypair directly, so tests and single-host integration environments can exercise the co-signing path without an actual mTLS transport. Production deployments should wrap the remote kernel behind an attested RPC client instead.
Implementations§
Trait Implementations§
Source§impl BilateralCoSigningProtocol for InProcessCoSigner
impl BilateralCoSigningProtocol for InProcessCoSigner
Source§fn request_cosignature(
&self,
request: &CoSigningRequest,
) -> Result<CoSigningResponse, BilateralCoSigningError>
fn request_cosignature( &self, request: &CoSigningRequest, ) -> Result<CoSigningResponse, BilateralCoSigningError>
Request a co-signature for a receipt that this kernel already
signed. The caller is the tool-host kernel (Org B); the remote is
the origin kernel (Org A) whose agent initiated the call.
Auto Trait Implementations§
impl Freeze for InProcessCoSigner
impl RefUnwindSafe for InProcessCoSigner
impl Send for InProcessCoSigner
impl Sync for InProcessCoSigner
impl Unpin for InProcessCoSigner
impl UnsafeUnpin for InProcessCoSigner
impl UnwindSafe for InProcessCoSigner
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