Class EncryptAssertionsTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.saml2.profile.impl.EncryptAssertionsTest
-
public class EncryptAssertionsTest extends OpenSAMLInitBaseTestCase
Unit test forEncryptAssertions.
-
-
Field Summary
Fields Modifier and Type Field Description private EncryptAssertionsactionprivate EncryptionParametersencParamsprivate ProfileRequestContextprc
-
Constructor Summary
Constructors Constructor Description EncryptAssertionsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestEmptyMessage()voidtestEncryptedAssertion()voidtestFailure()-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
encParams
private EncryptionParameters encParams
-
prc
private ProfileRequestContext prc
-
action
private EncryptAssertions action
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws NoSuchAlgorithmException, NoSuchProviderException
-
testEmptyMessage
public void testEmptyMessage() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testEncryptedAssertion
public void testEncryptedAssertion() throws EncryptionException, ComponentInitializationException, MarshallingException
-
testFailure
public void testFailure() throws EncryptionException, ComponentInitializationException, MarshallingException
-
-