feat: download certificate archive

This commit is contained in:
Fu Diwei
2025-01-18 07:07:50 +08:00
parent d28b89f03e
commit d5e4ea385d
16 changed files with 265 additions and 139 deletions

View File

@@ -19,3 +19,11 @@ export const CERTIFICATE_SOURCES = Object.freeze({
} as const);
export type CertificateSourceType = (typeof CERTIFICATE_SOURCES)[keyof typeof CERTIFICATE_SOURCES];
export const CERTIFICATE_FORMATS = Object.freeze({
PEM: "PEM",
PFX: "PFX",
JKS: "JKS",
} as const);
export type CertificateFormatType = (typeof CERTIFICATE_FORMATS)[keyof typeof CERTIFICATE_FORMATS];