public class WSSecSignatureBase extends WSSecBase
attachmentCallbackHandler, callbackLookup, doDebug, keyIdentifierType, password, storeBytesInAttachment, user
Constructor and Description |
---|
WSSecSignatureBase() |
Modifier and Type | Method and Description |
---|---|
List<Reference> |
addReferencesToSign(Document doc,
List<WSEncryptionPart> references,
WSDocInfo wsDocInfo,
XMLSignatureFactory signatureFactory,
WSSecHeader secHeader,
boolean addInclusivePrefixes,
String digestAlgo)
This method adds references to the Signature.
|
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
|
getIdAllocator, getKeyIdentifierType, getParts, setAttachmentCallbackHandler, setBodyID, setCallbackLookup, setIdAllocator, setKeyIdentifierType, setStoreBytesInAttachment, setUserInfo, setWsuId
public List<Reference> addReferencesToSign(Document doc, List<WSEncryptionPart> references, WSDocInfo wsDocInfo, XMLSignatureFactory signatureFactory, WSSecHeader secHeader, 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 objectsecHeader
- The Security HeaderaddInclusivePrefixes
- 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)
Copyright © 2016 JBoss by Red Hat. All rights reserved.