static String getClientKeyType(byte clientCertificateType) {
        // See also
        // https://www.ietf.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-2
        switch (clientCertificateType) {
            case NativeConstants.TLS_CT_RSA_SIGN:
                return KEY_TYPE_RSA; // RFC rsa_sign
            case NativeConstants.TLS_CT_ECDSA_SIGN:
                return KEY_TYPE_EC; // RFC ecdsa_sign
            default:
                return null;
        }
    }
Similar to getServerKeyType, but returns value given TLS
ClientCertificateType byte values from a CertificateRequest
message for use with X509KeyManager.chooseClientAlias or
X509ExtendedKeyManager.chooseEngineClientAlias.
<p>
Visible for testing.
common/src/main/java/org/conscrypt/SSLUtils.java