throw new KeyczarException(e);
}
}
private void initializeHash() throws KeyczarException {
final DSAParams dsaParams = jcePublicKey.getParams();
final byte[] fullHash = Util.prefixHash(
Util.stripLeadingZeros(dsaParams.getP().toByteArray()),
Util.stripLeadingZeros(dsaParams.getQ().toByteArray()),
Util.stripLeadingZeros(dsaParams.getG().toByteArray()),
Util.stripLeadingZeros(jcePublicKey.getY().toByteArray()));
System.arraycopy(fullHash, 0, hash, 0, hash.length);
}