public class InlineEncryptedKeyResolver extends AbstractEncryptedKeyResolver
EncryptedKeyResolver which finds EncryptedKey elements
within the KeyInfo of the EncryptedData context.| Constructor and Description |
|---|
InlineEncryptedKeyResolver()
Constructor.
|
InlineEncryptedKeyResolver(java.util.Set<java.lang.String> recipients)
Constructor.
|
InlineEncryptedKeyResolver(java.lang.String recipient)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.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
java.util.Set<java.lang.String> recipients)
recipients - the set of recipientspublic InlineEncryptedKeyResolver(@Nullable
java.lang.String recipient)
recipient - the recipient@Nonnull public java.lang.Iterable<EncryptedKey> resolve(@Nonnull EncryptedData encryptedData)
encryptedData - the EncryptedData element context in which to resolve