Public Member Functions | |
int | getBlockSize () |
void | init (byte[] key) throws Exception |
void | update (int i) |
void | update (byte foo[], int s, int l) |
void | doFinal (byte[] buf, int offset) |
Protected Member Functions | |
void | setH (MessageDigest md) |
Private Attributes | |
byte[] | k_ipad = null |
byte[] | k_opad = null |
MessageDigest | md = null |
int | bsize = 0 |
final byte[] | tmp = new byte[4] |
Static Private Attributes | |
static final int | B = 64 |
Definition at line 34 of file HMAC.java.
void com.jcraft.jsch.jcraft.HMAC.doFinal | ( | byte[] | buf, | |
int | offset | |||
) |
Reimplemented in com.jcraft.jsch.jcraft.HMACMD596, and com.jcraft.jsch.jcraft.HMACSHA196.
Definition at line 100 of file HMAC.java.
References com.jcraft.jsch.jcraft.HMAC.B, com.jcraft.jsch.jcraft.HMAC.bsize, com.jcraft.jsch.jcraft.HMAC.k_ipad, com.jcraft.jsch.jcraft.HMAC.k_opad, and com.jcraft.jsch.jcraft.HMAC.md.
int com.jcraft.jsch.jcraft.HMAC.getBlockSize | ( | ) |
Reimplemented in com.jcraft.jsch.jcraft.HMACMD596, and com.jcraft.jsch.jcraft.HMACSHA196.
Definition at line 59 of file HMAC.java.
References com.jcraft.jsch.jcraft.HMAC.bsize.
void com.jcraft.jsch.jcraft.HMAC.init | ( | byte[] | key | ) | throws Exception |
Definition at line 60 of file HMAC.java.
References com.jcraft.jsch.jcraft.HMAC.B, com.jcraft.jsch.jcraft.HMAC.bsize, com.jcraft.jsch.jcraft.HMAC.k_ipad, com.jcraft.jsch.jcraft.HMAC.k_opad, com.jcraft.jsch.jcraft.HMAC.md, and com.jcraft.jsch.jcraft.HMAC.tmp.
void com.jcraft.jsch.jcraft.HMAC.setH | ( | MessageDigest | md | ) | [protected] |
Definition at line 54 of file HMAC.java.
References com.jcraft.jsch.jcraft.HMAC.bsize.
Referenced by com.jcraft.jsch.jcraft.HMACMD5.HMACMD5(), and com.jcraft.jsch.jcraft.HMACSHA1.HMACSHA1().
void com.jcraft.jsch.jcraft.HMAC.update | ( | byte | foo[], | |
int | s, | |||
int | l | |||
) |
Definition at line 96 of file HMAC.java.
References com.jcraft.jsch.jcraft.HMAC.md.
void com.jcraft.jsch.jcraft.HMAC.update | ( | int | i | ) |
Definition at line 88 of file HMAC.java.
References com.jcraft.jsch.jcraft.HMAC.tmp.
final int com.jcraft.jsch.jcraft.HMAC.B = 64 [static, private] |
Definition at line 46 of file HMAC.java.
Referenced by com.jcraft.jsch.jcraft.HMAC.doFinal(), and com.jcraft.jsch.jcraft.HMAC.init().
int com.jcraft.jsch.jcraft.HMAC.bsize = 0 [private] |
Definition at line 52 of file HMAC.java.
Referenced by com.jcraft.jsch.jcraft.HMAC.doFinal(), com.jcraft.jsch.jcraft.HMAC.getBlockSize(), com.jcraft.jsch.jcraft.HMAC.init(), and com.jcraft.jsch.jcraft.HMAC.setH().
byte [] com.jcraft.jsch.jcraft.HMAC.k_ipad = null [private] |
Definition at line 47 of file HMAC.java.
Referenced by com.jcraft.jsch.jcraft.HMAC.doFinal(), and com.jcraft.jsch.jcraft.HMAC.init().
byte [] com.jcraft.jsch.jcraft.HMAC.k_opad = null [private] |
Definition at line 48 of file HMAC.java.
Referenced by com.jcraft.jsch.jcraft.HMAC.doFinal(), and com.jcraft.jsch.jcraft.HMAC.init().
MessageDigest com.jcraft.jsch.jcraft.HMAC.md = null [private] |
Definition at line 50 of file HMAC.java.
Referenced by com.jcraft.jsch.jcraft.HMAC.doFinal(), com.jcraft.jsch.jcraft.HMACMD5.HMACMD5(), com.jcraft.jsch.jcraft.HMACSHA1.HMACSHA1(), com.jcraft.jsch.jcraft.HMAC.init(), and com.jcraft.jsch.jcraft.HMAC.update().
final byte [] com.jcraft.jsch.jcraft.HMAC.tmp = new byte[4] [private] |
Definition at line 87 of file HMAC.java.
Referenced by com.jcraft.jsch.jcraft.HMAC.init(), and com.jcraft.jsch.jcraft.HMAC.update().