public static TlsKeyPair of(PrivateKey key, Iterable<? extends X509Certificate> certificateChain) {
        requireNonNull(key, "key");
        requireNonNull(certificateChain, "certificateChain");
        return new TlsKeyPair(key, ImmutableList.copyOf(certificateChain));
    }
Creates a new {@link TlsKeyPair} from the specified {@link PrivateKey} and {@link X509Certificate}s.
core/src/main/java/com/linecorp/armeria/common/TlsKeyPair.java