|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.encryption.AbstractEncryptedKeyResolver org.opensaml.xml.encryption.ChainingEncryptedKeyResolver
public class ChainingEncryptedKeyResolver
An implementation of EncryptedKeyResolver
which chains multiple other resolver implementations together,
calling them in the order specified in the resolver list.
Nested Class Summary | |
---|---|
class |
ChainingEncryptedKeyResolver.ChainingIterable
Implementation of Iterable to be returned by ChainingEncryptedKeyResolver . |
class |
ChainingEncryptedKeyResolver.ChainingIterator
Implementation of Iterator to be (indirectly) returned by ChainingEncryptedKeyResolver . |
Field Summary | |
---|---|
private Logger |
log
Class logger. |
private List<EncryptedKeyResolver> |
resolvers
The list of resolvers which form the resolution chain. |
Constructor Summary | |
---|---|
ChainingEncryptedKeyResolver()
Constructor. |
Method Summary | |
---|---|
List<EncryptedKeyResolver> |
getResolverChain()
Get the list of resolvers which form the resolution chain. |
Iterable<EncryptedKey> |
resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to encrypt the specified EncryptedData element. |
Methods inherited from class org.opensaml.xml.encryption.AbstractEncryptedKeyResolver |
---|
getRecipients, matchCarriedKeyName, matchDataReference, matchRecipient |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final List<EncryptedKeyResolver> resolvers
private final Logger log
Constructor Detail |
---|
public ChainingEncryptedKeyResolver()
Method Detail |
---|
public List<EncryptedKeyResolver> getResolverChain()
public Iterable<EncryptedKey> resolve(EncryptedData encryptedData)
encryptedData
- the EncryptedData element context in which to resolve
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |