PKI-Lite - v1.0.5
    Preparing search index...
    PKIFailureInfo: {
        ADD_INFO_NOT_AVAILABLE: 17;
        BAD_ALG: 0;
        BAD_DATA_FORMAT: 5;
        BAD_REQUEST: 2;
        SYSTEM_FAILURE: 25;
        TIME_NOT_AVAILABLE: 14;
        UNACCEPTED_EXTENSION: 16;
        UNACCEPTED_POLICY: 15;
    } = ...

    PKI Failure Info bit flags as defined in RFC 3161. These provide specific information about why a request failed.

    Type Declaration

    • ReadonlyADD_INFO_NOT_AVAILABLE: 17

      The additional information requested could not be understood or is not available

    • ReadonlyBAD_ALG: 0

      Unrecognized or unsupported algorithm identifier

    • ReadonlyBAD_DATA_FORMAT: 5

      The data submitted has the wrong format

    • ReadonlyBAD_REQUEST: 2

      Transaction not permitted or supported

    • ReadonlySYSTEM_FAILURE: 25

      The request cannot be handled due to system failure

    • ReadonlyTIME_NOT_AVAILABLE: 14

      The TSA's time source is not available

    • ReadonlyUNACCEPTED_EXTENSION: 16

      The requested extension is not supported

    • ReadonlyUNACCEPTED_POLICY: 15

      The requested TSA policy is not supported

    if (response.status.failInfo === PKIFailureInfo.BAD_ALG) {
    console.log('Unrecognized or unsupported algorithm')
    }