org.mozilla.jss.tests
Class HMACTest
java.lang.Object
org.mozilla.jss.tests.HMACTest
public class HMACTest
extends java.lang.Object
HMAC is a hash function based message authentication code.
HMACTest compares the HMAC created by Mozilla, IBM and Sun JCE.
static void | doHMAC(SecretKeyFacade sk, String alg) - Initialize and compare hashes generated by Mozilla-JSS
and platform JDK vendor JCE.
|
static void | main(String[] argv) - Main test method.
|
doHMAC
public static void doHMAC(SecretKeyFacade sk,
String alg)
throws Exception
Initialize and compare hashes generated by Mozilla-JSS
and platform JDK vendor JCE.
main
public static void main(String[] argv)
Main test method.