class UnknownMethodAlgorithmLogger {

    public static void probeAuthnRequestForMethodAlgorithm(final AuthnRequestFromRelyingParty authnRequest) {
        if (authnRequest != null) {
            authnRequest.getSignature().ifPresent((signature) ->
                logMethodAlgorithm(Role.SP, signature, AuthnRequest.DEFAULT_ELEMENT_LOCAL_NAME)
            );
        }
    }

}