--- old/src/share/classes/java/security/AlgorithmParameters.java 2013-06-27 23:05:11.225546549 -0700 +++ new/src/share/classes/java/security/AlgorithmParameters.java 2013-06-27 23:05:11.057546552 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -32,28 +32,28 @@ /** * This class is used as an opaque representation of cryptographic parameters. * - *
An AlgorithmParameters
object for managing the parameters
+ *
An {@code AlgorithmParameters} object for managing the parameters
* for a particular algorithm can be obtained by
- * calling one of the getInstance
factory methods
+ * calling one of the {@code getInstance} factory methods
* (static methods that return instances of a given class).
*
- *
Once an AlgorithmParameters
object is obtained, it must be
- * initialized via a call to init
, using an appropriate parameter
+ *
Once an {@code AlgorithmParameters} object is obtained, it must be + * initialized via a call to {@code init}, using an appropriate parameter * specification or parameter encoding. * *
A transparent parameter specification is obtained from an
- * AlgorithmParameters
object via a call to
- * getParameterSpec
, and a byte encoding of the parameters is
- * obtained via a call to getEncoded
.
+ * {@code AlgorithmParameters} object via a call to
+ * {@code getParameterSpec}, and a byte encoding of the parameters is
+ * obtained via a call to {@code getEncoded}.
*
*
Every implementation of the Java platform is required to support the
- * following standard AlgorithmParameters
algorithms:
+ * following standard {@code AlgorithmParameters} algorithms:
*
The returned parameter object must be initialized via a call to
- * init
, using an appropriate parameter specification or
+ * {@code init}, using an appropriate parameter specification or
* parameter encoding.
*
* @param algorithm the name of the algorithm requested.
@@ -165,7 +165,7 @@
* the {@link Security#getProviders() Security.getProviders()} method.
*
*
The returned parameter object must be initialized via a call to
- * init
, using an appropriate parameter specification or
+ * {@code init}, using an appropriate parameter specification or
* parameter encoding.
*
* @param algorithm the name of the algorithm requested.
@@ -212,7 +212,7 @@
* does not have to be registered in the provider list.
*
*
The returned parameter object must be initialized via a call to
- * init
, using an appropriate parameter specification or
+ * {@code init}, using an appropriate parameter specification or
* parameter encoding.
*
* @param algorithm the name of the algorithm requested.
@@ -259,7 +259,7 @@
/**
* Initializes this parameter object using the parameters
- * specified in paramSpec
.
+ * specified in {@code paramSpec}.
*
* @param paramSpec the parameter specification.
*
@@ -295,9 +295,9 @@
}
/**
- * Imports the parameters from params
and decodes them
+ * Imports the parameters from {@code params} and decodes them
* according to the specified decoding scheme.
- * If format
is null, the
+ * If {@code format} is 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.
@@ -318,11 +318,11 @@
/**
* Returns a (transparent) specification of this parameter object.
- * paramSpec
identifies the specification class in which
+ * {@code paramSpec} identifies the specification class in which
* the parameters should be returned. It could, for example, be
- * DSAParameterSpec.class
, to indicate that the
+ * {@code DSAParameterSpec.class}, to indicate that the
* parameters should be returned in an instance of the
- * DSAParameterSpec
class.
+ * {@code DSAParameterSpec} class.
*
* @param paramSpec the specification class in which
* the parameters should be returned.
@@ -363,7 +363,7 @@
/**
* Returns the parameters encoded in the specified scheme.
- * If format
is null, the
+ * If {@code format} is 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.