public interface EncryptedKeyResolver
EncryptedKey elements based on a particular
EncryptedData context, primarily for use during the decryption process.
The resolved EncryptedKey element(s) will contain the data encryption key used to encrypt
the specified EncryptedData.| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getRecipients()
Get the set of recipient criteria used by this resolver, and against which a candidate
EncryptedKey's Recipient attribute is evaluated.
|
java.lang.Iterable<EncryptedKey> |
resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to
encrypt the specified EncryptedData element.
|
@Nonnull java.lang.Iterable<EncryptedKey> resolve(@Nonnull EncryptedData encryptedData)
encryptedData - the EncryptedData element context in which to resolve@Nonnull @NonnullElements @Unmodifiable @NotLive java.util.Set<java.lang.String> getRecipients()