CipherParameters sk01 = engine.keyGen(publicKey, masterKey, ids[0], ids[1]);
CipherParameters sk012 = engine.keyGen(publicKey, masterKey, ids[0], ids[1], ids[2]);
CipherParameters sk1 = engine.keyGen(publicKey, masterKey, ids[1]);
CipherParameters sk10 = engine.keyGen(publicKey, masterKey, ids[1], ids[0]);
CipherParameters sk021 = engine.keyGen(publicKey, masterKey, ids[0], ids[2], ids[1]);
<BUG>Document documentSk0 = serializationFactory.documentSerialization(sk0);
TestUtils.OutputXMLDocument("HIBE_Secret_Key_0.xml", documentSk0);
sk0 = serializationFactory.documentDeserialization(pairingParameters, documentSk0);
Document documentSk01 = serializationFactory.documentSerialization(sk01);
TestUtils.OutputXMLDocument("HIBE_Secret_Key_01.xml", documentSk01);
sk01 = serializationFactory.documentDeserialization(pairingParameters, documentSk01);
Document documentSk012 = serializationFactory.documentSerialization(sk012);
TestUtils.OutputXMLDocument("HIBE_Secret_Key_012.xml", documentSk012);
sk012 = serializationFactory.documentDeserialization(pairingParameters, documentSk012);</BUG>
String[] ids0 = new String[]{ids[0]};

CipherParameters sk01 = engine.keyGen(publicKey, masterKey, ids[0], ids[1]);
CipherParameters sk012 = engine.keyGen(publicKey, masterKey, ids[0], ids[1], ids[2]);
CipherParameters sk1 = engine.keyGen(publicKey, masterKey, ids[1]);
CipherParameters sk10 = engine.keyGen(publicKey, masterKey, ids[1], ids[0]);
CipherParameters sk021 = engine.keyGen(publicKey, masterKey, ids[0], ids[2], ids[1]);
String[] ids0 = new String[]{ids[0]};
