diff --git a/src/java.base/share/classes/java/security/spec/ECGenParameterSpec.java b/src/java.base/share/classes/java/security/spec/ECGenParameterSpec.java index 522c7ff7331..4d506726c9f 100644 --- a/src/java.base/share/classes/java/security/spec/ECGenParameterSpec.java +++ b/src/java.base/share/classes/java/security/spec/ECGenParameterSpec.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2024, 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 @@ -45,9 +45,9 @@ public class ECGenParameterSpec extends NamedParameterSpec { * of the provider whose implementation will be used. * * @param stdName the standard name of the to-be-generated EC - * domain parameters. See the ParameterSpec Names section in the + * domain parameters. See the ECGenParameterSpec section in the * + * "{@docRoot}/../specs/security/standard-names.html#ecgenparameterspec"> * Java Security Standard Algorithm Names Specification for * information about standard names. * @throws NullPointerException if {@code stdName} is null. diff --git a/src/java.base/share/classes/java/security/spec/NamedParameterSpec.java b/src/java.base/share/classes/java/security/spec/NamedParameterSpec.java index ab716d54c30..296d353449b 100644 --- a/src/java.base/share/classes/java/security/spec/NamedParameterSpec.java +++ b/src/java.base/share/classes/java/security/spec/NamedParameterSpec.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2024, 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 @@ -30,10 +30,10 @@ import java.util.Objects; * This class is used to specify any algorithm parameters that are determined * by a standard name. This class also holds constants for standard parameter * set names. The names of these constants exactly match the corresponding - * parameter set name. For example, NamedParameterSpec.X25519 represents the - * parameter set identified by the string "X25519". These strings are defined - * in the + * parameter set name. For example, {@code NamedParameterSpec.X25519} + * represents the parameter set identified by the string "X25519". These + * strings are defined in the * Java Security Standard Algorithm Names Specification. * * @since 11 @@ -77,9 +77,9 @@ public class NamedParameterSpec implements AlgorithmParameterSpec { * of the provider whose implementation will be used. * * @param stdName the standard name of the algorithm parameters. See the - * ParameterSpec Names section in the + * NamedParameterSpec section in the * + * "{@docRoot}/../specs/security/standard-names.html#namedparameterspec"> * Java Security Standard Algorithm Names Specification for * information about standard names. * diff --git a/src/java.base/share/classes/java/security/spec/PSSParameterSpec.java b/src/java.base/share/classes/java/security/spec/PSSParameterSpec.java index d6f05199599..5c77089f1ca 100644 --- a/src/java.base/share/classes/java/security/spec/PSSParameterSpec.java +++ b/src/java.base/share/classes/java/security/spec/PSSParameterSpec.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2024, 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 @@ -118,8 +118,19 @@ public class PSSParameterSpec implements AlgorithmParameterSpec { * mask generation function, parameters for mask generation * function, salt length, and trailer field values. * - * @param mdName the algorithm name of the hash function - * @param mgfName the algorithm name of the mask generation function + * @param mdName the algorithm name of the hash function. See the + * PSSParameterSpec section of the + * + * Java Security Standard Algorithm Names Specification + * for information about standard names for the hash function. + * @param mgfName the algorithm name of the mask generation function. + * See the PSSParameterSpec section of the + * + * Java Security Standard Algorithm Names Specification + * for information about standard names for the mask generation + * function. * @param mgfSpec the parameters for the mask generation function. * If null is specified, null will be returned by * getMGFParameters().