Class EncryptAttributesTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.saml2.profile.impl.EncryptAttributesTest
-
public class EncryptAttributesTest extends OpenSAMLInitBaseTestCase
Unit test forEncryptAttributes.
-
-
Field Summary
Fields Modifier and Type Field Description private EncryptAttributesactionprivate SAMLObjectBuilder<Attribute>builderprivate EncryptionParametersencParamsprivate ProfileRequestContextprc
-
Constructor Summary
Constructors Constructor Description EncryptAttributesTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidsetUpClass()voidtestEmptyMessage()voidtestEncryptedAttributes()voidtestFailure()-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
builder
private SAMLObjectBuilder<Attribute> builder
-
encParams
private EncryptionParameters encParams
-
prc
private ProfileRequestContext prc
-
action
private EncryptAttributes action
-
-
Method Detail
-
setUpClass
@BeforeClass public void setUpClass()
-
setUp
@BeforeMethod public void setUp() throws NoSuchAlgorithmException, NoSuchProviderException
-
testEmptyMessage
public void testEmptyMessage() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testEncryptedAttributes
public void testEncryptedAttributes() throws EncryptionException, ComponentInitializationException, MarshallingException
-
testFailure
public void testFailure() throws EncryptionException, ComponentInitializationException, MarshallingException
-
-