Function rustls_platform_verifier::android::init_hosted

source ยท
pub fn init_hosted(env: &JNIEnv<'_>, context: JObject<'_>) -> Result<(), Error>
Available on Android only.
Expand description

Initializes and stores the required context for the Android platform.

This method will setup and store an envrionment locally. This is useful if nothing else in your application needs access the Android runtime.

Initialization must be done before any verification is attempted.