org.apache.ws.security.message
Class WSSecSignatureBase
java.lang.Object
org.apache.ws.security.message.WSSecBase
org.apache.ws.security.message.WSSecSignatureBase
- Direct Known Subclasses:
- WSSecDerivedKeyBase, WSSecSignature
public class WSSecSignatureBase
- extends WSSecBase
This is the base class for WS Security messages that are used for signature generation or
verification.
Method Summary |
java.util.List<javax.xml.crypto.dsig.Reference> |
addReferencesToSign(org.w3c.dom.Document doc,
java.util.List<WSEncryptionPart> references,
WSDocInfo wsDocInfo,
javax.xml.crypto.dsig.XMLSignatureFactory signatureFactory,
WSSecHeader secHeader,
WSSConfig wssConfig,
java.lang.String digestAlgo)
This method adds references to the Signature. |
org.w3c.dom.Element |
createSTRParameter(org.w3c.dom.Document doc)
Create an STRTransformationParameters element |
java.util.List<java.lang.String> |
getInclusivePrefixes(org.w3c.dom.Element target)
Get the List of inclusive prefixes from the DOM Element argument |
java.util.List<java.lang.String> |
getInclusivePrefixes(org.w3c.dom.Element target,
boolean excludeVisible)
Get the List of inclusive prefixes from the DOM Element argument |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSSecSignatureBase
public WSSecSignatureBase()
WSSecSignatureBase
public WSSecSignatureBase(WSSConfig config)
addReferencesToSign
public java.util.List<javax.xml.crypto.dsig.Reference> addReferencesToSign(org.w3c.dom.Document doc,
java.util.List<WSEncryptionPart> references,
WSDocInfo wsDocInfo,
javax.xml.crypto.dsig.XMLSignatureFactory signatureFactory,
WSSecHeader secHeader,
WSSConfig wssConfig,
java.lang.String digestAlgo)
throws WSSecurityException
- This method adds references to the Signature.
- Parameters:
doc
- The parent documentreferences
- The list of references to signwsDocInfo
- The WSDocInfo object to store protection elements insignatureFactory
- The XMLSignature objectsecHeader
- The Security HeaderwssConfig
- The WSSConfigdigestAlgo
- The digest algorithm to use
- Throws:
WSSecurityException
getInclusivePrefixes
public java.util.List<java.lang.String> getInclusivePrefixes(org.w3c.dom.Element target)
- Get the List of inclusive prefixes from the DOM Element argument
getInclusivePrefixes
public java.util.List<java.lang.String> getInclusivePrefixes(org.w3c.dom.Element target,
boolean excludeVisible)
- Get the List of inclusive prefixes from the DOM Element argument
createSTRParameter
public org.w3c.dom.Element createSTRParameter(org.w3c.dom.Document doc)
- Create an STRTransformationParameters element
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.