// Enable offline revocation check using CRL.
} else if (useCRL) {
// Check if CRLs were provided.
if (certificateRevocationLists == null) {
throw new NoCRLException(
String.format(messages.getString(
"No_certificate_revocation_list_was_provided_to_perform_offline_revocation_check_of_the_certificate__%s"),
CertificateValidator.getCertificateName(certificate)));
}