}
private boolean removeRequiredCertificate(KeyCertificate certificate) {
final Iterator<RequiredCertificate> it = requiredCertificates.iterator();
while(it.hasNext()) {
RequiredCertificate r = it.next();
if(r.getSigningKey().equals(certificate.getAuthoritySigningKey().getFingerprint())) {
it.remove();
return true;
}
}
return false;