|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.beepcore.beep.profile.sasl.otp.algorithm.AlgorithmImpl
|
+--org.beepcore.beep.profile.sasl.otp.algorithm.md5.MD5
| Field Summary | |
static java.lang.String |
MD5_NAME
|
| Fields inherited from interface org.beepcore.beep.profile.sasl.otp.algorithm.Algorithm |
ERR_HASH_FAILURE |
| Constructor Summary | |
MD5()
|
|
| Method Summary | |
protected byte[] |
foldHash(byte[] hash)
Method foldHash is provided for implementations, as the value of the message digest hash must be folding into 64 bits before it can be used by the SASLOTPProfile and its supporting classes. |
byte[] |
generateHash(byte[] hash)
Method generateHash generate a hash value using the appropriate hash function. |
static java.lang.String |
getAlgorithmName()
|
java.lang.String |
getName()
Method getName |
| Methods inherited from class org.beepcore.beep.profile.sasl.otp.algorithm.AlgorithmImpl |
generateHash |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String MD5_NAME
| Constructor Detail |
public MD5()
| Method Detail |
public java.lang.String getName()
AlgorithmImpl
getName in interface AlgorithmgetName in class AlgorithmImplpublic static java.lang.String getAlgorithmName()
public byte[] generateHash(byte[] hash)
throws InvalidParameterException
AlgorithmImpl
generateHash in interface AlgorithmgenerateHash in class AlgorithmImplInvalidParameterException
protected byte[] foldHash(byte[] hash)
throws InvalidParameterException
AlgorithmImpl
foldHash in class AlgorithmImplInvalidParameterException - of the has provided is
somehow improper or invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||