Class TlsTesting


  • @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1791")
    public final class TlsTesting
    extends Object
    Convenience utilities for using TLS in tests.
    • Method Detail

      • loadCert

        public static InputStream loadCert​(String name)
        Retrieves the specified test certificate or key resource in src/main/resources/certs/ as an InputStream.
        Parameters:
        name - name of a file in src/main/resources/certs/, e.g., "ca.key".
        Since:
        1.8.0