org.mozilla.jss.tests

Class HMACTest

public class HMACTest extends Object

HMAC is a hash function based message authentication code. HMACTest compares the HMAC created by Mozilla, IBM and Sun JCE.
Method Summary
static voiddoHMAC(SecretKeyFacade sk, String alg)
Initialize and compare hashes generated by Mozilla-JSS and platform JDK vendor JCE.
static voidmain(String[] argv)
Main test method.

Method Detail

doHMAC

public static void doHMAC(SecretKeyFacade sk, String alg)
Initialize and compare hashes generated by Mozilla-JSS and platform JDK vendor JCE.

main

public static void main(String[] argv)
Main test method.

UNKNOWN: args[]