Options to construct CA profile packet.

interface Options {
    algoList?: readonly SigningAlgorithm<any, any, any>[];
    cert: Certificate;
    info: string;
    maxValidityPeriod: number;
    prefix: Name;
    probeKeys: string[];
    signer: Signer;
    version?: number;
}

Hierarchy (view full)

Properties

algoList?: readonly SigningAlgorithm<any, any, any>[]

List of recognized algorithms for CA certificate. This must contain the crypto algorithm used by the CA certificate.

Default Value

SigningAlgorithmListSlim

CA certificate.

info: string

CA description.

maxValidityPeriod: number

Maximum ValidityPeriod for issued certificates, in milliseconds.

prefix: Name

CA name prefix.

Remarks

Typically, this should not have "CA" as its last component.

probeKeys: string[]

Property keys for PROBE command.

signer: Signer

Signing key correspond to CA certificate.

version?: number

Version number in the CA profile packet name.

Default Value

Date.now()