private boolean deviceMatches(
        final JsonNode selectors, @NonNull final X509Certificate attestationCertificate) {
        if (selectors == null || selectors.isNull()) {
            return true;
        } else {
            for (val selector : selectors) {
                val matcher = matchers.get(selector.get(SELECTOR_TYPE).asText());
                if (matcher != null
                    && matcher.matches(attestationCertificate, selector.get(SELECTOR_PARAMETERS))) {
                    return true;
                }
            }
            return false;
        }
    }
This is {@link YubicoJsonMetadataService}.

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