Skip to main content

IdentityBridge

Trait IdentityBridge 

Source
pub trait IdentityBridge: Send + Sync {
    // Provided methods
    fn sign_pattern(
        &self,
        pattern_id: &str,
        content_hash: &str,
    ) -> Result<String, String> { ... }
    fn verify_pattern_signature(
        &self,
        pattern_id: &str,
        signature: &str,
    ) -> bool { ... }
}
Expand description

Bridge to agentic-identity for signing patterns.

Provided Methods§

Source

fn sign_pattern( &self, pattern_id: &str, content_hash: &str, ) -> Result<String, String>

Source

fn verify_pattern_signature(&self, pattern_id: &str, signature: &str) -> bool

Implementors§