mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8284851: Update javax.crypto files to use proper javadoc for mentioned classes
Reviewed-by: weijun, valeriep
This commit is contained in:
parent
8cdead0c94
commit
f804f2ce8e
92 changed files with 2142 additions and 2010 deletions
|
@ -115,7 +115,7 @@ public class KeyFactory {
|
|||
private Iterator<Service> serviceIterator;
|
||||
|
||||
/**
|
||||
* Creates a KeyFactory object.
|
||||
* Creates a {@code KeyFactory} object.
|
||||
*
|
||||
* @param keyFacSpi the delegate
|
||||
* @param provider the provider
|
||||
|
@ -141,14 +141,14 @@ public class KeyFactory {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a KeyFactory object that converts
|
||||
* Returns a {@code KeyFactory} object that converts
|
||||
* public/private keys of the specified algorithm.
|
||||
*
|
||||
* <p> This method traverses the list of registered security Providers,
|
||||
* starting with the most preferred Provider.
|
||||
* A new KeyFactory object encapsulating the
|
||||
* KeyFactorySpi implementation from the first
|
||||
* Provider that supports the specified algorithm is returned.
|
||||
* <p> This method traverses the list of registered security providers,
|
||||
* starting with the most preferred provider.
|
||||
* A new {@code KeyFactory} object encapsulating the
|
||||
* {@code KeyFactorySpi} implementation from the first
|
||||
* provider that supports the specified algorithm is returned.
|
||||
*
|
||||
* <p> Note that the list of registered providers may be retrieved via
|
||||
* the {@link Security#getProviders() Security.getProviders()} method.
|
||||
|
@ -184,11 +184,11 @@ public class KeyFactory {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a KeyFactory object that converts
|
||||
* Returns a {@code KeyFactory} object that converts
|
||||
* public/private keys of the specified algorithm.
|
||||
*
|
||||
* <p> A new KeyFactory object encapsulating the
|
||||
* KeyFactorySpi implementation from the specified provider
|
||||
* <p> A new {@code KeyFactory} object encapsulating the
|
||||
* {@code KeyFactorySpi} implementation from the specified provider
|
||||
* is returned. The specified provider must be registered
|
||||
* in the security provider list.
|
||||
*
|
||||
|
@ -229,13 +229,13 @@ public class KeyFactory {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a KeyFactory object that converts
|
||||
* Returns a {@code KeyFactory} object that converts
|
||||
* public/private keys of the specified algorithm.
|
||||
*
|
||||
* <p> A new KeyFactory object encapsulating the
|
||||
* KeyFactorySpi implementation from the specified Provider
|
||||
* object is returned. Note that the specified Provider object
|
||||
* does not have to be registered in the provider list.
|
||||
* <p> A new {@code KeyFactory} object encapsulating the
|
||||
* {@code KeyFactorySpi} implementation from the specified provider
|
||||
* is returned. Note that the specified provider does not
|
||||
* have to be registered in the provider list.
|
||||
*
|
||||
* @param algorithm the name of the requested key algorithm.
|
||||
* See the KeyFactory section in the <a href=
|
||||
|
@ -294,10 +294,10 @@ public class KeyFactory {
|
|||
}
|
||||
|
||||
/**
|
||||
* Update the active KeyFactorySpi of this class and return the next
|
||||
* Update the active {@code KeyFactorySpi} of this class and return the next
|
||||
* implementation for failover. If no more implementations are
|
||||
* available, this method returns null. However, the active spi of
|
||||
* this class is never set to null.
|
||||
* this class is never set to {@code null}.
|
||||
*/
|
||||
private KeyFactorySpi nextSpi(KeyFactorySpi oldSpi) {
|
||||
synchronized (lock) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue