TLS ALPN Proposal
weijun.wang at oracle.com
Sat May 23 00:05:15 UTC 2015
On 5/23/2015 3:20 AM, Simone Bordet wrote:
> On Fri, May 22, 2015 at 9:14 PM, Bernd Eckenfels <ecki at zusammenkunft.net> wrote:
>> I would suggest to make this encoded in latin1 instead. This is
>> supposed to be a 8bit clean encoding (and will be compatible to all
>> ASCII only strings). It is still ugly and needs to be documanted
>> cleanly that the string you get back might not be a string at all.
> RFC 7301 hints that protocol string could be UTF-8 encoded:
But in the RFC the name is in uppercase and chars in string are all
lowercases. So maybe the preferred impl will be like this?
- Fields use String
- on the wire UTF-8
- Compare with equalsIgnoreCase()
More information about the security-dev