@@ -952,8 +952,6 @@ public HmacUtils(final HmacAlgorithms algorithm, final byte[] key) {
952952 *
953953 * @param valueToDigest the input to use
954954 * @return the digest as a byte[]
955- * @throws IOException
956- * If an I/O error occurs.
957955 * @since 1.11
958956 */
959957 public byte [] hmac (byte [] valueToDigest ) {
@@ -965,8 +963,6 @@ public byte[] hmac(byte[] valueToDigest) {
965963 *
966964 * @param valueToDigest the input to use
967965 * @return the digest as a hex String
968- * @throws IOException
969- * If an I/O error occurs.
970966 * @since 1.11
971967 */
972968 public String hmacHex (byte [] valueToDigest ) {
@@ -978,8 +974,6 @@ public String hmacHex(byte[] valueToDigest) {
978974 *
979975 * @param valueToDigest the input to use, treated as UTF-8
980976 * @return the digest as a byte[]
981- * @throws IOException
982- * If an I/O error occurs.
983977 * @since 1.11
984978 */
985979 public byte [] hmac (String valueToDigest ) {
@@ -991,8 +985,6 @@ public byte[] hmac(String valueToDigest) {
991985 *
992986 * @param valueToDigest the input to use, treated as UTF-8
993987 * @return the digest as a hex String
994- * @throws IOException
995- * If an I/O error occurs.
996988 * @since 1.11
997989 */
998990 public String hmacHex (String valueToDigest ) {
@@ -1004,8 +996,6 @@ public String hmacHex(String valueToDigest) {
1004996 *
1005997 * @param valueToDigest the input to use
1006998 * @return the digest as a byte[]
1007- * @throws IOException
1008- * If an I/O error occurs.
1009999 * @since 1.11
10101000 */
10111001 public byte [] hmac (ByteBuffer valueToDigest ) {
@@ -1018,8 +1008,6 @@ public byte[] hmac(ByteBuffer valueToDigest) {
10181008 *
10191009 * @param valueToDigest the input to use
10201010 * @return the digest as a hex String
1021- * @throws IOException
1022- * If an I/O error occurs.
10231011 * @since 1.11
10241012 */
10251013 public String hmacHex (ByteBuffer valueToDigest ) {
0 commit comments