if (dataStream != null) {
dataStream.close();
}
}
if (!encriptionManager.verify(data, sig)) {
throw new SignatureNotMatchException("The signature don't match");
}
ObjectInputStream in = null;
try {
in = new ObjectInputStream(new ByteArrayInputStream(data));
ILicense license = (ILicense) in.readObject();