AgentOS Extensions API - v1.0.3
    Preparing search index...

    Base configuration shared by all anchor providers.

    interface RekorProviderConfig {
        publicKeyPem?: string;
        retries?: number;
        retryDelayMs?: number;
        serverUrl?: string;
        signArtifact?: (
            bytes: Uint8Array,
        ) => Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>>;
        timeoutMs?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    publicKeyPem?: string

    PEM-encoded Ed25519 public key matching the signer. Required for publish() because Rekor's hashedrekord verifier needs the public key to validate signArtifact's signature against the artifact hash.

    retries?: number

    Number of retries on transient failures. Default: 3.

    retryDelayMs?: number

    Base delay between retries in milliseconds. Default: 1000.

    serverUrl?: string

    Rekor server URL. Default: 'https://rekor.sigstore.dev'.

    signArtifact?: (
        bytes: Uint8Array,
    ) => Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>>

    Sign the artifact's raw bytes (NOT the hex string) using the same Ed25519 keypair whose public key is in publicKeyPem. Required for publish(). Receives the canonical-anchor SHA-256 bytes and must return an Ed25519 signature.

    timeoutMs?: number

    Request timeout in milliseconds. Default: 30000.