equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2013, 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 |
104 } catch (IOException e) { |
104 } catch (IOException e) { |
105 throw new CRLException("Parsing error: " + e.toString()); |
105 throw new CRLException("Parsing error: " + e.toString()); |
106 } |
106 } |
107 } |
107 } |
108 |
108 |
109 private static final Class[] PARAMS = {Boolean.class, Object.class}; |
109 private static final Class<?>[] PARAMS = {Boolean.class, Object.class}; |
110 |
110 |
111 // Parse the encoded extension |
111 // Parse the encoded extension |
112 private void parseExtension(Extension ext) throws CRLException { |
112 private void parseExtension(Extension ext) throws CRLException { |
113 try { |
113 try { |
114 Class<?> extClass = OIDMap.getClass(ext.getExtensionId()); |
114 Class<?> extClass = OIDMap.getClass(ext.getExtensionId()); |