Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Type Alias CertificateOptions

    type CertificateOptions = {
        isTrustedRoot?: boolean;
        moment?: Date | null;
        store?: { intermediate?: Set<Certificate>; root?: Set<Certificate> };
    }
    Index

    Properties

    isTrustedRoot?: boolean

    Indicate this certificate is a root certificate that we trust -- it will get a "chain" parameter even if no "store" is provided or if it is not in the store. This is because otherwise we would need to load trusted certificates twice, once for the store and once for the chain.

    moment?: Date | null

    The moment at which the certificate is being validated, or null if the moment is indeterminate and unknowable -- in which case the certificate validity period is not checked

    store?: { intermediate?: Set<Certificate>; root?: Set<Certificate> }

    Certificate store to use for verifying the certificate

    Type declaration

    • Optionalintermediate?: Set<Certificate>

      Intermediate certificates

    • Optionalroot?: Set<Certificate>

      Root certificates