verify the public key type and the keyusage extension, depending on sele...

...cted key exchange algorithm