Class SslSocketFactoryServerCredentials


  • @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1785")
    public final class SslSocketFactoryServerCredentials
    extends java.lang.Object
    A credential with full control over the SSLSocketFactory.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ServerCredentials create​(javax.net.ssl.SSLSocketFactory factory)  
      static ServerCredentials create​(javax.net.ssl.SSLSocketFactory factory, com.squareup.okhttp.ConnectionSpec connectionSpec)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static ServerCredentials create​(javax.net.ssl.SSLSocketFactory factory)
      • create

        public static ServerCredentials create​(javax.net.ssl.SSLSocketFactory factory,
                                               com.squareup.okhttp.ConnectionSpec connectionSpec)