void setEnabledProtocols(String[] protocols) {
        if (protocols == null) {
            throw new IllegalArgumentException("protocols == null");
        } else if (isSpake()) {
            return;
        }
        String[] filteredProtocols =
                filterFromProtocols(protocols, Arrays.asList(!Platform.isTlsV1Filtered()
                    ? new String[0]
                    : new String[] {
                        NativeCrypto.OBSOLETE_PROTOCOL_SSLV3,
                        NativeCrypto.DEPRECATED_PROTOCOL_TLSV1,
                        NativeCrypto.DEPRECATED_PROTOCOL_TLSV1_1,
                    }));
        isEnabledProtocolsFiltered = protocols.length != filteredProtocols.length;
        enabledProtocols = NativeCrypto.checkEnabledProtocols(filteredProtocols).clone();
    }
Returns X.509 key manager or null for none.
common/src/main/java/org/conscrypt/SSLParametersImpl.java