Uses of Class
io.grpc.ServerCredentials
Packages that use ServerCredentials
-
Uses of ServerCredentials in io.grpc
Subclasses of ServerCredentials in io.grpcModifier and TypeClassDescriptionfinal classProvides a list ofServerCredentials, where any one may be used.final classNo server identity or encryption is to be used.final classTLS credentials, providing server identity and encryption.Methods in io.grpc that return ServerCredentialsModifier and TypeMethodDescriptionTlsServerCredentials.Builder.build()Construct the credentials.static ServerCredentialsChoiceServerCredentials.create(ServerCredentials... creds) Constructs with the providedcredsas options, with preferred credentials first.static ServerCredentialsInsecureServerCredentials.create()static ServerCredentialsCreates an instance using provided certificate chain and private key.static ServerCredentialsTlsServerCredentials.create(InputStream certChain, InputStream privateKey) Creates an instance using provided certificate chain and private key.Methods in io.grpc that return types with arguments of type ServerCredentialsModifier and TypeMethodDescriptionChoiceServerCredentials.getCredentialsList()Non-empty list of credentials, in preference order.Methods in io.grpc with parameters of type ServerCredentialsModifier and TypeMethodDescriptionstatic ServerCredentialsChoiceServerCredentials.create(ServerCredentials... creds) Constructs with the providedcredsas options, with preferred credentials first.static ServerBuilder<?>Grpc.newServerBuilderForPort(int port, ServerCredentials creds) Static factory for creating a new ServerBuilder.InternalServerProvider.newServerBuilderForPort(ServerProvider provider, int port, ServerCredentials creds) protected ServerProvider.NewServerBuilderResultServerProvider.newServerBuilderForPort(int port, ServerCredentials creds) Creates a new builder with the given port and credentials.