(path: string)
| 77 | } |
| 78 | |
| 79 | async getCachedCustomCert(path: string): Promise<string | undefined> { |
| 80 | if (this._customCerts.has(path)) { |
| 81 | return this._customCerts.get(path); |
| 82 | } |
| 83 | const certContent = getCertificateContent(path); |
| 84 | this._customCerts.set(path, certContent); |
| 85 | return certContent; |
| 86 | } |
| 87 | |
| 88 | async getAllCachedCustomCerts( |
| 89 | caBundlePath: string[] | string, |
no test coverage detected