Class InlineEncryptedKeyResolver
java.lang.Object
org.opensaml.xmlsec.encryption.support.AbstractEncryptedKeyResolver
org.opensaml.xmlsec.encryption.support.InlineEncryptedKeyResolver
- All Implemented Interfaces:
EncryptedKeyResolver
Implementation of
EncryptedKeyResolver which finds EncryptedKey elements
within the KeyInfo of the EncryptedData context.-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.InlineEncryptedKeyResolver(String recipient) Deprecated.InlineEncryptedKeyResolver(Set<String> recipients) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionresolve(EncryptedData encryptedData, Set<String> recipients) Resolve the EncryptedKey elements containing the data encryption key used to encrypt the specified EncryptedData element.Methods inherited from class org.opensaml.xmlsec.encryption.support.AbstractEncryptedKeyResolver
getEffectiveRecipients, getRecipients, matchCarriedKeyName, matchDataReference, matchRecipientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.xmlsec.encryption.support.EncryptedKeyResolver
resolve
-
Constructor Details
-
InlineEncryptedKeyResolver
public InlineEncryptedKeyResolver()Constructor. -
InlineEncryptedKeyResolver
Deprecated.Constructor.- Parameters:
recipients- the set of recipients
-
InlineEncryptedKeyResolver
Deprecated.Constructor.- Parameters:
recipient- the recipient
-
-
Method Details
-
resolve
@Nonnull public Iterable<EncryptedKey> resolve(@Nonnull EncryptedData encryptedData, @Nullable Set<String> recipients) 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 resolverecipients- the recipients to use during resolution- Returns:
- an iterable of EncryptedKey elements
-