I am trying to do SSL pinning validation using the exchangeservice object. I modified the EWS managed api code to accommodate these changes. I add this method ValidateServerCertificate() as callback and when i do a subscribe(irrespective of subscribing model used) i am able to see that SSL validation callback method being called but its called 3 times.
Can i know the reason as to why callback is called multiple times? And also is there is way to make sure you do validation only once.
I am trying to do SSL pinning validation using the exchangeservice object. I modified the EWS managed api code to accommodate these changes. I add this method ValidateServerCertificate() as callback and when i do a subscribe(irrespective of subscribing model used) i am able to see that SSL validation callback method being called but its called 3 times.
Can i know the reason as to why callback is called multiple times? And also is there is way to make sure you do validation only once.
Thanks in advance