Added validity as param
Implemented ServerAuth cert type