public class InlineEncryptedKeyResolverTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private InlineEncryptedKeyResolver |
resolver
The resolver instance to be tested.
|
| Constructor and Description |
|---|
InlineEncryptedKeyResolverTest() |
| Modifier and Type | Method and Description |
|---|---|
private List<org.opensaml.xmlsec.encryption.EncryptedKey> |
generateList(org.opensaml.xmlsec.encryption.EncryptedData encData,
EncryptedKeyResolver ekResolver)
Resolve EncryptedKeys and put them in an ordered list.
|
void |
testMultiEKNoRecipients()
No recipients specified to resolver.
|
void |
testMultiEKOneRecipientWithMatch()
One recipient specified to resolver, one matching & and one recipient-less
inline EncryptedKey in instance.
|
void |
testMultiEKOneRecipientWithMatches()
Multi recipient specified to resolver, several matching inline EncryptedKey in instance.
|
void |
testSingleEKNoRecipients()
No recipients specified to resolver, one inline EncryptedKey in instance.
|
void |
testSingleEKOneRecipientNoMatch()
One recipient specified to resolver, zero matching inline EncryptedKey in instance.
|
void |
testSingleEKOneRecipientWithMatch()
One recipient specified to resolver, one matching inline EncryptedKey in instance.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementprivate InlineEncryptedKeyResolver resolver
public void testSingleEKNoRecipients()
public void testSingleEKOneRecipientWithMatch()
public void testSingleEKOneRecipientNoMatch()
public void testMultiEKNoRecipients()
public void testMultiEKOneRecipientWithMatch()
public void testMultiEKOneRecipientWithMatches()
private List<org.opensaml.xmlsec.encryption.EncryptedKey> generateList(org.opensaml.xmlsec.encryption.EncryptedData encData, EncryptedKeyResolver ekResolver)
encData - the EncryptedData contextekResolver - the resolver to testCopyright © 1999–2015. All rights reserved.