| java.lang.Object org.bouncycastle.crypto.macs.HMac
HMac | public class HMac implements Mac(Code) | | HMAC implementation based on RFC2104
H(K XOR opad, H(K XOR ipad, text))
|
Constructor Summary | |
public | HMac(Digest digest) Base constructor for one of the standard digest algorithms that the
byteLength of the algorithm is know for. |
HMac | public HMac(Digest digest)(Code) | | Base constructor for one of the standard digest algorithms that the
byteLength of the algorithm is know for.
Parameters: digest - the digest. |
doFinal | public int doFinal(byte[] out, int outOff)(Code) | | |
getMacSize | public int getMacSize()(Code) | | |
getUnderlyingDigest | public Digest getUnderlyingDigest()(Code) | | |
reset | public void reset()(Code) | | Reset the mac generator.
|
update | public void update(byte in)(Code) | | |
update | public void update(byte[] in, int inOff, int len)(Code) | | |
|
|