From 07720b0e617e62c90f2390ab7e5f5568a39fcb8a Mon Sep 17 00:00:00 2001 From: Jamil Nimeh Date: Thu, 30 Jun 2016 07:14:56 -0700 Subject: [PATCH] 8030132: Cipher.init syntax error in javadoc @code tag 8160222: javax/crypto/Cipher.java has a typo Fixes typographical errors in javax/crypto/Cipher.java Reviewed-by: weijun --- .../share/classes/javax/crypto/Cipher.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/jdk/src/java.base/share/classes/javax/crypto/Cipher.java b/jdk/src/java.base/share/classes/javax/crypto/Cipher.java index 8b5fb7875af..497069cd7fc 100644 --- a/jdk/src/java.base/share/classes/javax/crypto/Cipher.java +++ b/jdk/src/java.base/share/classes/javax/crypto/Cipher.java @@ -93,7 +93,7 @@ import sun.security.jca.*; * provide authenticity assurances for both confidential data and * Additional Associated Data (AAD) that is not encrypted. (Please see * RFC 5116 for more - * information on AEAD and AEAD algorithms such as GCM/CCM.) Both + * information on AEAD and AAD algorithms such as GCM/CCM.) Both * confidential and AAD data can be used when calculating the * authentication tag (similar to a {@link Mac}). This tag is appended * to the ciphertext during encryption, and is verified on decryption. @@ -1186,7 +1186,7 @@ public class Cipher { * determined from the given key, or if the given key has a keysize that * exceeds the maximum allowable keysize (as determined from the * configured jurisdiction policy files). - * @throws UnsupportedOperationException if (@code opmode} is + * @throws UnsupportedOperationException if {@code opmode} is * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented * by the underlying {@code CipherSpi}. */ @@ -1239,7 +1239,7 @@ public class Cipher { * determined from the given key, or if the given key has a keysize that * exceeds the maximum allowable keysize (as determined from the * configured jurisdiction policy files). - * @throws UnsupportedOperationException if (@code opmode} is + * @throws UnsupportedOperationException if {@code opmode} is * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented * by the underlying {@code CipherSpi}. */ @@ -1325,7 +1325,7 @@ public class Cipher { * algorithm parameters imply a cryptographic strength that would exceed * the legal limits (as determined from the configured jurisdiction * policy files). - * @throws UnsupportedOperationException if (@code opmode} is + * @throws UnsupportedOperationException if {@code opmode} is * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented * by the underlying {@code CipherSpi}. */ @@ -1386,7 +1386,7 @@ public class Cipher { * algorithm parameters imply a cryptographic strength that would exceed * the legal limits (as determined from the configured jurisdiction * policy files). - * @throws UnsupportedOperationException if (@code opmode} is + * @throws UnsupportedOperationException if {@code opmode} is * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented * by the underlying {@code CipherSpi}. */ @@ -1468,7 +1468,7 @@ public class Cipher { * algorithm parameters imply a cryptographic strength that would exceed * the legal limits (as determined from the configured jurisdiction * policy files). - * @throws UnsupportedOperationException if (@code opmode} is + * @throws UnsupportedOperationException if {@code opmode} is * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented * by the underlying {@code CipherSpi}. */ @@ -1529,7 +1529,7 @@ public class Cipher { * algorithm parameters imply a cryptographic strength that would exceed * the legal limits (as determined from the configured jurisdiction * policy files). - * @throws UnsupportedOperationException if (@code opmode} is + * @throws UnsupportedOperationException if {@code opmode} is * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented * by the underlying {@code CipherSpi}. */ @@ -1616,7 +1616,7 @@ public class Cipher { * in the given certificate has a keysize that exceeds the maximum * allowable keysize (as determined by the configured jurisdiction policy * files). - * @throws UnsupportedOperationException if (@code opmode} is + * @throws UnsupportedOperationException if {@code opmode} is * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented * by the underlying {@code CipherSpi}. */ @@ -1686,7 +1686,7 @@ public class Cipher { * in the given certificate has a keysize that exceeds the maximum * allowable keysize (as determined by the configured jurisdiction policy * files). - * @throws UnsupportedOperationException if (@code opmode} is + * @throws UnsupportedOperationException if {@code opmode} is * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented * by the underlying {@code CipherSpi}. */