ResponseType response = (ResponseType) samlDocumentHolder.getSamlObject();
String issuerID = response.getIssuer().getValue();
if(issuerID == null)
throw new IssuerNotTrustedException("Issue missing");
URL issuerURL;
try
{
issuerURL = new URL(issuerID);
}
catch (MalformedURLException e1)
{
throw new IssuerNotTrustedException(e1);
}
try
{
PublicKey publicKey = keyManager.getValidatingKey(issuerURL.getHost());