| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Class io.grpc.ChannelCredentials (grpc-all 1.76.0 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../script.js"></script> |
| <script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script> |
| <script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Class io.grpc.ChannelCredentials (grpc-all 1.76.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../ChannelCredentials.html" title="class in io.grpc">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Class io.grpc.ChannelCredentials" class="title">Uses of Class<br>io.grpc.ChannelCredentials</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#io.grpc">io.grpc</a></th> |
| <td class="colLast"> |
| <div class="block">The gRPC core public API.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#io.grpc.netty">io.grpc.netty</a></th> |
| <td class="colLast"> |
| <div class="block">The main transport implementation based on <a target="_blank" href="http://netty.io">Netty</a>, |
| for both the client and the server.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#io.grpc.okhttp">io.grpc.okhttp</a></th> |
| <td class="colLast"> |
| <div class="block">A lightweight transport based on |
| <a target="_blank" href="http://square.github.io/okhttp/">OkHttp</a>, mainly for use on Android |
| (client-only).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#io.grpc.util">io.grpc.util</a></th> |
| <td class="colLast"> |
| <div class="block">Utilities with advanced features in the core layer that user can optionally use.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#io.grpc.xds">io.grpc.xds</a></th> |
| <td class="colLast"> |
| <div class="block">Library for gRPC proxyless service mesh using Envoy xDS protocol.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section><a id="io.grpc"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> in <a href="../package-summary.html">io.grpc</a></h3> |
| <table class="useSummary"> |
| <caption><span>Subclasses of <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> in <a href="../package-summary.html">io.grpc</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ChoiceChannelCredentials.html" title="class in io.grpc">ChoiceChannelCredentials</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Provides a list of <a href="../ChannelCredentials.html" title="class in io.grpc"><code>ChannelCredentials</code></a>, where any one may be used.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../CompositeChannelCredentials.html" title="class in io.grpc">CompositeChannelCredentials</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><code>ChannelCredentials</code> which use per-RPC <a href="../CallCredentials.html" title="class in io.grpc"><code>CallCredentials</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../InsecureChannelCredentials.html" title="class in io.grpc">InsecureChannelCredentials</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">No client identity, authentication, or encryption is to be used.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../TlsChannelCredentials.html" title="class in io.grpc">TlsChannelCredentials</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">TLS credentials, providing server authentication and encryption.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">io.grpc</a> that return <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TlsChannelCredentials.Builder.</span><code><span class="memberNameLink"><a href="../TlsChannelCredentials.Builder.html#build()">build</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Construct the credentials.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ChoiceChannelCredentials.</span><code><span class="memberNameLink"><a href="../ChoiceChannelCredentials.html#create(io.grpc.ChannelCredentials...)">create</a></span>​(<a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a>... creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs with the provided <code>creds</code> as options, with preferred credentials first.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CompositeChannelCredentials.</span><code><span class="memberNameLink"><a href="../CompositeChannelCredentials.html#create(io.grpc.ChannelCredentials,io.grpc.CallCredentials)">create</a></span>​(<a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> channelCreds, |
| <a href="../CallCredentials.html" title="class in io.grpc">CallCredentials</a> callCreds)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">InsecureChannelCredentials.</span><code><span class="memberNameLink"><a href="../InsecureChannelCredentials.html#create()">create</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TlsChannelCredentials.</span><code><span class="memberNameLink"><a href="../TlsChannelCredentials.html#create()">create</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Use TLS with its defaults.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CompositeChannelCredentials.</span><code><span class="memberNameLink"><a href="../CompositeChannelCredentials.html#getChannelCredentials()">getChannelCredentials</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoadBalancer.Helper.</span><code><span class="memberNameLink"><a href="../LoadBalancer.Helper.html#getChannelCredentials()">getChannelCredentials</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the ChannelCredentials used to construct the channel, without bearer tokens.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoadBalancer.Helper.</span><code><span class="memberNameLink"><a href="../LoadBalancer.Helper.html#getUnsafeChannelCredentials()">getUnsafeChannelCredentials</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the UNSAFE ChannelCredentials used to construct the channel, |
| including bearer tokens.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>abstract <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ChannelCredentials.</span><code><span class="memberNameLink"><a href="../ChannelCredentials.html#withoutBearerTokens()">withoutBearerTokens</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the ChannelCredentials stripped of its CallCredentials.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ChoiceChannelCredentials.</span><code><span class="memberNameLink"><a href="../ChoiceChannelCredentials.html#withoutBearerTokens()">withoutBearerTokens</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CompositeChannelCredentials.</span><code><span class="memberNameLink"><a href="../CompositeChannelCredentials.html#withoutBearerTokens()">withoutBearerTokens</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">InsecureChannelCredentials.</span><code><span class="memberNameLink"><a href="../InsecureChannelCredentials.html#withoutBearerTokens()">withoutBearerTokens</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TlsChannelCredentials.</span><code><span class="memberNameLink"><a href="../TlsChannelCredentials.html#withoutBearerTokens()">withoutBearerTokens</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">io.grpc</a> that return types with arguments of type <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ChoiceChannelCredentials.</span><code><span class="memberNameLink"><a href="../ChoiceChannelCredentials.html#getCredentialsList()">getCredentialsList</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Non-empty list of credentials, in preference order.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">io.grpc</a> with parameters of type <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ChoiceChannelCredentials.</span><code><span class="memberNameLink"><a href="../ChoiceChannelCredentials.html#create(io.grpc.ChannelCredentials...)">create</a></span>​(<a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a>... creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs with the provided <code>creds</code> as options, with preferred credentials first.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CompositeChannelCredentials.</span><code><span class="memberNameLink"><a href="../CompositeChannelCredentials.html#create(io.grpc.ChannelCredentials,io.grpc.CallCredentials)">create</a></span>​(<a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> channelCreds, |
| <a href="../CallCredentials.html" title="class in io.grpc">CallCredentials</a> callCreds)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ManagedChannelBuilder.html" title="class in io.grpc">ManagedChannelBuilder</a><?></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoadBalancer.Helper.</span><code><span class="memberNameLink"><a href="../LoadBalancer.Helper.html#createResolvingOobChannelBuilder(java.lang.String,io.grpc.ChannelCredentials)">createResolvingOobChannelBuilder</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> target, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an out-of-band channel builder for LoadBalancer's own RPC needs, e.g., talking to an |
| external load-balancer service, that is specified by a target string and credentials.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../ManagedChannelBuilder.html" title="class in io.grpc">ManagedChannelBuilder</a><?></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Grpc.</span><code><span class="memberNameLink"><a href="../Grpc.html#newChannelBuilder(java.lang.String,io.grpc.ChannelCredentials)">newChannelBuilder</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> target, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a channel builder with a target string and credentials.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../ManagedChannelProvider.NewChannelBuilderResult.html" title="class in io.grpc">ManagedChannelProvider.NewChannelBuilderResult</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ManagedChannelProvider.</span><code><span class="memberNameLink"><a href="../ManagedChannelProvider.html#newChannelBuilder(java.lang.String,io.grpc.ChannelCredentials)">newChannelBuilder</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> target, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new builder with the given target URI and credentials.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../ManagedChannelBuilder.html" title="class in io.grpc">ManagedChannelBuilder</a><?></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Grpc.</span><code><span class="memberNameLink"><a href="../Grpc.html#newChannelBuilderForAddress(java.lang.String,int,io.grpc.ChannelCredentials)">newChannelBuilderForAddress</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> host, |
| int port, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a channel builder from a host, port, and credentials.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="io.grpc.netty"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> in <a href="../netty/package-summary.html">io.grpc.netty</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../netty/package-summary.html">io.grpc.netty</a> that return <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">InsecureFromHttp1ChannelCredentials.</span><code><span class="memberNameLink"><a href="../netty/InsecureFromHttp1ChannelCredentials.html#create()">create</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an insecure credential that will upgrade from HTTP/1 to HTTP/2.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">NettySslContextChannelCredentials.</span><code><span class="memberNameLink"><a href="../netty/NettySslContextChannelCredentials.html#create(io.netty.handler.ssl.SslContext)">create</a></span>​(<a href="https://netty.io/4.1/api/io/netty/handler/ssl/SslContext.html?is-external=true" title="class or interface in io.netty.handler.ssl" class="externalLink">SslContext</a> sslContext)</code></th> |
| <td class="colLast"> |
| <div class="block">Create a credential using Netty's SslContext as configuration.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../netty/package-summary.html">io.grpc.netty</a> with parameters of type <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../netty/NettyChannelBuilder.html" title="class in io.grpc.netty">NettyChannelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">NettyChannelBuilder.</span><code><span class="memberNameLink"><a href="../netty/NettyChannelBuilder.html#forAddress(java.lang.String,int,io.grpc.ChannelCredentials)">forAddress</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> host, |
| int port, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new builder with the given host and port.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../netty/NettyChannelBuilder.html" title="class in io.grpc.netty">NettyChannelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">NettyChannelBuilder.</span><code><span class="memberNameLink"><a href="../netty/NettyChannelBuilder.html#forAddress(java.net.SocketAddress,io.grpc.ChannelCredentials)">forAddress</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net" class="externalLink">SocketAddress</a> serverAddress, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new builder with the given server address.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../netty/NettyChannelBuilder.html" title="class in io.grpc.netty">NettyChannelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">NettyChannelBuilder.</span><code><span class="memberNameLink"><a href="../netty/NettyChannelBuilder.html#forTarget(java.lang.String,io.grpc.ChannelCredentials)">forTarget</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> target, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new builder with the given target string that will be resolved by |
| <a href="../NameResolver.html" title="class in io.grpc"><code>NameResolver</code></a>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="io.grpc.okhttp"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> in <a href="../okhttp/package-summary.html">io.grpc.okhttp</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../okhttp/package-summary.html">io.grpc.okhttp</a> that return <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SslSocketFactoryChannelCredentials.</span><code><span class="memberNameLink"><a href="../okhttp/SslSocketFactoryChannelCredentials.html#create(javax.net.ssl.SSLSocketFactory)">create</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl" class="externalLink">SSLSocketFactory</a> factory)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../okhttp/package-summary.html">io.grpc.okhttp</a> with parameters of type <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../okhttp/OkHttpChannelBuilder.html" title="class in io.grpc.okhttp">OkHttpChannelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">OkHttpChannelBuilder.</span><code><span class="memberNameLink"><a href="../okhttp/OkHttpChannelBuilder.html#forAddress(java.lang.String,int,io.grpc.ChannelCredentials)">forAddress</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> host, |
| int port, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new builder with the given host and port.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../okhttp/OkHttpChannelBuilder.html" title="class in io.grpc.okhttp">OkHttpChannelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">OkHttpChannelBuilder.</span><code><span class="memberNameLink"><a href="../okhttp/OkHttpChannelBuilder.html#forTarget(java.lang.String,io.grpc.ChannelCredentials)">forTarget</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> target, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new builder for the given target that will be resolved by |
| <a href="../NameResolver.html" title="class in io.grpc"><code>NameResolver</code></a>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="io.grpc.util"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> in <a href="../util/package-summary.html">io.grpc.util</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../util/package-summary.html">io.grpc.util</a> that return <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ForwardingLoadBalancerHelper.</span><code><span class="memberNameLink"><a href="../util/ForwardingLoadBalancerHelper.html#getChannelCredentials()">getChannelCredentials</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ForwardingLoadBalancerHelper.</span><code><span class="memberNameLink"><a href="../util/ForwardingLoadBalancerHelper.html#getUnsafeChannelCredentials()">getUnsafeChannelCredentials</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../util/package-summary.html">io.grpc.util</a> with parameters of type <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ManagedChannelBuilder.html" title="class in io.grpc">ManagedChannelBuilder</a><?></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ForwardingLoadBalancerHelper.</span><code><span class="memberNameLink"><a href="../util/ForwardingLoadBalancerHelper.html#createResolvingOobChannelBuilder(java.lang.String,io.grpc.ChannelCredentials)">createResolvingOobChannelBuilder</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> target, |
| <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> creds)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="io.grpc.xds"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> in <a href="../xds/package-summary.html">io.grpc.xds</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../xds/package-summary.html">io.grpc.xds</a> that return <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">XdsChannelCredentials.</span><code><span class="memberNameLink"><a href="../xds/XdsChannelCredentials.html#create(io.grpc.ChannelCredentials)">create</a></span>​(<a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> fallback)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates credentials to be configured by xDS, falling back to other credentials if no |
| TLS configuration is provided by xDS.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../xds/package-summary.html">io.grpc.xds</a> with parameters of type <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">XdsChannelCredentials.</span><code><span class="memberNameLink"><a href="../xds/XdsChannelCredentials.html#create(io.grpc.ChannelCredentials)">create</a></span>​(<a href="../ChannelCredentials.html" title="class in io.grpc">ChannelCredentials</a> fallback)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates credentials to be configured by xDS, falling back to other credentials if no |
| TLS configuration is provided by xDS.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../ChannelCredentials.html" title="class in io.grpc">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| </footer> |
| </body> |
| </html> |