private static boolean matchStringValue(final String matchKey, final JsonNode matchValue, final ASN1Primitive value) {
        if (value instanceof final DEROctetString octetString) {
            val readValue = new String(octetString.getOctets(), CHARSET);
            return matchValue.asText().equals(readValue);
        }
        LOGGER.debug("Expected text string value for extension {}, was: {}", matchKey, value);
        return false;
    }
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