Files
certd/packages/ui/certd-server/src/plugins/plugin-wangsu/lib/common/Constant.ts
T

20 lines
774 B
TypeScript
Raw Normal View History

2025-07-10 23:30:33 +08:00
export class Constant {
2026-05-31 01:41:33 +08:00
private constructor() {}
2025-07-10 23:30:33 +08:00
2026-05-31 01:41:33 +08:00
public static readonly HTTP_REQUEST_PREFIX: string = "https://open.chinanetcenter.com";
public static readonly HTTPS_REQUEST_PREFIX: string = "https://";
public static readonly HTTP_DOMAIN: string = "open.chinanetcenter.com";
2025-07-10 23:30:33 +08:00
2026-05-31 01:41:33 +08:00
public static readonly APPLICATION_JSON: string = "application/json";
2025-07-10 23:30:33 +08:00
2026-05-31 01:41:33 +08:00
public static readonly HEAD_SIGN_ACCESS_KEY: string = "x-cnc-accessKey";
public static readonly HEAD_SIGN_TIMESTAMP: string = "x-cnc-timestamp";
public static readonly HEAD_SIGN_ALGORITHM: string = "CNC-HMAC-SHA256";
2025-07-10 23:30:33 +08:00
2026-05-31 01:41:33 +08:00
public static readonly X_CNC_AUTH_METHOD: string = "x-cnc-auth-method";
2025-07-10 23:30:33 +08:00
2026-05-31 01:41:33 +08:00
public static readonly AUTH_METHOD: string = "AKSK";
2025-07-10 23:30:33 +08:00
2026-05-31 01:41:33 +08:00
public static readonly END_POINT: string = "{endPoint}";
2025-07-10 23:30:33 +08:00
}