Class CryptoTest


  • public class CryptoTest
    extends Object
    • Constructor Detail

      • CryptoTest

        public CryptoTest()
    • Method Detail

      • testMerlinWithNullProperties

        @Test
        public void testMerlinWithNullProperties()
                                          throws Exception
        Throws:
        Exception
      • testCustomCrypto

        @Test
        public void testCustomCrypto()
                              throws Exception
        Ensure that we can load a custom crypto implementation using a Map
        Throws:
        Exception
      • testNoKeyStoreFile

        @Test
        public void testNoKeyStoreFile()
                                throws Exception
        Test for WSS-149 - "Merlin requires org.apache.wss4j.crypto.merlin.file to be set and point to an existing file"
        Throws:
        Exception
      • testDynamicCrypto

        @Test
        public void testDynamicCrypto()
                               throws Exception
        Test that we can sign and verify a signature using dynamically loaded keystores/truststore
        Throws:
        Exception
      • testCryptoFactoryMerlin

        @Test
        public void testCryptoFactoryMerlin()
                                     throws Exception
        Throws:
        Exception
      • testCryptoFactoryMerlinDevice

        @Test
        public void testCryptoFactoryMerlinDevice()
                                           throws Exception
        Throws:
        Exception