org.jboss.test
Class SecurityProviderlTestCase
java.lang.Object
TestCase
org.jboss.test.SecurityProviderlTestCase
- public class SecurityProviderlTestCase
- extends TestCase
Tests of the org.jboss.crypto.* Java Cryptography Architecture plugin
classes
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityProviderlTestCase
public SecurityProviderlTestCase(java.lang.String name)
testSHAInterleave
public void testSHAInterleave()
throws java.lang.Exception
- Compare Util.sessionKeyHash against the SHA-SRP MessageDigest. This
will not match the Util.sessionKeyHash as the algorithm described in
RFC2945 does not reverse the odd and even byte arrays as is done in
Util.sessionKeyHash.
- Throws:
java.lang.Exception
testSHAReverseInterleave
public void testSHAReverseInterleave()
throws java.lang.Exception
- This should match the Util.sessionKeyHash
- Throws:
java.lang.Exception
suite
public static Test suite()
main
public static void main(java.lang.String[] args)