equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
289 return null; |
289 return null; |
290 } |
290 } |
291 |
291 |
292 List<AccessDescription> descriptions = aia.getAccessDescriptions(); |
292 List<AccessDescription> descriptions = aia.getAccessDescriptions(); |
293 for (AccessDescription description : descriptions) { |
293 for (AccessDescription description : descriptions) { |
294 if (description.getAccessMethod().equals( |
294 if (description.getAccessMethod().equals((Object) |
295 AccessDescription.Ad_OCSP_Id)) { |
295 AccessDescription.Ad_OCSP_Id)) { |
296 |
296 |
297 GeneralName generalName = description.getAccessLocation(); |
297 GeneralName generalName = description.getAccessLocation(); |
298 if (generalName.getType() == GeneralNameInterface.NAME_URI) { |
298 if (generalName.getType() == GeneralNameInterface.NAME_URI) { |
299 URIName uri = (URIName) generalName.getName(); |
299 URIName uri = (URIName) generalName.getName(); |