private static boolean matchTypedValue(final String matchKey, final JsonNode matchValue, final ASN1Primitive value) {
        val extensionValueType = matchValue.get(EXTENSION_VALUE_TYPE).textValue();
        return switch (extensionValueType) {
            case EXTENSION_VALUE_TYPE_HEX -> matchHex(matchKey, matchValue, value);
            default -> throw new IllegalArgumentException(
                String.format(
                    "Unknown extension value type \"%s\" for extension \"%s\"",
                    extensionValueType, matchKey));
        };
    }
This is {@link ExtensionMatcher}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-webauthn-core/src/main/java/com/yubico/webauthn/attestation/matcher/ExtensionMatcher.java