AxUCPHTTPMessageVerifier
Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ucp/signing.ts#L248
Stateful RFC 9421 response verifier with profile-key rotation support.
Constructors
Constructor
new AxUCPHTTPMessageVerifier(options: Readonly<AxUCPHTTPMessageVerificationOptions>): AxUCPHTTPMessageVerifier;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ucp/signing.ts#L251
Parameters
| Parameter | Type |
|---|---|
options | Readonly<AxUCPHTTPMessageVerificationOptions> |
Returns
AxUCPHTTPMessageVerifier
Methods
clearReplayCache()
clearReplayCache(): void;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ucp/signing.ts#L535
Returns
void
verify()
verify(response: Response, context: Readonly<{
body: string;
refreshSigningKeys?: () =>
| readonly Record<string, unknown>[]
| Promise<readonly Record<string, unknown>[]>;
signingKeys: readonly Record<string, unknown>[];
}>): Promise<void>;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ucp/signing.ts#L255
Parameters
| Parameter | Type |
|---|---|
response | Response |
context | Readonly<{ body: string; refreshSigningKeys?: () => | readonly Record<string, unknown>[] | Promise<readonly Record<string, unknown>[]>; signingKeys: readonly Record<string, unknown>[]; }> |
Returns
Promise<void>
verifyRequest()
verifyRequest(request: Request, context: Readonly<{
body: string;
refreshSigningKeys?: () =>
| readonly Record<string, unknown>[]
| Promise<readonly Record<string, unknown>[]>;
signingKeys: readonly Record<string, unknown>[];
}>): Promise<void>;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ucp/signing.ts#L389
Parameters
| Parameter | Type |
|---|---|
request | Request |
context | Readonly<{ body: string; refreshSigningKeys?: () => | readonly Record<string, unknown>[] | Promise<readonly Record<string, unknown>[]>; signingKeys: readonly Record<string, unknown>[]; }> |
Returns
Promise<void>