class EidasSaml {

  public static byte[] createResponse(List<EidasAttribute> att,
                                      String destination,
                                      String recipient,
                                      EidasNameId nameid,
                                      String issuer,
                                      EidasLoA loa,
                                      String inResponseTo,
                                      EidasEncrypter encrypter,
                                      EidasSigner signer)
    throws InitializationException, CertificateEncodingException, XMLParserException, IOException,
    UnmarshallingException, EncryptionException, MarshallingException, SignatureException,
    TransformerFactoryConfigurationError, TransformerException, ComponentInitializationException
  {
    init();
    EidasResponse response = new EidasResponse(att, destination, recipient, nameid, inResponseTo, issuer, loa,
                                               signer, encrypter);
    return response.generate();
  }

  private  EidasSaml();

}