Adapt to changes in dss.
Respect SignatureType optional input when deciding on the signature format.