equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2015, 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 |
2236 if (debug != null) { |
2236 if (debug != null) { |
2237 debug.println("X509CertSelector.match: subjectPublicKeyAlgID = " |
2237 debug.println("X509CertSelector.match: subjectPublicKeyAlgID = " |
2238 + subjectPublicKeyAlgID + ", xcert subjectPublicKeyAlgID = " |
2238 + subjectPublicKeyAlgID + ", xcert subjectPublicKeyAlgID = " |
2239 + algID.getOID()); |
2239 + algID.getOID()); |
2240 } |
2240 } |
2241 if (!subjectPublicKeyAlgID.equals((Object)algID.getOID())) { |
2241 if (!subjectPublicKeyAlgID.equals(algID.getOID())) { |
2242 if (debug != null) { |
2242 if (debug != null) { |
2243 debug.println("X509CertSelector.match: " |
2243 debug.println("X509CertSelector.match: " |
2244 + "subject public key alg IDs don't match"); |
2244 + "subject public key alg IDs don't match"); |
2245 } |
2245 } |
2246 return false; |
2246 return false; |