Certificate pinning with network.* APIs

Is it possible to check X.509 certificate fingerprint using network.* APIs? 

I have found some information in this topic and I wonder if there is any news about it.

Thank you in advance