There is no easy way... You will have to write crypto specific code and use low level crypto library comparison functions to compare keys. Aleksey