mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8211018: Session Resumption without Server-Side State
Reviewed-by: xuelei, jnimeh, jjiang
This commit is contained in:
parent
9597144fb2
commit
94e1d7530f
21 changed files with 1620 additions and 150 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2006, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -115,15 +115,19 @@ enum SSLHandshake implements SSLConsumer, HandshakeProducer {
|
|||
NEW_SESSION_TICKET ((byte)0x04, "new_session_ticket",
|
||||
(Map.Entry<SSLConsumer, ProtocolVersion[]>[])(new Map.Entry[] {
|
||||
new SimpleImmutableEntry<SSLConsumer, ProtocolVersion[]>(
|
||||
NewSessionTicket.handshakeConsumer,
|
||||
ProtocolVersion.PROTOCOLS_OF_13
|
||||
)
|
||||
NewSessionTicket.handshake12Consumer,
|
||||
ProtocolVersion.PROTOCOLS_TO_12
|
||||
),
|
||||
new SimpleImmutableEntry<SSLConsumer, ProtocolVersion[]>(
|
||||
NewSessionTicket.handshakeConsumer,
|
||||
ProtocolVersion.PROTOCOLS_OF_13
|
||||
)
|
||||
}),
|
||||
(Map.Entry<HandshakeProducer, ProtocolVersion[]>[])(new Map.Entry[] {
|
||||
new SimpleImmutableEntry<HandshakeProducer, ProtocolVersion[]>(
|
||||
NewSessionTicket.handshakeProducer,
|
||||
ProtocolVersion.PROTOCOLS_OF_13
|
||||
)
|
||||
NewSessionTicket.handshake12Producer,
|
||||
ProtocolVersion.PROTOCOLS_TO_12
|
||||
)
|
||||
})),
|
||||
END_OF_EARLY_DATA ((byte)0x05, "end_of_early_data"),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue