* @throws ConfigurationException
* @throws ProcessingException
*/
public static PublicKey getValidatingKey(ProviderType idpSpConfiguration, String domain) throws ConfigurationException,
ProcessingException {
TrustKeyManager trustKeyManager = getTrustKeyManager(idpSpConfiguration);
return getValidatingKey(trustKeyManager, domain);
}