Package org.apache.wss4j.dom.message
Class EncryptionCRLTest
- java.lang.Object
-
- org.apache.wss4j.dom.message.EncryptionCRLTest
-
public class EncryptionCRLTest extends Object
This is a test for Certificate Revocation List checking before encryption. This test reuses the revoked certificate from SignatureCRLTest
-
-
Constructor Summary
Constructors Constructor Description EncryptionCRLTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
Setup methodvoid
testEncryptionWithOutRevocationCheck()
Test that encrypts without certificate revocation check so it should passvoid
testEncryptionWithRevocationCheck()
Test that encrypts with certificate revocation check so it should fail
-
-
-
Method Detail
-
setUp
@BeforeEach public void setUp() throws Exception
Setup method- Throws:
Exception
- Thrown when there is a problem in setup
-
testEncryptionWithOutRevocationCheck
@Test public void testEncryptionWithOutRevocationCheck() throws Exception
Test that encrypts without certificate revocation check so it should pass- Throws:
Exception
- Thrown when there is any problem in encryption or decryption
-
testEncryptionWithRevocationCheck
@Test @Disabled public void testEncryptionWithRevocationCheck() throws Exception
Test that encrypts with certificate revocation check so it should fail- Throws:
Exception
- Thrown when there is any problem in encryption or decryption TODO Re-enable once CRL issue fixed
-
-