code: protected final void decryptEncryptedAssertions(final Response response, final Decrypter decrypter) {
  
          for (final EncryptedAssertion encryptedAssertion : response.getEncryptedAssertions()) {
              try {
                  final Assertion decryptedAssertion = decrypter.decrypt(encryptedAssertion);
                  response.getAssertions().add(decryptedAssertion);
              } catch (final DecryptionException e) {
                  logger.error("Decryption of assertion failed, continue with the next one", e);
              }
          }
  
      }
docs: Decrypt encrypted assertions and add them to the assertions list of the response.
  
  @param response  the response
  @param decrypter the decrypter