iya-sts
    Preparing search index...

    Variable checkSshHostCertificate

    checkSshHostCertificate: (
        cert: any,
        principal: any,
        authorities: any,
        nowSeconds: any,
    ) => Promise<string> = checkSshHostCertificate

    Type Declaration

      • (cert: any, principal: any, authorities: any, nowSeconds: any): Promise<string>
      • Checks an SSH host certificate as Go's CertChecker.CheckHostKey(principal + ':22', ...) does.

        Parameters

        • cert: any

          the parsed certificate

        • principal: any

          the host name it must be valid for

        • authorities: any

          the trusted certificate authority keys

        • nowSeconds: any

          the time to check validity at

        Returns Promise<string>

        a promise of '' when acceptable, otherwise the reason it is not