@Override
    public void engineInit(KeyStore ks) throws KeyStoreException {
        if (ks != null) {
            keyStore = ks;
        } else {
            keyStore = Platform.getDefaultCertKeyStore();
        }
    }
@see javax.net.ssl.TrustManagerFactorySpi#engineInit(KeyStore)
common/src/main/java/org/conscrypt/TrustManagerFactoryImpl.java