Add DSA private key api, docs and tests