org.bouncycastle.jce.provider.test
Class HMacTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.HMacTest
- All Implemented Interfaces:
- Test
public class HMacTest
- extends SimpleTest
HMAC tester
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyBytes
static byte[] keyBytes
message
static byte[] message
output1
static byte[] output1
outputMD5
static byte[] outputMD5
outputMD2
static byte[] outputMD2
outputMD4
static byte[] outputMD4
output224
static byte[] output224
output256
static byte[] output256
output384
static byte[] output384
output512
static byte[] output512
outputRipeMD128
static byte[] outputRipeMD128
outputRipeMD160
static byte[] outputRipeMD160
outputTiger
static byte[] outputTiger
outputOld384
static byte[] outputOld384
outputOld512
static byte[] outputOld512
HMacTest
public HMacTest()
testHMac
public void testHMac(java.lang.String hmacName,
byte[] output)
throws java.lang.Exception
- Throws:
java.lang.Exception
testExceptions
private void testExceptions()
throws java.lang.Exception
- Throws:
java.lang.Exception
performTest
public void performTest()
throws java.lang.Exception
- Specified by:
performTest
in class SimpleTest
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
- Specified by:
getName
in interface Test
- Specified by:
getName
in class SimpleTest
main
public static void main(java.lang.String[] args)