|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.maverick.ssh.components.jce.AbstractDigest
An abstract class that implements the Digest
interface to provide support for JCE based digests.
| Constructor Summary | |
AbstractDigest(java.lang.String jceAlgorithm)
|
|
| Method Summary | |
byte[] |
doFinal()
Do the final processing and return the hash. |
void |
putBigInteger(java.math.BigInteger bi)
Update the digest with a BigInteger value. |
void |
putByte(byte b)
Put a single byte into the digest. |
void |
putBytes(byte[] data)
Put a byte array into the digest. |
void |
putBytes(byte[] data,
int offset,
int len)
Put a byte array into the digest |
void |
putInt(int i)
Put an integer into the digest. |
void |
putString(java.lang.String str)
Put a String into the digest. |
void |
reset()
Reset the underlying digest. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractDigest(java.lang.String jceAlgorithm)
throws java.security.NoSuchAlgorithmException
| Method Detail |
public byte[] doFinal()
Digest
doFinal in interface Digestpublic void putBigInteger(java.math.BigInteger bi)
Digest
putBigInteger in interface Digestbi - public void putByte(byte b)
Digest
putByte in interface Digestb - public void putBytes(byte[] data)
Digest
putBytes in interface Digestdata -
public void putBytes(byte[] data,
int offset,
int len)
Digest
putBytes in interface Digestdata - offset - len - public void putInt(int i)
Digest
putInt in interface Digesti - public void putString(java.lang.String str)
Digest
putString in interface Digeststr - public void reset()
Digest
reset in interface Digest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||