public class ChainingEncryptedKeyResolver extends AbstractEncryptedKeyResolver
EncryptedKeyResolver
which chains multiple other resolver implementations together,
calling them in the order specified in the resolver list.Modifier and Type | Class and Description |
---|---|
class |
ChainingEncryptedKeyResolver.ChainingIterable
Implementation of
Iterable to be returned by ChainingEncryptedKeyResolver . |
class |
ChainingEncryptedKeyResolver.ChainingIterator
Implementation of
Iterator to be (indirectly) returned by ChainingEncryptedKeyResolver . |
Constructor and Description |
---|
ChainingEncryptedKeyResolver()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getRecipients, matchCarriedKeyName, matchDataReference, matchRecipient
public List<EncryptedKeyResolver> getResolverChain()
public Iterable<EncryptedKey> resolve(EncryptedData encryptedData)
encryptedData
- the EncryptedData element context in which to resolveCopyright © 2018 JBoss by Red Hat. All rights reserved.