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.
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 List<javax.xml.crypto.dsig.Reference> addReferencesToSign(Document doc,
List<WSEncryptionPart> references,
WSDocInfo wsDocInfo,
javax.xml.crypto.dsig.XMLSignatureFactory signatureFactory,
WSSecHeader secHeader,
WSSConfig wssConfig,
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 List<String> getInclusivePrefixes(Element target)
- Get the List of inclusive prefixes from the DOM Element argument
getInclusivePrefixes
public List<String> getInclusivePrefixes(Element target,
boolean excludeVisible)
- Get the List of inclusive prefixes from the DOM Element argument
createSTRParameter
public Element createSTRParameter(Document doc)
- Create an STRTransformationParameters element
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.