INNER CODE UNIT · Java

MAX_VERIFY_INTERVAL

GrapheneOS/AttestationServer · src/main/java/app/attestation/server/AttestationServer.java:79

    private static final int MAX_VERIFY_INTERVAL = 7 * 24 * 60 * 60;
    private static final int DEFAULT_ALERT_DELAY = 48 * 60 * 60;
    private static final int MIN_ALERT_DELAY = 32 * 60 * 60;
    private static final int MAX_ALERT_DELAY = 2 * 7 * 24 * 60 * 60;
    private static final int BUSY_TIMEOUT = 10 * 1000;
    private static final int QR_CODE_PIXEL_SIZE = 300;
    private static final long SESSION_LENGTH = 48 * 60 * 60 * 1000;
    private static final int HISTORY_PER_PAGE = 20;
    private static final long MMAP_SIZE = 1024 * 1024 * 1024;

    static final String DOMAIN = "attestation.app";
    private static final String ORIGIN = "https://" + DOMAIN;

    private static final long POST_START_DELAY_MS = 1000;

    private static final Logger logger = Logger.getLogger(AttestationServer.class.getName());

    // This should be moved to a table in the database so that it can be modified dynamically

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…