public class EncryptedElementTypeEncryptedKeyResolverTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.encryption.EncryptedElementTypeEncryptedKeyResolver |
resolver
The resolver instance to be tested.
|
| Constructor and Description |
|---|
EncryptedElementTypeEncryptedKeyResolverTest() |
| 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
EncryptedKey in instance.
|
void |
testMultiEKOneRecipientWithMatches()
Multi recipient specified to resolver, several matching EncryptedKey in instance.
|
void |
testSingleEKMultiRecipientWithImplicitMatch()
Multiple recipients specified to resolver, one EncryptedKey in instance with no recipient.
|
void |
testSingleEKNoRecipients()
No recipients specified to resolver, one EncryptedKey in instance.
|
void |
testSingleEKOneRecipientNoMatch()
One recipient specified to resolver, zero matching EncryptedKey in instance.
|
void |
testSingleEKOneRecipientWithMatch()
One recipient specified to resolver, one matching EncryptedKey in instance.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate org.opensaml.saml.saml2.encryption.EncryptedElementTypeEncryptedKeyResolver resolver
public EncryptedElementTypeEncryptedKeyResolverTest()
public void testSingleEKNoRecipients()
public void testSingleEKMultiRecipientWithImplicitMatch()
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–2019 Shibboleth Consortium. All rights reserved.