You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add isMtls property to ApacheHttpTransport (#1168)
* feat: support keystore in transport for mtls
* fix format
* update code
* add tests
* update test and doc
* update names
* create keystore from cert and key string
* change certAndKey from string to inputstream
* add mtls file
* Update google-http-client/src/main/java/com/google/api/client/http/javanet/NetHttpTransport.java
Co-authored-by: Jeff Ching <chingor@google.com>
* Update google-http-client/src/main/java/com/google/api/client/http/javanet/NetHttpTransport.java
Co-authored-by: Jeff Ching <chingor@google.com>
* Update google-http-client/src/main/java/com/google/api/client/util/SslUtils.java
Co-authored-by: Jeff Ching <chingor@google.com>
* Update google-http-client/src/main/java/com/google/api/client/util/SslUtils.java
Co-authored-by: Jeff Ching <chingor@google.com>
* Update google-http-client/src/test/java/com/google/api/client/util/SecurityUtilsTest.java
Co-authored-by: Jeff Ching <chingor@google.com>
* Update google-http-client/src/main/java/com/google/api/client/util/SslUtils.java
Co-authored-by: Jeff Ching <chingor@google.com>
* update the code
* fix name
* chore: add Beta annotation for new mtls functions
* update Beta
* add since tag
* feat: add isMtls property to ApacheHttpTransport
* update Beta annotation
* format
* fix tag
Co-authored-by: Jeff Ching <chingor@google.com>
Copy file name to clipboardExpand all lines: google-http-client-apache-v2/src/test/java/com/google/api/client/http/apache/v2/ApacheHttpTransportTest.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
packagecom.google.api.client.http.apache.v2;
16
16
17
17
importstaticorg.junit.Assert.assertEquals;
18
+
importstaticorg.junit.Assert.assertFalse;
18
19
importstaticorg.junit.Assert.assertNotNull;
19
20
importstaticorg.junit.Assert.assertTrue;
20
21
importstaticorg.junit.Assert.fail;
@@ -64,12 +65,14 @@ public class ApacheHttpTransportTest {
0 commit comments