org.apache.ws.security.components.crypto
Class CryptoTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.apache.ws.security.components.crypto.CryptoTest

public class CryptoTest
extends org.junit.Assert


Constructor Summary
CryptoTest()
           
 
Method Summary
 void testCrypto()
           
 void testCustomCrypto()
          Ensure that we can load a custom crypto implementation using a Map
 void testDynamicCrypto()
          Test that we can sign and verify a signature using dynamically loaded keystores/truststore
 void testMerlinWithNullProperties()
           
 void testNoKeyStoreFile()
          Test for WSS-149 - "Merlin requires org.apache.ws.security.crypto.merlin.file to be set and point to an existing file"
 
Methods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptoTest

public CryptoTest()
Method Detail

testCrypto

public void testCrypto()
                throws java.lang.Exception
Throws:
java.lang.Exception

testMerlinWithNullProperties

public void testMerlinWithNullProperties()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCustomCrypto

public void testCustomCrypto()
                      throws java.lang.Exception
Ensure that we can load a custom crypto implementation using a Map

Throws:
java.lang.Exception

testNoKeyStoreFile

public void testNoKeyStoreFile()
                        throws java.lang.Exception
Test for WSS-149 - "Merlin requires org.apache.ws.security.crypto.merlin.file to be set and point to an existing file"

Throws:
java.lang.Exception

testDynamicCrypto

public void testDynamicCrypto()
                       throws java.lang.Exception
Test that we can sign and verify a signature using dynamically loaded keystores/truststore

Throws:
java.lang.Exception


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.