public class ResumingServerHandshaker extends ServerHandshaker
NO_CLIENT_CERTIFICATE, supportedGroupsadvancedPskStore, certificateChain, certificateVerfied, certificateVerifier, clientRandom, connectionIdGenerator, flightNumber, handshakeMessages, isClient, LOGGER, masterSecret, peerCertPath, privateKey, publicKey, reassembledMessage, recordSizeLimit, serverRandom, session, sniEnabled, states, statesIndex, usedProtocol, useKeyUsageVerification, useStateValidation, useTruncatedCertificatePathForVerification| Constructor and Description |
|---|
ResumingServerHandshaker(int sequenceNumber,
DTLSSession session,
RecordLayer recordLayer,
ScheduledExecutorService timer,
Connection connection,
DtlsConnectorConfig config)
Creates a new handshaker for resuming an existing session with a client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcessMessage(HandshakeMessage message)
Does the specific processing of a message received from a peer in
the course of an ongoing handshake.
|
destroy, getPreSharedKeyIdentity, negotiateCipherSuite, processCertificateVerified, processHelloExtensions, processMasterSecret, startHandshakeaddApplicationDataForDeferredProcessing, addRecordsForDeferredProcessing, addSessionListener, applyMasterSecret, calculateKeys, completePendingFlight, createFlight, ensureUndestroyed, expectChangeCipherSpecMessage, expectMessage, generateRandomSeed, getClientRandom, getConnection, getFailureCause, getHandshakeMessageDigest, getPeerAddress, getReadConnectionId, getServerRandom, getSession, handshakeAborted, handshakeCompleted, handshakeFailed, handshakeFlightRetransmitted, handshakeStarted, hasSessionEstablished, isChangeCipherSpecMessageExpected, isDestroyed, isExpired, isInboundMessageProcessed, isProbing, isPskRequestPending, isRemovingConnection, processAsyncHandshakeResult, processAsyncPskSecretResult, processCertificateVerificationResult, processMessage, processPskSecretResult, reassembleFragment, removeSessionListener, requestPskSecretResult, resetProbing, sendFlight, sendLastFlight, sessionEstablished, setCurrentReadState, setCurrentWriteState, setFailureCause, setGenerateClusterMacKeys, takeDeferredApplicationData, takeDeferredApplicationData, takeDeferredRecords, verifyCertificate, wrapMessagepublic ResumingServerHandshaker(int sequenceNumber,
DTLSSession session,
RecordLayer recordLayer,
ScheduledExecutorService timer,
Connection connection,
DtlsConnectorConfig config)
sequenceNumber - the initial message sequence number to expect from the peer
(this parameter can be used to initialize the receive_next_seq
counter to another value than 0, e.g. if one or more cookie exchange round-trips
have been performed with the peer before the handshake starts).session - the session to negotiate with the client.recordLayer - the object to use for sending flights to the peer.timer - scheduled executor for flight retransmission (since 2.4).connection - the connection related with the session.config - the DTLS configuration parameters to use for the handshake.IllegalArgumentException - if the given session does not contain an identifier.IllegalStateException - if the message digest required for computing the FINISHED message hash cannot be instantiated.NullPointerException - if session, recordLayer or config is nullprotected void doProcessMessage(HandshakeMessage message) throws HandshakeException, GeneralSecurityException
HandshakerdoProcessMessage in class ServerHandshakermessage - the message received from the peerHandshakeException - if the record's plaintext fragment cannot be parsed into
a handshake message or cannot be processed properlyGeneralSecurityException - if the record's ciphertext fragment cannot be decryptedCopyright © 2023 Eclipse Foundation. All rights reserved.