public class EncryptedElementTypeEncryptedKeyResolver extends AbstractEncryptedKeyResolver
EncryptedKeyResolver
which resolves EncryptedKey
elements which appear as immediate children of the
EncryptedElementType
which is the parent of the EncryptedData
context.Constructor and Description |
---|
EncryptedElementTypeEncryptedKeyResolver()
Constructor.
|
EncryptedElementTypeEncryptedKeyResolver(Set<String> recipients)
Constructor.
|
EncryptedElementTypeEncryptedKeyResolver(String recipient)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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 EncryptedElementTypeEncryptedKeyResolver()
public EncryptedElementTypeEncryptedKeyResolver(@Nullable Set<String> recipients)
recipients
- the set of recipientspublic Iterable<EncryptedKey> resolve(EncryptedData encryptedData)
encryptedData
- the EncryptedData element context in which to resolveCopyright © 2018. All rights reserved.