Retrieves the specified test certificate or key resource in src/main/resources/certs/ as an InputStream. @param name name of a file in src/main/resources/certs/, e.g., "ca.key". @since 1.8.0
(String name)
| 31 | * @since 1.8.0 |
| 32 | */ |
| 33 | public static InputStream loadCert(String name) { |
| 34 | return TestUtils.class.getResourceAsStream("/certs/" + name); |
| 35 | } |
| 36 | |
| 37 | private TlsTesting() {} |
| 38 | } |
no outgoing calls
no test coverage detected