I have a Delphi XE7 DataSnap https server and I want the client to verify the signature on connection. It looks like the place to do it in the the connection's ValidatePeerCertificate. I'm not familiar with the X509 related classes and documentation is pretty cryptic. Does anyone know of some sample code?