Skip to content
providerkit
GitHub

verifyAgentCard

function verifyAgentCard(card, keys): Promise<boolean>;

Defined in: agents/src/a2a/signing.ts:290

Keys are pinned by the host. Never follows jku/x5u or trusts a key embedded in a card. True means one pinned signature is valid, not that the signer has any application permission.

Parameter Type
card A2AAgentCard
keys Readonly<Record<string, CryptoKey>>

Promise<boolean>