Interface ServerOptions

interface ServerOptions {
    challenges: readonly ServerChallenge<any>[];
    endpoint?: Endpoint;
    issuerId?: ComponentLike;
    pOpts?: ProducerOptions;
    probe?: ProbeHandler;
    profile: CaProfile;
    repo: RepoDataStore;
    repoFwHint?: FwHint;
    signer: Signer;
}

Properties

challenges: readonly ServerChallenge<any>[]

Supported challenges.

endpoint?: Endpoint

Endpoint for communication.

Deprecated

Specify .pOpts.

issuerId?: ComponentLike

IssuerId on issued certificates.

Producer options.

Remarks

  • .describe defaults to "NDNCERT-CA" + CA prefix.
  • .announcement is overridden as CA prefix + "/CA".
probe?: ProbeHandler

PROBE command handler.

profile: CaProfile

The CA profile.

repo: RepoDataStore

Repo for storing issued certificates.

repoFwHint?: FwHint

Forwarding hint to retrieve certificates from the repo.

signer: Signer

CA private key, must match the certificate in the CA profile.