equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2018, 2019, 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 |
329 |
329 |
330 return certs; |
330 return certs; |
331 } |
331 } |
332 |
332 |
333 /** |
333 /** |
334 * Load the the KeyStore as described in the specified descriptor. |
334 * Load the KeyStore as described in the specified descriptor. |
335 */ |
335 */ |
336 private static KeyStore loadKeyStore( |
336 private static KeyStore loadKeyStore( |
337 TrustStoreDescriptor descriptor) throws Exception { |
337 TrustStoreDescriptor descriptor) throws Exception { |
338 if (!"NONE".equals(descriptor.storeName) && |
338 if (!"NONE".equals(descriptor.storeName) && |
339 descriptor.storeFile == null) { |
339 descriptor.storeFile == null) { |