Set<URL> urls = new HashSet<URL>();
ASN1InputStream inputStream = new ASN1InputStream(bytes);
DEROctetString octetString = (DEROctetString) inputStream.readObject();
ASN1Sequence sequence = (ASN1Sequence) new ASN1InputStream(octetString.getOctets()).readObject();
AuthorityInformationAccess informationAccess = new AuthorityInformationAccess(sequence);
AccessDescription[] accessDescriptions = informationAccess.getAccessDescriptions();
for (AccessDescription description : accessDescriptions) {
GeneralName generalName = description.getAccessLocation();
DERTaggedObject taggedObject = (DERTaggedObject) generalName.getDERObject();
DERIA5String ia5String = DERIA5String.getInstance(taggedObject.getObject());
String urlStr = ia5String.getString();