Package io.grpc.okhttp
Class SslSocketFactoryServerCredentials
- java.lang.Object
-
- io.grpc.okhttp.SslSocketFactoryServerCredentials
-
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1785") public final class SslSocketFactoryServerCredentials extends 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(SSLSocketFactory factory)
static ServerCredentials
create(SSLSocketFactory factory, ConnectionSpec connectionSpec)
-
-
-
Method Detail
-
create
public static ServerCredentials create(SSLSocketFactory factory)
-
create
public static ServerCredentials create(SSLSocketFactory factory, ConnectionSpec connectionSpec)
-
-