Interface ClientOptions

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

Properties

Consumer options.

Remarks

  • .describe defaults to "NDNCERT-client" + CA prefix + key name.
  • .retx defaults to 4.
  • .verifier is overridden.
challenges: ClientChallenge[]

Challenges in preferred order.

Private key corresponding to the public key.

profile: CaProfile

CA profile.

Public key to request certificate for.

validity?: ValidityPeriod

ValidityPeriod of the certificate request.

Remarks

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