} finally {
IOHelper.close(litData, encData, in);
}
if (signature != null) {
signature.update(answer);
PGPSignatureList sigList = (PGPSignatureList) pgpFactory.nextObject();
if (!signature.verify(sigList.get(0))) {
throw new SignatureException("Cannot verify PGP signature");
}
}