Package com.trilead.ssh2.crypto.digest
Class HMAC
- java.lang.Object
-
- com.trilead.ssh2.crypto.digest.HMAC
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]k_xor_ipad(package private) byte[]k_xor_opad(package private) Digestmd(package private) intsize(package private) byte[]tmp
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddigest(byte[] out)voiddigest(byte[] out, int off)intgetDigestLength()voidreset()voidupdate(byte b)voidupdate(byte[] b)voidupdate(byte[] b, int off, int len)
-
-
-
Field Detail
-
md
Digest md
-
k_xor_ipad
byte[] k_xor_ipad
-
k_xor_opad
byte[] k_xor_opad
-
tmp
byte[] tmp
-
size
int size
-
-
Constructor Detail
-
HMAC
public HMAC(Digest md, byte[] key, int size)
-
-
Method Detail
-
getDigestLength
public final int getDigestLength()
- Specified by:
getDigestLengthin interfaceDigest
-
update
public final void update(byte[] b, int off, int len)
-
-