Package com.google.crypto.tink.internal
Class ConscryptUtil
- java.lang.Object
-
- com.google.crypto.tink.internal.ConscryptUtil
-
public final class ConscryptUtil extends java.lang.ObjectUtility functions for Conscrypt.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisConscryptProvider(java.security.Provider provider)static java.security.ProviderproviderOrNull()static java.security.ProviderproviderWithReflectionOrNull()Tries to get the Conscrypt provider using reflection.
-
-
-
Method Detail
-
providerOrNull
@Nullable public static java.security.Provider providerOrNull()
-
providerWithReflectionOrNull
@Nullable public static java.security.Provider providerWithReflectionOrNull()
Tries to get the Conscrypt provider using reflection.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.
-
isConscryptProvider
public static final boolean isConscryptProvider(java.security.Provider provider)
-
-