documentation of checkServerIdentity