Allow digest to be modified
Support ECC PK algorithms
Also support DSA PK algorithms