}
}
private void processSignature() {
fieldParser.endSignedEntity();
final TorSignature signature = fieldParser.parseSignature();
if(!fieldParser.verifySignedEntity(descriptor.getPermanentKey(), signature)) {
resultHandler.documentInvalid(descriptor, "Signature verification failed");
fieldParser.logWarn("Signature failed for descriptor: "+ descriptor.getDescriptorId().toBase32());
return;
}