public class InlineEncryptedKeyResolver extends AbstractEncryptedKeyResolver
EncryptedKeyResolver which finds EncryptedKey elements
within the KeyInfo of the EncryptedData context.| Constructor and Description |
|---|
InlineEncryptedKeyResolver()
Constructor.
|
InlineEncryptedKeyResolver(Set<String> recipients)
Constructor.
|
InlineEncryptedKeyResolver(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, matchRecipientpublic InlineEncryptedKeyResolver()
public InlineEncryptedKeyResolver(@Nullable Set<String> recipients)
recipients - the set of recipients@Nonnull public Iterable<EncryptedKey> resolve(@Nonnull EncryptedData encryptedData)
encryptedData - the EncryptedData element context in which to resolveCopyright © 1999–2015. All rights reserved.