UNPKG

sslko

Version:

A simple tool to check SSL/TLS certificate information for a given domain.

13 lines (12 loc) 532 B
/** Default port for HTTPS connections */ export const DEFAULT_PORT = 443; /** Minimum and maximum port numbers for network connections */ export const MIN_PORT = 1; /** Maximum port number for network connections */ export const MAX_PORT = 65535; /** Default timeout for network operations in milliseconds */ export const DEFAULT_TIMEOUT = 5000; // 5 seconds /** Number of milliseconds in one day */ export const DAY_IN_MILLISECOND = 8.64e7; /** Minimum RSA key size for secure connections */ export const MIN_RSA_KEY_SIZE = 2048;