PKI-Lite - v1.0.5
    Preparing search index...
    PKIStatus: {
        GRANTED: 0;
        GRANTED_WITH_MODS: 1;
        REJECTION: 2;
        REVOCATION_NOTIFICATION: 5;
        REVOCATION_WARNING: 4;
        WAITING: 3;
    } = ...

    PKI Status values as defined in RFC 3161. These values indicate the result of a timestamp request.

    Type Declaration

    • ReadonlyGRANTED: 0

      Request granted successfully

    • ReadonlyGRANTED_WITH_MODS: 1

      Request granted with some modifications

    • ReadonlyREJECTION: 2

      Request rejected

    • ReadonlyREVOCATION_NOTIFICATION: 5

      Notification about certificate revocation

    • ReadonlyREVOCATION_WARNING: 4

      Warning about certificate revocation

    • ReadonlyWAITING: 3

      Request is waiting for processing

    if (response.status.status === PKIStatus.GRANTED) {
    console.log('Timestamp successfully granted')
    } else if (response.status.status === PKIStatus.REJECTION) {
    console.log('Timestamp request rejected')
    }