Utility library for SimpleSAMLphp