OkHttp PublicKey attaching to Android

Does anyone know how we can implement public key pinning with OkHttp3

They read about securing SSL, and I see that we could do this by pinning a certificate or a public key (the latter seems more flexible). But I could find an example of Signing a certificate using OkHttp and not one of the key pinning.

Does anyone know how easy it is to implement using OkHttp (and / or an example of how to do this)?

TIA

+4
source share
1 answer

CertificatePinner OkHttp3, , , Pinning (, ).

, , ?

+2

Source: https://habr.com/ru/post/1661066/


All Articles