public final class ConscryptUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isConscryptProvider(Provider provider) |
static Provider |
providerOrNull() |
static Provider |
providerWithReflectionOrNull()
Tries to get the Conscrypt provider using reflection.
|
@Nullable public static Provider providerWithReflectionOrNull()
Note that this will typically fail on Android because ProGuard renames all class and method names. However, on Android, Conscrypt is installed by default and so this code is not executed.
public static final boolean isConscryptProvider(Provider provider)