DataInputStream in = new DataInputStream(inStream);
String user = in.readUTF();
long t = in.readLong();
double q = in.readDouble();
int length = in.readInt();
byte[] signature = new byte[length];
in.readFully(signature);
Signature s = Signature.getInstance("DSA");
s.initVerify(mKeyStore.getCertificate(user).getPublicKey());
s.update(Protection.makeBytes(t, q));
return s.verify(signature);