Interface ServerOptions

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

Properties

challenges: readonly ServerChallenge<any>[]

Supported challenges.

issuerId?: ComponentLike

IssuerId on issued certificates.

Producer options.

  • .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.