AxUCPHTTPMessageSignatureOptions Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxUCPHTTPMessageSignatureOptions.md interface AxUCPHTTPMessageSignatureOptions

AxUCPHTTPMessageSignatureOptions

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ucp/signing.ts#L3

Properties

PropertyType
algorithm?string
components?readonly ( | "content-type" | "@method" | "@authority" | "@path" | "@query" | "ucp-agent" | "content-digest" | "request-id" | "idempotency-key")[]
created?() => number
keyIdstring
label?string
nonce?() => string

Methods

sign()

TypeScript
sign(signatureBase: Uint8Array, context: Readonly<{
  signatureInput: string;
}>): 
  | ArrayBuffer
  | Uint8Array<ArrayBufferLike>
| Promise<ArrayBuffer | Uint8Array<ArrayBufferLike>>;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ucp/signing.ts#L20

Parameters

ParameterType
signatureBaseUint8Array
contextReadonly<{ signatureInput: string; }>

Returns

| ArrayBuffer | Uint8Array<ArrayBufferLike> | Promise<ArrayBuffer | Uint8Array<ArrayBufferLike>>

Docs