97637f49458c8a46a5dac80b7bbdd43f4d9e7435 |
|
19-Feb-2018 |
Adam Vartanian <flooey@gmail.com> |
Finalization safety for SSL_CTX objects. (#427)
/external/conscrypt/common/src/main/java/org/conscrypt/ServerSessionContext.java
|
c88f9f55a523f128f0e4dace76a34724bfa1e88c |
|
08-Dec-2017 |
Nathan Mittler <nathanmittler@google.com> |
Refactoring externalization of SSLSessions (#383) This is an implementation to #381. This change attempts to provide more consistency to the session that is returned to the caller by `ConscryptEngine`/`ConscryptFileDescriptorSocket`. Main changes: - New interface ConscryptSession adds a few methods currently only defined by ActiveSession - New interface SessionDecorator that defines getDelegate() - New class ProvidedSessionDecorator delegates to an external provider of the "current" session. The provider implementations are in ConscryptEngine and ConscryptFileDescriptorSocket. - New class SessionSnapshot that takes a snapshot of any ConscryptSession. - Changed ActiveSession and SSLNullSession to implement ConscryptSession. - Updated ConscryptEngine/ConscryptFileDescriptorSocket to create a SessionSnapshot when closing. Additional cleanup: - Split out Java7SessionWrapper into two classes: Java7ExtendedSSLSession and Java8ExtendedSSLSession. The Java 8 version no longer requires reflection and is more consistent with platform-specific code elsewhere. Both classes implement SessionDecorator. - Renamed SslWrapper->NativeSsl and SslSessionWrapper->NativeSslSession for clarity, since the term "wrapper" was being overloaded. Fixes #379
/external/conscrypt/common/src/main/java/org/conscrypt/ServerSessionContext.java
|
08646ead73f68946855dbb9f1a35af29fcd0589a |
|
05-Sep-2017 |
Nathan Mittler <nathanmittler@google.com> |
Add utility method for identifying a Conscrypt Provider. (#313) Also flattening the Conscrypt class. The current structure with subclasses helps to organize, but it makes API stability harder. Partially addresses #312
/external/conscrypt/common/src/main/java/org/conscrypt/ServerSessionContext.java
|
f0e05d561147458e3a10b4806e24d0752dfd5d4b |
|
20-Jun-2017 |
Nathan Mittler <nathanmittler@google.com> |
Refactoring session management (#172) This change breaks session management into two distinct types: - SslSessionWrapper: These are created as BoringSSL calls back the new session handler, allowing the application to cache sessions. Clients will also offer these to BoringSSL for reuse if a compatible session was found. BoringSSL is free to use it or not, but the Conscrypt code no longer makes assumptions here. Instead, it always uses the ActiveSession. - ActiveSession: This is a session that wraps the SSL instance (rather than the SSL_SESSION wherever possible). That way no concern has to be paid to what BoringSSL is doing with sessions under the covers. Fixes #98
/external/conscrypt/common/src/main/java/org/conscrypt/ServerSessionContext.java
|
29916ef38dc9cb4e4c6e3fdb87d4e921546d3ef4 |
|
28-Mar-2017 |
Nathan Mittler <nathanmittler@google.com> |
Locking down public APIs (#157) Tried to be as aggressive as I could, so this probably deserves a fairly thorough review. I left most of OpenSSLSocketImpl public, because I think it's needed by a few external projects. I also did some cleanup work to get rid of a bunch of compiler warnings that we seem to have accumulated. Fixes #142
/external/conscrypt/common/src/main/java/org/conscrypt/ServerSessionContext.java
|
dbe082cb70a1ffbe1a693bd583a06ecad585f46d |
|
21-Mar-2017 |
Nathan Mittler <nathanmittler@google.com> |
Introducing top-level Conscrypt class (#152) This is a one-stop-shop for creating and configuring Conscrypt types. It allows a standard way for configuring extended settings that are not currently supported by the standard Java APIs.
/external/conscrypt/common/src/main/java/org/conscrypt/ServerSessionContext.java
|
5070bdfc6277af136b7eb5fe5d0d72ad2ff6a2eb |
|
16-Mar-2017 |
Kenny Root <kroot@google.com> |
Create @hide Doclet for public API docs This allows us to use @hide to prevent a class from showing up in the public API documentation.
/external/conscrypt/common/src/main/java/org/conscrypt/ServerSessionContext.java
|
7782d132fab6ac9f30b97d76ed3a51126ed3e6d1 |
|
22-Nov-2016 |
nmittler <nathanmittler@google.com> |
Restructuring conscrypt into submodules Change-Id: I2a4dea5d2a5f35b29fdbb96bcdae1888a4fe2b7e
/external/conscrypt/common/src/main/java/org/conscrypt/ServerSessionContext.java
|