Interface EncryptedKeyResolver
-
- All Known Implementing Classes:
AbstractEncryptedKeyResolver
,ChainingEncryptedKeyResolver
,InlineEncryptedKeyResolver
,SimpleKeyInfoReferenceEncryptedKeyResolver
,SimpleRetrievalMethodEncryptedKeyResolver
public interface EncryptedKeyResolver
Interface for resolvingEncryptedKey
elements based on a particularEncryptedData
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getRecipients()
Get the set of recipient criteria used by this resolver, and against which a candidate EncryptedKey's Recipient attribute is evaluated.Iterable<EncryptedKey>
resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to encrypt the specified EncryptedData element.
-
-
-
Method Detail
-
resolve
@Nonnull Iterable<EncryptedKey> resolve(@Nonnull EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to encrypt the specified EncryptedData element.- Parameters:
encryptedData
- the EncryptedData element context in which to resolve- Returns:
- an iterable of EncryptedKey elements
-
-