|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IKeyInfoProcessor is responsible for the relationship between <KeyInfo> elements and SecurityTokens. This interface is needed because the key info may be stored in a format not defined by the xml-dsig spec. For example, in a WS-Security SecurityTokenReference.
| Method Summary | |
void |
addKeyInfo(XMLSignature signature,
Element signatureElement)
Given a signature, create a new KeyInfo element and add it to the given <Signature> element. |
SecurityToken |
findToken(java.util.Vector securityTokens,
Element keyInfoElement,
Element rootElement)
Given parts of a signed document, find a KeyInfo element and use it to figure out which of the passed in security tokens was used to sign the message. |
| Method Detail |
public SecurityToken findToken(java.util.Vector securityTokens,
Element keyInfoElement,
Element rootElement)
securityTokens - keyInfoElement - rootElement -
public void addKeyInfo(XMLSignature signature,
Element signatureElement)
signature - signatureElement -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||