BuildCandidatePathInput
Input for buildCandidatePath.
ts
interface BuildCandidatePathInput {
readonly leaf: CertificateSource;
readonly intermediates?: readonly CertificateSource[];
readonly roots: readonly CertificateSource[];
readonly trustAnchors?: readonly TrustAnchor[];
readonly at?: Date;
}Properties
readonlyleaf:CertificateSource— End-entity certificate to verify.readonlyintermediates?:readonlyCertificateSource[]— Intermediate CA certificates available for path building. Order does not matter.readonlyroots:readonlyCertificateSource[]— Trusted root CA certificates. At least one root or trust anchor must be supplied.readonlytrustAnchors?:readonlyTrustAnchor[]— Bare trust anchors to try when no root certificate matches.readonlyat?:Date— Validation time. Defaults tonew Date().