1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-26 06:43:09 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
Jesse Wilson
0a59e68b16 [maven-release-plugin] prepare for next development iteration 2019-02-05 12:15:46 -05:00
Jesse Wilson
d28d2cec21 [maven-release-plugin] prepare release parent-3.13.1 2019-02-05 12:15:39 -05:00
Jesse Wilson
5ecd590c8c [maven-release-plugin] prepare for next development iteration 2019-02-04 23:32:52 -05:00
Jesse Wilson
d55661544b [maven-release-plugin] prepare release parent-3.13.0 2019-02-04 23:32:45 -05:00
Jesse Wilson
778e0334a4 Use lambdas where appropriate 2019-01-11 22:31:36 -05:00
Jesse Wilson
bf8e653c3a Get the latest versions of things.
I used 'mvn versions:use-latest-versions' and also just a bunch of manual
fixing.
2018-12-28 15:53:46 -05:00
Jesse Wilson
69905ad19f Merge pull request #4444 from square/jwilson.1212.dont_bc
Don't rely on BouncyCastle algorithms for certificate building.
2018-12-18 12:46:06 -05:00
Jesse Wilson
e8b752a7a9 Don't rely on BouncyCastle algorithms for certificate building.
We want the system default crypto provider to do it.

Potential fix for https://github.com/square/okhttp/issues/4443
2018-12-12 21:48:30 -05:00
Jesse Wilson
fa24d3dd74 Exclude 'internal' packages in generated Javadocs 2018-11-18 09:44:13 -05:00
Jesse Wilson
c273b3be38 [maven-release-plugin] prepare for next development iteration 2018-11-16 23:44:19 -05:00
Jesse Wilson
7f63a35ab1 [maven-release-plugin] prepare release parent-3.12.0 2018-11-16 23:44:12 -05:00
Jesse Wilson
d062472253 Specify "EC" to generate eliptic curve keys, not ECDSA
They're the same algorithm, but on Android API 27 only "EC" works;
"ECDSA" throws a NoSuchAlgorithmException.

Closes https://github.com/square/okhttp/issues/4175
2018-11-15 07:26:30 -05:00
Jesse Wilson
2c95b0437b Don't specify a crypto provider in HeldCertificate.
Closes: https://github.com/square/okhttp/issues/4183
2018-11-06 21:48:46 +11:00
Yuri Schimke
ceb42f1322 EverythingIsNonNull annotation (#4286)
Adds an annotation EverythingIsNonNull, and fixes some nullability on public API.
2018-09-30 09:33:42 +01:00
Jesse Wilson
ce66fd5d7d Download link in TLS documentation 2018-07-13 08:14:28 -04:00
Jesse Wilson
e4444ed1b7 TLS documentation 2018-07-13 08:09:31 -04:00
Jesse Wilson
7ef5f55d38 [maven-release-plugin] prepare for next development iteration 2018-07-12 23:41:09 -04:00
Jesse Wilson
95ae0cf421 [maven-release-plugin] prepare release parent-3.11.0 2018-07-12 23:41:00 -04:00
Jesse Wilson
137e7de045 New API, HandshakeCertificates.addPlatformTrustedCertificates()
Also rename HeldCertificate.Builder.issuedBy() to signedBy(). 'Issued' is the
word used by certificates; 'signed' is the word used by cryptographers. I prefer
'signed'.
2018-07-12 10:51:33 -04:00
Jesse Wilson
37887141fe Rename TlsNode to HandshakeCertificates (#4141) 2018-07-12 06:39:20 +01:00
Jesse Wilson
8ba6323b7e Make TlsNode more like a value object.
Compute the SSLContext on-demand. This has negligible impact on the performance
of the test suite.

Also create a test case for TlsNode.
2018-07-11 10:10:04 -04:00
Jesse Wilson
c71ef59a90 Validate the certificate's basic constraints.
Also fix our calling code to have the smallest path lengths possible.
http://www.ietf.org/rfc/rfc3280.txt
2018-07-11 09:23:29 -04:00
Jesse Wilson
db2ae92156 Fixup HeldCertificate so that it's worthy of production use.
This changes the default from the insecure 1024-bit RSA to a secure 256-bit ECDSA
key. It adds a new option to use RSA keys for interoperating with older clients.
2018-07-10 22:49:00 -04:00
Jesse Wilson
b1bfe7130c New okhttp-tls module 2018-07-09 12:00:28 -04:00