All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.test.TestHMAC

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----cryptix.util.test.BaseTest
                                           |
                                           +----cryptix.test.TestHMAC

public class TestHMAC
extends BaseTest
Tests the output of the HMAC message authentication code implementation against certified pre-computed output for a given set of reference input.

Copyright © 1998 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.3 $

Author:
David Hopwood

Constructor Index

 o TestHMAC()

Method Index

 o engineTest()
Test using the data from RFC 2202.
 o main(String[])

Constructors

 o TestHMAC
 public TestHMAC()

Methods

 o main
 public static void main(String args[])
 o engineTest
 protected void engineTest() throws Exception
Test using the data from RFC 2202. Note that this will fail if the MD5 or SHA-1 MessageDigest classes are incorrect.

Overrides:
engineTest in class BaseTest

All Packages  Class Hierarchy  This Package  Previous  Next  Index