|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.security.MessageDigestSpi
|
+--de.flexiprovider.api.MessageDigest
|
+--de.flexiprovider.core.md.NullDigest
This class only performs buffering of the input data. No message digest function is applied.
| Constructor Summary | |
NullDigest()
|
|
| Method Summary | |
byte[] |
digest()
Complete the hash computation by performing final operations such as padding. |
int |
getDigestLength()
Get length of message digest. |
void |
reset()
Reset message digest to its initial state. |
void |
update(byte b)
Process the given byte. |
void |
update(byte[] input,
int inOff,
int inLen)
Processes the given number of bytes, supplied in a byte array starting at the given position. |
| Methods inherited from class de.flexiprovider.api.MessageDigest |
digest, digest, engineDigest, engineGetDigestLength, engineReset, engineUpdate, engineUpdate, update |
| Methods inherited from class java.security.MessageDigestSpi |
clone, engineDigest |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public NullDigest()
| Method Detail |
public int getDigestLength()
getDigestLength in class MessageDigestpublic void update(byte b)
update in class MessageDigestb - the byte to be processed
public void update(byte[] input,
int inOff,
int inLen)
update in class MessageDigestinput - the byte array containing the inputinOff - the offset where the input startsinLen - the length of the inputpublic byte[] digest()
MessageDigestMessageDigest.digest() has been called, the engine should be
reset (see MessageDigest.reset()). Resetting is the responsibility of the
engine implementor.digest in class MessageDigestpublic void reset()
reset in class MessageDigest
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||