185186187188189190191192193194195
ex, "cannot get certificate or key" ); } algorithmSuiteValidator.checkSignatureAlgorithms(xmlSignature); algorithmSuiteValidator.checkAsymmetricKeyLength(key); } samlAssertion.verifySignature(samlKeyInfo); } // Parse the subject if it exists