the envelope, its wsse:Security header and token laid out
privateKey or privateKeyPem, sigAlg (a URI),
ids (the wsu:Id of each part to sign), tokenId (the
BinarySecurityToken's), after (the id of a header child to insert
the signature after, else it goes last) and signatureId
the signed envelope
Signs a SOAP envelope with a WS-Security message signature: a ds:Signature in its wsse:Security header, a Reference per id, exclusive canonicalization, and a SecurityTokenReference to the BinarySecurityToken the caller has put in that header.