export type PDFSample = { totalSignatures?: number | undefined; verified?: boolean | undefined; integrity?: boolean | undefined; authenticity?: boolean | undefined; expired?: boolean | undefined; notSupported?: boolean | undefined; }; export namespace attrs { let rootCaAttrs: ({ name: string; value: string; shortName?: undefined; } | { shortName: string; value: string; name?: undefined; })[]; let intermediateCaAttrs: ({ name: string; value: string; shortName?: undefined; } | { shortName: string; value: string; name?: undefined; })[]; let clientAttrs: ({ name: string; value: string; shortName?: undefined; } | { shortName: string; value: string; name?: undefined; })[]; } /** * @typedef PDFSample * @property {number} [totalSignatures] * @property {boolean} [verified] * @property {boolean} [integrity] * @property {boolean} [authenticity] * @property {boolean} [expired] * @property {boolean} [notSupported] */ /** * @type {Record} */ export const pdfSamples: Record; export namespace validitySamples { namespace expiredNotBefore { import notBefore = sampleDates.futureDate; export { notBefore }; import notAfter = sampleDates.futureDate; export { notAfter }; } namespace expiredNotAfter { import notBefore_1 = sampleDates.oldDate; export { notBefore_1 as notBefore }; import notAfter_1 = sampleDates.oldDate; export { notAfter_1 as notAfter }; } namespace validDates { import notBefore_2 = sampleDates.oldDate; export { notBefore_2 as notBefore }; import notAfter_2 = sampleDates.futureDate; export { notAfter_2 as notAfter }; } } declare namespace sampleDates { let futureDate: Date; let oldDate: Date; } export {};