How to identify the source of Conscrypt used in the Android N network security configuration code?

Android N has a network security configuration for certificate pinning, self-signed certificate support (including debugging option), etc. It is pretty smooth. I tried to drape it if Google did not, as it would be nice to use some of these features on Android 6.0 and older devices.

The source code to support network security configuration was simple enough to find where this link points to the android-n-preview-3 tag.

This source refers to conscrypt, described as well as "a Java security provider that uses OpenSSL."

However, the android-n-preview-3 tagged edition encryption code does not match what the network security configuration code uses. It should be noted that the network security configuration code is based on TrustManagerImpl , and the android-n-preview-3 tagged release of the encryption code does not have this class. Earlier versions.

I'm not good enough at AOSP code to figure out where the network security configuration code pulls its specific implementation, so I can make sure that I mean the same version of this code.

Any ideas?

+6
source share
1 answer

TrustManagerImpl is, you can see it here .

The network security configuration code in AOSP is mostly updated, but there may be changes between what is and the final code that will be published when N. is published.

+2
source

All Articles