// Decodes an array of URL safe 7-bit characters into an array of
// original bytes. Escaped characters are converted back to their
// original representation.
byte[] encodedData = URLCodec.decodeUrl(encryptedData);
ICipherHTTP cipher = this.session.getDecryptCipher();
// Get Key from session
Key key = this.session.getCipherKey();
byte[] data;
synchronized (cipher) {
cipher.initDecryptMode(key);
data = cipher.decrypt(encodedData);
}
ByteArrayInputStream decodedStream = new ByteArrayInputStream(data);
InputStream unzippedStream = new GZIPInputStream(decodedStream);
ObjectInputStream ois = new ObjectInputStream(unzippedStream);