@@ -73,7 +73,7 @@ public static Mac getHmacMd5(final byte[] key) {
7373 * They key for the keyed digest (must not be null)
7474 * @return A Mac instance initialized with the given key.
7575 * @see Mac#getInstance(String)
76- * @see Mac#init(SecretKeySpec )
76+ * @see Mac#init(Key )
7777 * @throws IllegalArgumentException
7878 * when a {@link NoSuchAlgorithmException} is caught or key is null or key is invalid.
7979 */
@@ -91,7 +91,7 @@ public static Mac getHmacSha1(final byte[] key) {
9191 * They key for the keyed digest (must not be null)
9292 * @return A Mac instance initialized with the given key.
9393 * @see Mac#getInstance(String)
94- * @see Mac#init(SecretKeySpec )
94+ * @see Mac#init(Key )
9595 * @throws IllegalArgumentException
9696 * when a {@link NoSuchAlgorithmException} is caught or key is null or key is invalid.
9797 */
@@ -109,7 +109,7 @@ public static Mac getHmacSha256(final byte[] key) {
109109 * They key for the keyed digest (must not be null)
110110 * @return A Mac instance initialized with the given key.
111111 * @see Mac#getInstance(String)
112- * @see Mac#init(SecretKeySpec )
112+ * @see Mac#init(Key )
113113 * @throws IllegalArgumentException
114114 * when a {@link NoSuchAlgorithmException} is caught or key is null or key is invalid.
115115 */
@@ -127,7 +127,7 @@ public static Mac getHmacSha384(final byte[] key) {
127127 * They key for the keyed digest (must not be null)
128128 * @return A Mac instance initialized with the given key.
129129 * @see Mac#getInstance(String)
130- * @see Mac#init(SecretKeySpec )
130+ * @see Mac#init(Key )
131131 * @throws IllegalArgumentException
132132 * when a {@link NoSuchAlgorithmException} is caught or key is null or key is invalid.
133133 */
@@ -147,7 +147,7 @@ public static Mac getHmacSha512(final byte[] key) {
147147 * They key for the keyed digest (must not be null)
148148 * @return A Mac instance initialized with the given key.
149149 * @see Mac#getInstance(String)
150- * @see Mac#init(SecretKeySpec )
150+ * @see Mac#init(Key )
151151 * @throws IllegalArgumentException
152152 * when a {@link NoSuchAlgorithmException} is caught or key is null or key is invalid.
153153 */
@@ -167,7 +167,7 @@ public static Mac getInitializedMac(final HmacAlgorithms algorithm, final byte[]
167167 * They key for the keyed digest (must not be null)
168168 * @return A Mac instance initialized with the given key.
169169 * @see Mac#getInstance(String)
170- * @see Mac#init(SecretKeySpec )
170+ * @see Mac#init(Key )
171171 * @throws IllegalArgumentException
172172 * when a {@link NoSuchAlgorithmException} is caught or key is null or key is invalid.
173173 */
0 commit comments