CRLDistPoint distPoint = CRLDistPoint.getInstance(crldistribuitionPointsObject);
Set<URL> urls = new HashSet<URL>();
for (DistributionPoint distribuitionPoint : distPoint.getDistributionPoints()) {
DistributionPointName distribuitionPointName = distribuitionPoint.getDistributionPoint();
if ((distribuitionPointName != null) && (distribuitionPointName.getType() == DistributionPointName.FULL_NAME)) {
GeneralName[] genNames = GeneralNames.getInstance(distribuitionPointName.getName()).getNames();
for (int i = 0; i < genNames.length; i++) {
if (genNames[i].getTagNo() == GeneralName.uniformResourceIdentifier) {
String urlStr = DERIA5String.getInstance(genNames[i].getName()).getString();
URL url = new URL(urlStr);
urls.add(url);