remove debug logging
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user