Map<String, String> testParams) throws KeyczarException {
Gson gson = new Gson();
byte[] encryptedData = readOutput(output);
String sessionMaterial = output.get("sessionMaterial");
Crypter keyCrypter = new Crypter(
getReader(algorithm, generateParams.get("cryptedKeySet"), testParams.get("pubKey")));
Verifier verifier = new Verifier(getReader(
generateParams.get("signer"), generateParams.get("cryptedKeySet"), ""));
SignedSessionDecrypter sessionCrypter =
new SignedSessionDecrypter(keyCrypter, verifier, sessionMaterial);