s.update(data);
boolean ok = s.verify(signature);
return ok;
} catch (NoSuchAlgorithmException e) {
throw new SignerException(e);
} catch (InvalidKeyException e) {
throw new SignerException(e);
} catch (SignatureException e) {
throw new SignerException(e);
}
}