Interface ClientOptions

interface ClientOptions {
    challenges: ClientChallenge[];
    cOpts?: ConsumerOptions;
    privateKey: NamedSigner.PrivateKey;
    profile: CaProfile;
    publicKey: NamedVerifier.PublicKey;
    validity?: ValidityPeriod;
}

Properties

challenges: ClientChallenge[]

Challenges in preferred order.

Consumer options.

  • .describe defaults to "NDNCERT-client" + CA prefix + key name.
  • .retx defaults to 4.
  • .verifier is overridden.

Private key corresponding to the public key.

profile: CaProfile

CA profile.

Public key to request certificate for.

validity?: ValidityPeriod

ValidityPeriod of the certificate request.

This will be truncated to the maximum allowed by CA profile.