org.bouncycastle.crypto.tls

Class CombinedHash

public class CombinedHash extends Object implements Digest

A combined hash, which implements md5(m) || sha1(m).
Method Summary
intdoFinal(byte[] out, int outOff)
StringgetAlgorithmName()
intgetDigestSize()
voidreset()
voidupdate(byte in)
voidupdate(byte[] in, int inOff, int len)

Method Detail

doFinal

public int doFinal(byte[] out, int outOff)

See Also: (byte[],int)

getAlgorithmName

public String getAlgorithmName()

See Also: getAlgorithmName

getDigestSize

public int getDigestSize()

See Also: getDigestSize

reset

public void reset()

See Also: reset

update

public void update(byte in)

See Also: Digest

update

public void update(byte[] in, int inOff, int len)

See Also: (byte[],int,int)