Builds a signed soap envelope. This is a convenience method and for backward compatibility. The method creates a Signature and puts it into the Security header. It does so by calling the single functions in order to perform a one shot signature. This method is compatible with the build method of the previous version with the exception of the additional WSSecHeader parameter.
@param doc The unsigned SOAP envelope as Document
@param cr An instance of the Crypto API to handle keystore and certificates
@param secHeader the security header element to hold the encrypted key element.
@return A signed SOAP envelope as Document
@throws WSSecurityException
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.