8347065: Add missing @spec tags for Java Security Standard Algorithm Names

Reviewed-by: weijun
This commit is contained in:
Koushik Thirupattur 2025-01-25 19:06:47 +00:00 committed by Weijun Wang
parent 99002e4f9d
commit 002679ac9f
46 changed files with 201 additions and 44 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2025, 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
@ -66,6 +66,7 @@ import sun.security.jca.GetInstance.Instance;
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
* @spec security/standard-names.html Java Security Standard Algorithm Names
* @author Jan Luehe
*
* @since 1.4
@ -165,6 +166,7 @@ public class Mac implements Cloneable {
* Java Security Standard Algorithm Names Specification</a>
* for information about standard algorithm names.
*
* @spec security/standard-names.html Java Security Standard Algorithm Names
* @return the new {@code Mac} object
*
* @throws NoSuchAlgorithmException if no {@code Provider} supports a
@ -210,6 +212,7 @@ public class Mac implements Cloneable {
*
* @param provider the name of the provider.
*
* @spec security/standard-names.html Java Security Standard Algorithm Names
* @return the new {@code Mac} object
*
* @throws IllegalArgumentException if the {@code provider}
@ -251,6 +254,7 @@ public class Mac implements Cloneable {
*
* @param provider the provider.
*
* @spec security/standard-names.html Java Security Standard Algorithm Names
* @return the new {@code Mac} object
*
* @throws IllegalArgumentException if the {@code provider} is