org.opensaml.xml.encryption
Interface EncryptedKeyResolver

All Known Implementing Classes:
AbstractEncryptedKeyResolver, ChainingEncryptedKeyResolver, InlineEncryptedKeyResolver, SimpleRetrievalMethodEncryptedKeyResolver

public interface EncryptedKeyResolver

Interface for resolving 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.


Method Summary
 java.util.List<java.lang.String> getRecipients()
          Get the list 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.
 

Method Detail

resolve

java.lang.Iterable<EncryptedKey> resolve(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

getRecipients

java.util.List<java.lang.String> getRecipients()
Get the list of recipient criteria used by this resolver, and against which a candidate EncryptedKey's Recipient attribute is evaluated.

Returns:
the list of recipient criteria


Copyright © 2006-2012 Internet2. All Rights Reserved.