-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: rename DecryptedEndPoint to SslEndPoint #4731
Comments
I see the word "Decrypted" in It's like the File object, I use "File", not "IO Descriptor" or "File Descriptor" or "Block device" or "INode" to do what I need with it. Also, why stick with the old term "SSL", and not the more up to date term "TLS"? Or just using a neutral term for encryption vs decryption? |
I agree with @joakime, the "Decrypted' part of the name refers to the contract of the interface that it implements, so in this case the fill/flush calls are passed/provide decrypted bytes. I guess "Unencrypted" would technically be more correct than "Decrypted". The SslEngine interface refers to that side of the conversation as "Application" and "plaintext bytes", so if you really want to rename then perhaps one of:
|
All right, no need to change the name then. |
Jetty version
10.0.x
Description
SslConnection
nests anEndPoint
calledDecryptedEndPoint
that is the endpoint that is fed with decrypted bytes for the unencrypted protocol (e.g. HTTP).Looks like this:
However, the
DecryptedEndPoint
is not really "decrypted" since it handles both the encryption and decryption.I propose to rename it to
SslEndPoint
to matchSslConnection
.Thoughts?
The text was updated successfully, but these errors were encountered: