use Type for represent type of key
support dsa key
Merge pull request #1 from yosida95/support_dsa

Support DSA