public class WSSecSignatureBase extends WSSecBase
addWSUNamespace, attachmentCallbackHandler, callbackLookup, expandXopInclude, keyIdentifierType, password, storeBytesInAttachment, user
Constructor and Description |
---|
WSSecSignatureBase(Document doc) |
WSSecSignatureBase(WSSecHeader securityHeader) |
Modifier and Type | Method and Description |
---|---|
List<Reference> |
addReferencesToSign(Document doc,
List<WSEncryptionPart> references,
WSDocInfo wsDocInfo,
XMLSignatureFactory signatureFactory,
boolean addInclusivePrefixes,
String digestAlgo)
This method adds references to the Signature.
|
protected void |
cleanup() |
Element |
createSTRParameter(Document doc)
Create an STRTransformationParameters element
|
List<String> |
getInclusivePrefixes(Element target)
Get the List of inclusive prefixes from the DOM Element argument
|
List<String> |
getInclusivePrefixes(Element target,
boolean excludeVisible)
Get the List of inclusive prefixes from the DOM Element argument
|
getDocument, getIdAllocator, getKeyIdentifierType, getParts, getSecurityHeader, getWsDocInfo, isExpandXopInclude, setAttachmentCallbackHandler, setBodyID, setCallbackLookup, setExpandXopInclude, setIdAllocator, setKeyIdentifierType, setStoreBytesInAttachment, setUserInfo, setWsDocInfo, setWsuId
public WSSecSignatureBase(WSSecHeader securityHeader)
public WSSecSignatureBase(Document doc)
public List<Reference> addReferencesToSign(Document doc, List<WSEncryptionPart> references, WSDocInfo wsDocInfo, XMLSignatureFactory signatureFactory, boolean addInclusivePrefixes, String digestAlgo) throws WSSecurityException
doc
- The parent documentreferences
- The list of references to signwsDocInfo
- The WSDocInfo object to store protection elements insignatureFactory
- The XMLSignature objectaddInclusivePrefixes
- Whether to add inclusive prefixes or notdigestAlgo
- The digest algorithm to useWSSecurityException
public List<String> getInclusivePrefixes(Element target)
public List<String> getInclusivePrefixes(Element target, boolean excludeVisible)
public Element createSTRParameter(Document doc)
protected void cleanup()
Copyright © 2021 JBoss by Red Hat. All rights reserved.