remove debug logging

This commit is contained in:
Elizabeth Fong
2006-08-20 09:50:07 +00:00
parent c92e372d39
commit 14d823a930
@@ -81,10 +81,9 @@ public class GetdownApplet extends JApplet
try { try {
Signature sig = Signature.getInstance("SHA1withRSA"); Signature sig = Signature.getInstance("SHA1withRSA");
sig.initVerify(cert); sig.initVerify(cert);
Log.info(params);
sig.update(params.getBytes()); sig.update(params.getBytes());
byte[] rawsig = Base64.decodeBase64(signature.getBytes()); if (sig.verify(Base64.decodeBase64(
if (sig.verify(rawsig)) { signature.getBytes()))) {
_safe = true; _safe = true;
} }
} catch (GeneralSecurityException gse) { } catch (GeneralSecurityException gse) {