equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2016, 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 |
355 * <p> Note that the list of registered providers may be retrieved via |
355 * <p> Note that the list of registered providers may be retrieved via |
356 * the {@link Security#getProviders() Security.getProviders()} method. |
356 * the {@link Security#getProviders() Security.getProviders()} method. |
357 * |
357 * |
358 * @implNote |
358 * @implNote |
359 * The JDK Reference Implementation additionally uses the |
359 * The JDK Reference Implementation additionally uses the |
360 * {@code jdk.security.provider.preferred} property to determine |
360 * {@code jdk.security.provider.preferred} |
|
361 * {@link Security#getProperty(String) Security} property to determine |
361 * the preferred provider order for the specified algorithm. This |
362 * the preferred provider order for the specified algorithm. This |
362 * may be different than the order of providers returned by |
363 * may be different than the order of providers returned by |
363 * {@link Security#getProviders() Security.getProviders()}. |
364 * {@link Security#getProviders() Security.getProviders()}. |
364 * |
365 * |
365 * @param type the specified Policy type. See the Policy section in the |
366 * @param type the specified Policy type. See the Policy section in the |