equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, 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 |
323 /** |
323 /** |
324 * Return an array of java.security.cert.Certificate objects for |
324 * Return an array of java.security.cert.Certificate objects for |
325 * the given file in the jar. |
325 * the given file in the jar. |
326 * @deprecated |
326 * @deprecated |
327 */ |
327 */ |
|
328 @Deprecated |
328 public java.security.cert.Certificate[] getCerts(String name) |
329 public java.security.cert.Certificate[] getCerts(String name) |
329 { |
330 { |
330 return mapSignersToCertArray(getCodeSigners(name)); |
331 return mapSignersToCertArray(getCodeSigners(name)); |
331 } |
332 } |
332 |
333 |