NDNts

    Interface ClientOptions

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

    Properties

    challenges: readonly 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.

    MMNEPVFCICPMFPCPTTAAATR