8284851: Update javax.crypto files to use proper javadoc for mentioned classes

Reviewed-by: weijun, valeriep
This commit is contained in:
Mark Powers 2022-07-07 23:20:58 +00:00 committed by Valerie Peng
parent 8cdead0c94
commit f804f2ce8e
92 changed files with 2142 additions and 2010 deletions

View file

@ -87,7 +87,7 @@ public class AlgorithmParameters {
private boolean initialized = false;
/**
* Creates an AlgorithmParameters object.
* Creates an {@code AlgorithmParameters} object.
*
* @param paramSpi the delegate
* @param provider the provider
@ -113,11 +113,11 @@ public class AlgorithmParameters {
/**
* Returns a parameter object for the specified algorithm.
*
* <p> This method traverses the list of registered security Providers,
* starting with the most preferred Provider.
* A new AlgorithmParameters object encapsulating the
* AlgorithmParametersSpi 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 AlgorithmParameters} object encapsulating the
* {@code AlgorithmParametersSpi} 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.
@ -167,8 +167,8 @@ public class AlgorithmParameters {
/**
* Returns a parameter object for the specified algorithm.
*
* <p> A new AlgorithmParameters object encapsulating the
* AlgorithmParametersSpi implementation from the specified provider
* <p> A new {@code AlgorithmParameters} object encapsulating the
* {@code AlgorithmParametersSpi} implementation from the specified provider
* is returned. The specified provider must be registered
* in the security provider list.
*
@ -220,9 +220,9 @@ public class AlgorithmParameters {
/**
* Returns a parameter object for the specified algorithm.
*
* <p> A new AlgorithmParameters object encapsulating the
* AlgorithmParametersSpi implementation from the specified Provider
* object is returned. Note that the specified Provider object
* <p> A new {@code AlgorithmParameters} object encapsulating the
* {@code AlgorithmParametersSpi} implementation from the specified
* provider is returned. Note that the specified provider
* does not have to be registered in the provider list.
*
* <p>The returned parameter object must be initialized via a call to
@ -315,7 +315,7 @@ public class AlgorithmParameters {
/**
* Imports the parameters from {@code params} and decodes them
* according to the specified decoding scheme.
* If {@code format} is null, the
* If {@code format} is {@code null}, the
* primary decoding format for parameters is used. The primary decoding
* format is ASN.1, if an ASN.1 specification for these parameters
* exists.
@ -382,7 +382,7 @@ public class AlgorithmParameters {
/**
* Returns the parameters encoded in the specified scheme.
* If {@code format} is null, the
* If {@code format} is {@code null}, the
* primary encoding format for parameters is used. The primary encoding
* format is ASN.1, if an ASN.1 specification for these parameters
* exists.
@ -405,8 +405,8 @@ public class AlgorithmParameters {
/**
* Returns a formatted string describing the parameters.
*
* @return a formatted string describing the parameters, or null if this
* parameter object has not been initialized.
* @return a formatted string describing the parameters, or {@code null}
* if this parameter object has not been initialized.
*/
public final String toString() {
if (!this.initialized) {