public TlsProviderBuilder trustedCertificates(String hostname, X509Certificate... trustedCertificates) {
        requireNonNull(trustedCertificates, "trustedCertificates");
        return trustedCertificates(hostname, ImmutableList.copyOf(trustedCertificates));
    }
Sets the specified {@link X509Certificate}s to the trusted certificates that will be used for verifying
the remote endpoint's certificate.

<p>The system default will be used if no specific trusted certificates are set for a hostname and no
default trusted certificates are set.
core/src/main/java/com/linecorp/armeria/common/TlsProviderBuilder.java