Relative Content

Tag Archive for androidkotlinmodulocertificate-pinning

How to pin modulus of the certificate public key on Android?

So I am using Android TrustKit to pin certificate’s Subject Public Key Info. One of the security guys suggested I pin modulus of the public key, however, I cannot find any sort of examples on how to do that. Here is my current Android code:

How to pin modulus of the certificate public key on Android?

So I am using Android TrustKit to pin certificate’s Subject Public Key Info. One of the security guys suggested I pin modulus of the public key, however, I cannot find any sort of examples on how to do that. Here is my current Android code: