diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-05 14:49:11 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-09 10:03:25 -0500 |
commit | 7c7b9d023cd466c1771068badc020dab36beb553 (patch) | |
tree | 178877eb83e25336be7577953945fbdb0b9e1a15 /base/util/src/com/netscape/cmsutil/util/HMACDigest.java | |
parent | da1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff) | |
download | pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.gz pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.xz pki-7c7b9d023cd466c1771068badc020dab36beb553.zip |
Removed whitespaces from Java code.
Whitespaces in Java code have been removed with the following command:
find . -not -path .git -name *.java -exec sed -i 's/[[:blank:]]\+$//' {} \;
Ticket #134
Diffstat (limited to 'base/util/src/com/netscape/cmsutil/util/HMACDigest.java')
-rw-r--r-- | base/util/src/com/netscape/cmsutil/util/HMACDigest.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/base/util/src/com/netscape/cmsutil/util/HMACDigest.java b/base/util/src/com/netscape/cmsutil/util/HMACDigest.java index 09bf53bbf..c0d86184c 100644 --- a/base/util/src/com/netscape/cmsutil/util/HMACDigest.java +++ b/base/util/src/com/netscape/cmsutil/util/HMACDigest.java @@ -22,7 +22,7 @@ import java.security.MessageDigest; /** * This class implements the HMAC algorithm specified in RFC 2104 using * any MessageDigest. - * + * * @author mikep * @version $Revision$, $Date$ * @see java.security.MessageDigest @@ -49,7 +49,7 @@ public class HMACDigest implements Cloneable { /** * Creates an HMACDigest - * + * * @param md The MessageDigest to be used for the HMAC calculation. It * must be clonable. */ @@ -60,7 +60,7 @@ public class HMACDigest implements Cloneable { /** * Creates an HMACDigest and initializes the HMAC function * with the given key. - * + * * @param md The MessageDigest to be used for the HMAC calculation. It * must be clonable. * @param key The key value to be used in the HMAC calculation @@ -79,18 +79,18 @@ public class HMACDigest implements Cloneable { /** * Initialize the HMAC function - * + * * The HMAC transform looks like: - * + * * hash(key XOR opad, hash(key XOR ipad, text)) - * + * * where key is an n byte key * ipad is the byte 0x36 repeated 64 times * opad is the byte 0x5c repeated 64 times * and text is the data being protected - * + * * This routine must be called after every reset. - * + * * @param key The password used to protect the hash value */ public void init(byte[] key) { @@ -131,7 +131,7 @@ public class HMACDigest implements Cloneable { /** * Updates the digest using the specified array of bytes. - * + * * @param input the array of bytes. */ public void update(byte[] input) { @@ -141,7 +141,7 @@ public class HMACDigest implements Cloneable { /** * Completes the HMAC computation with the outer pad * The digest is reset after this call is made. - * + * * @return the array of bytes for the resulting hash value. */ public byte[] digest() { @@ -173,7 +173,7 @@ public class HMACDigest implements Cloneable { /** * Clone the HMACDigest - * + * * @return a clone if the implementation is cloneable. * @exception CloneNotSupportedException if this is called on a * MessageDigest implementation that does not support <code>Cloneable</code>. |