Class CertErrorTest


  • public class CertErrorTest
    extends Object
    This class tests for error messages that apply to certificates, e.g. when a bad "username" is used for encryption or signature. See WSS-137.
    • Constructor Detail

      • CertErrorTest

        public CertErrorTest()
    • Method Detail

      • testX509Signature

        @Test
        public void testX509Signature()
                               throws Exception
        Test for when a bad certificate is used for Signature
        Throws:
        Exception
      • testEncryption

        @Test
        public void testEncryption()
                            throws Exception
        Test for when a bad certificate is used for Encryption
        Throws:
        Exception