Class ConscryptLoader

java.lang.Object
io.grpc.internal.ConscryptLoader

public final class ConscryptLoader extends Object
Utility to load dynamically Conscrypt when it is available.
  • Constructor Details

    • ConscryptLoader

      public ConscryptLoader()
  • Method Details

    • isPresent

      public static boolean isPresent()
      Returns true when the Conscrypt Java classes are available. Does not imply it actually works on this platform.
    • isConscrypt

      public static boolean isConscrypt(Provider provider)
      Same as Conscrypt.isConscrypt(Provider).
    • newProvider

      public static Provider newProvider() throws Throwable
      Same as Conscrypt.newProvider().
      Throws:
      Throwable