/external/grpc-grpc/include/grpcpp/security/ |
D | credentials.h | 47 class ChannelCredentials : private GrpcLibraryCodegen { 49 ChannelCredentials(); 50 ~ChannelCredentials(); 53 friend std::shared_ptr<ChannelCredentials> CompositeChannelCredentials( 54 const std::shared_ptr<ChannelCredentials>& channel_creds, 62 const std::shared_ptr<ChannelCredentials>& creds, 82 friend std::shared_ptr<ChannelCredentials> CompositeChannelCredentials( 83 const std::shared_ptr<ChannelCredentials>& channel_creds, 123 std::shared_ptr<ChannelCredentials> GoogleDefaultCredentials(); 126 std::shared_ptr<ChannelCredentials> SslCredentials( [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
D | ChannelCredentials.cs | 31 public abstract class ChannelCredentials class 33 static readonly ChannelCredentials InsecureInstance = new InsecureCredentialsImpl(); 39 public ChannelCredentials() in ChannelCredentials() method in Grpc.Core.ChannelCredentials 52 public static ChannelCredentials Insecure 67 …public static ChannelCredentials Create(ChannelCredentials channelCredentials, CallCredentials cal… in Create() 98 private sealed class InsecureCredentialsImpl : ChannelCredentials 110 public sealed class SslCredentials : ChannelCredentials 182 internal sealed class CompositeChannelCredentials : ChannelCredentials 184 readonly ChannelCredentials channelCredentials; 193 …public CompositeChannelCredentials(ChannelCredentials channelCredentials, CallCredentials callCred… in CompositeChannelCredentials()
|
D | Channel.cs | 55 public Channel(string target, ChannelCredentials credentials) : in Channel() 67 … public Channel(string target, ChannelCredentials credentials, IEnumerable<ChannelOption> options) in Channel() 96 public Channel(string host, int port, ChannelCredentials credentials) : in Channel() 108 …public Channel(string host, int port, ChannelCredentials credentials, IEnumerable<ChannelOption> o… in Channel()
|
/external/grpc-grpc/src/ruby/spec/ |
D | channel_credentials_spec.rb | 18 ChannelCredentials = GRPC::Core::ChannelCredentials constant 29 blk = proc { ChannelCredentials.new('root_certs', 'key', 'cert') } 35 expect { ChannelCredentials.new(*certs) }.not_to raise_error 40 expect { ChannelCredentials.new(root_cert) }.not_to raise_error 45 blk = proc { ChannelCredentials.new(nil, client_key, client_chain) } 50 blk = proc { ChannelCredentials.new(nil) } 58 channel_creds = ChannelCredentials.new(*certs) 66 channel_creds = ChannelCredentials.new(*certs) 77 channel_creds1 = ChannelCredentials.new(*certs) 78 channel_creds2 = ChannelCredentials.new(*certs)
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
D | ChannelTest.cs | 33 …Assert.Throws(typeof(ArgumentNullException), () => new Channel(null, ChannelCredentials.Insecure)); in Constructor_RejectsInvalidParams() 44 …t.Throws(typeof(ArgumentException), () => new Channel("127.0.0.1", ChannelCredentials.Insecure, op… in Constructor_RejectsDuplicateOptions() 50 var channel = new Channel("localhost", ChannelCredentials.Insecure); in State_IdleAfterCreation() 58 var channel = new Channel("localhost", ChannelCredentials.Insecure); in WaitForStateChangedAsync_InvalidArgument() 66 var channel = new Channel("127.0.0.1", ChannelCredentials.Insecure); in ResolvedTarget() 74 var channel = new Channel("localhost", ChannelCredentials.Insecure); in Shutdown_AllowedOnlyOnce() 82 var channel = new Channel("localhost", ChannelCredentials.Insecure); in ShutdownTokenCancelledAfterShutdown() 92 var channel = new Channel("localhost", ChannelCredentials.Insecure); in StateIsShutdownAfterShutdown() 100 var channel = new Channel("localhost", ChannelCredentials.Insecure); in ShutdownFinishesWaitForStateChangedAsync() 110 var channel = new Channel("localhost", ChannelCredentials.Insecure); in OperationsThrowAfterShutdown()
|
D | ChannelCredentialsTest.cs | 30 Assert.IsFalse(ChannelCredentials.Insecure.IsComposable); in InsecureCredentials_IsNonComposable() 36 …var composite = ChannelCredentials.Create(new FakeChannelCredentials(true), new FakeCallCredential… in ChannelCredentials_CreateComposite() 39 …Assert.Throws(typeof(ArgumentNullException), () => ChannelCredentials.Create(null, new FakeCallCre… in ChannelCredentials_CreateComposite() 40 …Assert.Throws(typeof(ArgumentNullException), () => ChannelCredentials.Create(new FakeChannelCreden… in ChannelCredentials_CreateComposite() 43 …Assert.Throws(typeof(ArgumentException), () => ChannelCredentials.Create(new FakeChannelCredential… in ChannelCredentials_CreateComposite() 65 internal class ChannelCredentialsWithCreateNativeThrows : ChannelCredentials
|
D | ShutdownHookClientTest.cs | 38 var channel = new Channel(Host, 1000, ChannelCredentials.Insecure); in ProcessExitHookCanCleanupAbandonedChannels() 39 var channel2 = new Channel(Host, 1001, ChannelCredentials.Insecure); in ProcessExitHookCanCleanupAbandonedChannels()
|
/external/grpc-grpc/src/php/tests/unit_tests/ |
D | ChannelTest.php | 36 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 43 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 51 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 59 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 67 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 75 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 83 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 97 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 144 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); 154 ['credentials' => Grpc\ChannelCredentials::createInsecure()]); [all …]
|
D | ChannelCredentialsTest.php | 32 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, 39 $channel_credentials = Grpc\ChannelCredentials::createSsl('', '', ''); 45 $channel_credentials = Grpc\ChannelCredentials::createInsecure(); 54 $channel_credentials = Grpc\ChannelCredentials::createSsl([]); 62 $channel_credentials = Grpc\ChannelCredentials::createComposite(
|
D | InterceptorTest.php | 216 'credentials' => Grpc\ChannelCredentials::createInsecure()]); 234 'credentials' => Grpc\ChannelCredentials::createInsecure(), 263 'credentials' => Grpc\ChannelCredentials::createInsecure(), 289 'credentials' => Grpc\ChannelCredentials::createInsecure(), 319 'credentials' => Grpc\ChannelCredentials::createInsecure(), 370 'credentials' => Grpc\ChannelCredentials::createInsecure(), 392 'credentials' => Grpc\ChannelCredentials::createInsecure() 407 'credentials' => Grpc\ChannelCredentials::createInsecure() 426 'credentials' => Grpc\ChannelCredentials::createInsecure() 440 'credentials' => Grpc\ChannelCredentials::createInsecure()
|
/external/grpc-grpc/src/php/ext/grpc/ |
D | channel_credentials.c | 88 PHP_METHOD(ChannelCredentials, setDefaultRootsPem) { in PHP_METHOD() argument 107 PHP_METHOD(ChannelCredentials, createDefault) { in PHP_METHOD() argument 123 PHP_METHOD(ChannelCredentials, createSsl) { in PHP_METHOD() argument 174 PHP_METHOD(ChannelCredentials, createComposite) { in PHP_METHOD() argument 209 PHP_METHOD(ChannelCredentials, createInsecure) { in PHP_METHOD() argument 235 PHP_ME(ChannelCredentials, setDefaultRootsPem, arginfo_setDefaultRootsPem, 237 PHP_ME(ChannelCredentials, createDefault, arginfo_createDefault, 239 PHP_ME(ChannelCredentials, createSsl, arginfo_createSsl, 241 PHP_ME(ChannelCredentials, createComposite, arginfo_createComposite, 243 PHP_ME(ChannelCredentials, createInsecure, arginfo_createInsecure,
|
/external/grpc-grpc/src/cpp/client/ |
D | credentials_cc.cc | 25 ChannelCredentials::ChannelCredentials() { g_gli_initializer.summon(); } in ChannelCredentials() function in grpc::ChannelCredentials 27 ChannelCredentials::~ChannelCredentials() {} in ~ChannelCredentials()
|
D | secure_credentials.cc | 57 std::shared_ptr<ChannelCredentials> WrapChannelCredentials( in WrapChannelCredentials() 60 : std::shared_ptr<ChannelCredentials>( in WrapChannelCredentials() 72 std::shared_ptr<ChannelCredentials> GoogleDefaultCredentials() { in GoogleDefaultCredentials() 78 std::shared_ptr<ChannelCredentials> SslCredentials( in SslCredentials() 94 std::shared_ptr<ChannelCredentials> AltsCredentials( in AltsCredentials() 111 std::shared_ptr<ChannelCredentials> LocalCredentials( in LocalCredentials() 168 std::shared_ptr<ChannelCredentials> CompositeChannelCredentials( in CompositeChannelCredentials() 169 const std::shared_ptr<ChannelCredentials>& channel_creds, in CompositeChannelCredentials()
|
D | insecure_credentials.cc | 31 class InsecureChannelCredentialsImpl final : public ChannelCredentials { 46 std::shared_ptr<ChannelCredentials> InsecureChannelCredentials() { in InsecureChannelCredentials() 47 return std::shared_ptr<ChannelCredentials>( in InsecureChannelCredentials()
|
D | cronet_credentials.cc | 28 class CronetChannelCredentialsImpl final : public ChannelCredentials { 47 std::shared_ptr<ChannelCredentials> CronetChannelCredentials(void* engine) { in CronetChannelCredentials() 48 return std::shared_ptr<ChannelCredentials>( in CronetChannelCredentials()
|
D | create_channel.cc | 33 const std::shared_ptr<ChannelCredentials>& creds) { in CreateChannel() 39 const std::shared_ptr<ChannelCredentials>& creds, in CreateCustomChannel()
|
/external/grpc-grpc/src/php/tests/unit_tests/PersistentChannelTests/ |
D | PersistentChannelTest.php | 254 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, 281 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, 304 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, 328 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, 352 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, 372 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, 381 $channel_credentials = Grpc\ChannelCredentials::createSsl("a", null, 401 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, 410 $channel_credentials = Grpc\ChannelCredentials::createSsl("a", null, 430 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null, [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Auth/ |
D | GoogleGrpcCredentials.cs | 41 public static async Task<ChannelCredentials> GetApplicationDefaultAsync() in GetApplicationDefaultAsync() 76 public static ChannelCredentials ToChannelCredentials(this ITokenAccess googleCredential) in ToChannelCredentials() 78 … return ChannelCredentials.Create(new SslCredentials(), googleCredential.ToCallCredentials()); in ToChannelCredentials()
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _credentials_test.py | 50 self.assertIsInstance(channel_and_first, grpc.ChannelCredentials) 51 self.assertIsInstance(channel_first_and_second, grpc.ChannelCredentials) 53 grpc.ChannelCredentials)
|
/external/grpc-grpc/test/cpp/util/ |
D | cli_credentials.cc | 110 std::shared_ptr<grpc::ChannelCredentials> 146 return std::shared_ptr<grpc::ChannelCredentials>(); in GetChannelCredentials() 165 std::shared_ptr<grpc::ChannelCredentials> CliCredentials::GetCredentials() in GetCredentials() 196 std::shared_ptr<grpc::ChannelCredentials> channel_creds = in GetCredentials()
|
D | cli_credentials.h | 31 std::shared_ptr<grpc::ChannelCredentials> GetCredentials() const; 44 virtual std::shared_ptr<grpc::ChannelCredentials> GetChannelCredentials()
|
D | test_credentials_provider.h | 43 virtual std::shared_ptr<ChannelCredentials> GetChannelCredentials( 61 virtual std::shared_ptr<ChannelCredentials> GetChannelCredentials(
|
/external/grpc-grpc/src/php/tests/qps/ |
D | client.php | 71 $proxystubopts['credentials'] = Grpc\ChannelCredentials::createInsecure(); 84 $stubopts['credentials'] = Grpc\ChannelCredentials::createSsl( 87 $stubopts['credentials'] = Grpc\ChannelCredentials::createSsl(null); 95 $stubopts['credentials'] = Grpc\ChannelCredentials::createInsecure();
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | credentials.pxd.pxi | 52 cdef class ChannelCredentials: class 65 cdef class SSLChannelCredentials(ChannelCredentials): 74 cdef class CompositeChannelCredentials(ChannelCredentials): 77 cdef readonly ChannelCredentials _channel_credentials
|
/external/grpc-grpc/include/grpcpp/ |
D | create_channel.h | 39 const std::shared_ptr<ChannelCredentials>& creds); 53 const std::shared_ptr<ChannelCredentials>& creds,
|