Commit c416e20
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 <[email protected]>
* Update google-http-client/src/main/java/com/google/api/client/http/javanet/NetHttpTransport.java
Co-authored-by: Jeff Ching <[email protected]>
* Update google-http-client/src/main/java/com/google/api/client/util/SslUtils.java
Co-authored-by: Jeff Ching <[email protected]>
* Update google-http-client/src/main/java/com/google/api/client/util/SslUtils.java
Co-authored-by: Jeff Ching <[email protected]>
* Update google-http-client/src/test/java/com/google/api/client/util/SecurityUtilsTest.java
Co-authored-by: Jeff Ching <[email protected]>
* Update google-http-client/src/main/java/com/google/api/client/util/SslUtils.java
Co-authored-by: Jeff Ching <[email protected]>
* 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 <[email protected]>1 parent 6818a02 commit c416e20
File tree
2 files changed
+41
-2
lines changed- google-http-client-apache-v2/src
- main/java/com/google/api/client/http/apache/v2
- test/java/com/google/api/client/http/apache/v2
2 files changed
+41
-2
lines changedLines changed: 37 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | | - | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
87 | 117 | | |
88 | 118 | | |
89 | 119 | | |
| |||
192 | 222 | | |
193 | 223 | | |
194 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
195 | 231 | | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | | - | |
| 73 | + | |
72 | 74 | | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
0 commit comments