|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.encryption.AbstractEncryptedKeyResolver
org.opensaml.xml.encryption.SimpleRetrievalMethodEncryptedKeyResolver
public class SimpleRetrievalMethodEncryptedKeyResolver
Implementation of EncryptedKeyResolver which finds EncryptedKey elements by dereferencing
RetrievalMethod children of the KeyInfo of the EncryptedData
context.
The RetrievalMethod must have a Type attribute with the value of
EncryptionConstants.TYPE_ENCRYPTED_KEY. The URI attribute value must be a same-document
fragment identifier (via ID attribute). Processing of transforms children of RetrievalMethod is not supported by this
implementation.
| Constructor Summary | |
|---|---|
SimpleRetrievalMethodEncryptedKeyResolver()
|
|
| Method Summary | |
|---|---|
protected EncryptedKey |
dereferenceURI(RetrievalMethod rm)
Dereference the URI attribute of the specified retrieval method into an EncryptedKey. |
java.lang.Iterable<EncryptedKey> |
resolve(EncryptedData encryptedData)
Resolve the EncryptedKey elements containing the data encryption key used to encrypt the specified EncryptedData element. |
| Methods inherited from class org.opensaml.xml.encryption.AbstractEncryptedKeyResolver |
|---|
getRecipients, matchCarriedKeyName, matchDataReference, matchRecipient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleRetrievalMethodEncryptedKeyResolver()
| Method Detail |
|---|
public java.lang.Iterable<EncryptedKey> resolve(EncryptedData encryptedData)
encryptedData - the EncryptedData element context in which to resolve
protected EncryptedKey dereferenceURI(RetrievalMethod rm)
rm - the RetrievalMethod to process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||