Home
last modified time | relevance | path

Searched refs:withCredentials (Results 1 – 25 of 35) sorted by relevance

12

/external/tink/java_src/src/main/java/com/google/crypto/tink/integration/gcpkms/
DGcpKmsClient.java100 public KmsClient withCredentials(String credentialPath) throws GeneralSecurityException { in withCredentials() method in GcpKmsClient
107 return withCredentials(credentials); in withCredentials()
115 public KmsClient withCredentials(GoogleCredential credential) { in withCredentials() method in GcpKmsClient
128 public KmsClient withCredentials(GoogleCredentials credentials) throws GeneralSecurityException { in withCredentials() method in GcpKmsClient
155 return withCredentials(credentials); in withDefaultCredentials()
199 client.withCredentials(credentialPath.get()); in register()
/external/tink/tools/tinkey/src/test/java/com/google/crypto/tink/tinkey/
DTinkeyTestKmsClientTest.java56 new TinkeyTestKmsClient().withCredentials(credentialPath.toString()).getAead(masterKeyUri); in test_clientCanBeLoadedWithCredential_works()
80 KmsClient client = new TinkeyTestKmsClient().withCredentials(credentialPath.toString()); in test_clientCannotBeUsedWithWrongCredentials_throws()
104 .withCredentials(credentialPath.toString()) in test_differentPrefix_works()
/external/tink/java_src/src/main/java/com/google/crypto/tink/integration/awskms/
DAwsKmsClient.java94 public KmsClient withCredentials(String credentialPath) throws GeneralSecurityException { in withCredentials() method in AwsKmsClient
174 .withCredentials(provider) in getAead()
212 client.withCredentials(credentialPath.get()); in registerWithAwsKms()
/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/
DServerStreamingCallableTest.java103 FakeCallContext.createDefault().withChannel(channel).withCredentials(credentials); in testServerStreamingCallWithContext()
151 FakeCallContext.createDefault().withChannel(channel).withCredentials(credentials); in testIteratedServerStreamingCallWithContext()
207 FakeCallContext.createDefault().withChannel(channel).withCredentials(credentials); in testFirstElementCallWithContext()
256 FakeCallContext.createDefault().withChannel(channel).withCredentials(credentials); in testAllElementCallWithContext()
DFixedTransportChannelProviderTest.java85 provider.withCredentials(ComputeEngineCredentials.create()); in testBasic()
DUnaryCallableTest.java91 .withCredentials(credentials) in callWithContext()
DStreamingCallableTest.java151 .withCredentials(credentials) in testClientStreamingCallWithContext()
/external/sdk-platform-java/gax-java/gax-grpc/src/test/java/com/google/api/gax/grpc/
DInstantiatingGrpcChannelProviderTest.java267 provider = provider.withCredentials(ComputeEngineCredentials.create()); in testWithGCECredentials()
269 provider = provider.withCredentials(CloudShellCredentials.create(3000)); in testWithGCECredentials()
317 provider = provider.withCredentials(CloudShellCredentials.create(3000)); in testWithNonGCECredentials()
345 provider = provider.withCredentials(ComputeEngineCredentials.create()); in testWithDirectPathDisabled()
372 provider = provider.withCredentials(ComputeEngineCredentials.create()); in testWithNoDirectPathFlagSet()
/external/tink/java_src/src/main/java/com/google/crypto/tink/
DKmsClient.java34 public KmsClient withCredentials(String credentialPath) throws GeneralSecurityException; in withCredentials() method
/external/tink-java/src/main/java/com/google/crypto/tink/
DKmsClient.java34 public KmsClient withCredentials(String credentialPath) throws GeneralSecurityException; in withCredentials() method
/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/rpc/
DTransportChannelProvider.java122 TransportChannelProvider withCredentials(Credentials credentials); in withCredentials() method
DFixedTransportChannelProvider.java123 public TransportChannelProvider withCredentials(Credentials credentials) { in withCredentials() method in FixedTransportChannelProvider
DClientContext.java190 transportChannelProvider = transportChannelProvider.withCredentials(credentials); in create()
206 defaultCallContext = defaultCallContext.withCredentials(credentials); in create()
DApiCallContext.java61 ApiCallContext withCredentials(Credentials credentials); in withCredentials() method
/external/aws-crt-java/src/main/java/software/amazon/awssdk/crt/auth/credentials/
DStaticCredentialsProvider.java75 public StaticCredentialsProviderBuilder withCredentials(Credentials credentials) { in withCredentials() method in StaticCredentialsProvider.StaticCredentialsProviderBuilder
/external/tink/tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/
DTinkeyUtil.java175 .withCredentials(credentialPath) in writeKeyset()
236 .withCredentials(credentialPath) in getKeysetHandle()
DTinkeyTestKmsClient.java81 public KmsClient withCredentials(String credentials) throws GeneralSecurityException { in withCredentials() method in TinkeyTestKmsClient
/external/tink-java/src/main/java/com/google/crypto/tink/testing/
DFakeKmsClient.java63 public KmsClient withCredentials(String credentialPath) throws GeneralSecurityException { in withCredentials() method in FakeKmsClient
/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/
DFakeKmsClient.java62 public KmsClient withCredentials(String credentialPath) throws GeneralSecurityException { in withCredentials() method in FakeKmsClient
/external/tink/java_src/examples/envelopeaead/
DEnvelopeAeadExample.java72 KmsClient kmsClient = new GcpKmsClient().withCredentials(gcpCredentialFilename); in main()
/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/testing/
DFakeCallContext.java251 public FakeCallContext withCredentials(Credentials credentials) { in withCredentials() method in FakeCallContext
423 .withCredentials(clientContext.getCredentials()); in create()
/external/sdk-platform-java/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/
DInstantiatingHttpJsonChannelProviderTest.java93 provider.withCredentials(null); in basicTest()
/external/sdk-platform-java/gax-java/gax-grpc/src/test/java/com/google/api/gax/grpc/testing/
DLocalChannelProvider.java151 public TransportChannelProvider withCredentials(Credentials credentials) { in withCredentials() method in LocalChannelProvider
/external/tink-java/src/main/java/com/google/crypto/tink/integration/android/
DAndroidKeystoreKmsClient.java123 public KmsClient withCredentials(String unused) throws GeneralSecurityException { in withCredentials() method in AndroidKeystoreKmsClient
/external/sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/
DInstantiatingHttpJsonChannelProvider.java168 public TransportChannelProvider withCredentials(Credentials credentials) { in withCredentials() method in InstantiatingHttpJsonChannelProvider

12