agentconnect.core.registry.identity_verification module

Agent identity verification utilities for the AgentConnect framework.

This module provides functions for verifying agent identities using decentralized identifiers (DIDs) and cryptographic signatures.

async verify_agent_identity(identity)

Verify agent’s DID and public key.

Parameters:

identity (AgentIdentity) – Agent’s decentralized identity

Return type:

bool

Returns:

True if the identity is verified, False otherwise

async verify_ethereum_did(identity)

Verify Ethereum-based DID.

Parameters:

identity (AgentIdentity) – Agent’s Ethereum-based decentralized identity

Return type:

bool

Returns:

True if the identity is verified, False otherwise

async verify_key_did(identity)

Verify key-based DID.

Parameters:

identity (AgentIdentity) – Agent’s key-based decentralized identity

Return type:

bool

Returns:

True if the identity is verified, False otherwise