}
}
}
// ocsp url
final X509CA x509ca = (X509CA)ca;
url = certProfile.getOCSPServiceLocatorURI();
if(certProfile.getUseDefaultOCSPServiceLocator()){
url = x509ca.getDefaultOCSPServiceLocator();
}
if (StringUtils.isNotEmpty(url)) {
accessLocation = new GeneralName(GeneralName.uniformResourceIdentifier, new DERIA5String(url));
accessList.add(new AccessDescription(AccessDescription.id_ad_ocsp,
accessLocation));