add FromStr
implementation for key types
#60
Merged
FromStr
implementation for key types
#60