mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8246005: KeyStoreSpi::engineStore(LoadStoreParameter) spec mismatch to its behavior
Reviewed-by: xuelei
This commit is contained in:
parent
763623db80
commit
b0b70df4ad
2 changed files with 9 additions and 3 deletions
|
@ -1421,6 +1421,7 @@ public class KeyStore {
|
|||
* algorithm could not be found
|
||||
* @throws CertificateException if any of the certificates included in
|
||||
* the keystore data could not be stored
|
||||
* @throws UnsupportedOperationException if this operation is not supported
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
|
|
|
@ -302,20 +302,25 @@ public abstract class KeyStoreSpi {
|
|||
|
||||
/**
|
||||
* Stores this keystore using the given
|
||||
* {@code KeyStore.LoadStoreParmeter}.
|
||||
* {@code KeyStore.LoadStoreParameter}.
|
||||
*
|
||||
* @param param the {@code KeyStore.LoadStoreParmeter}
|
||||
* @implSpec The default implementation throws
|
||||
* an {@link UnsupportedOperationException}.
|
||||
*
|
||||
* @param param the {@code KeyStore.LoadStoreParameter}
|
||||
* that specifies how to store the keystore,
|
||||
* which may be {@code null}
|
||||
*
|
||||
* @throws IllegalArgumentException if the given
|
||||
* {@code KeyStore.LoadStoreParmeter}
|
||||
* {@code KeyStore.LoadStoreParameter}
|
||||
* input is not recognized
|
||||
* @throws IOException if there was an I/O problem with data
|
||||
* @throws NoSuchAlgorithmException if the appropriate data integrity
|
||||
* algorithm could not be found
|
||||
* @throws CertificateException if any of the certificates included in
|
||||
* the keystore data could not be stored
|
||||
* @throws UnsupportedOperationException if the implementation does
|
||||
* not support this operation
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue