static final class ServerHello.ServerHelloMessage extends SSLHandshake.HandshakeMessage
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) CipherSuite |
cipherSuite |
(专用程序包) ClientHello.ClientHelloMessage |
clientHello |
(专用程序包) byte |
compressionMethod |
(专用程序包) SSLExtensions |
extensions |
(专用程序包) ByteBuffer |
handshakeRecord |
(专用程序包) RandomCookie |
serverRandom |
(专用程序包) ProtocolVersion |
serverVersion |
(专用程序包) SessionId |
sessionId |
handshakeContext| 构造器和说明 |
|---|
ServerHelloMessage(HandshakeContext context,
ByteBuffer m) |
ServerHelloMessage(HandshakeContext context,
ProtocolVersion serverVersion,
SessionId sessionId,
CipherSuite cipherSuite,
RandomCookie serverRandom,
ClientHello.ClientHelloMessage clientHello) |
| 限定符和类型 | 方法和说明 |
|---|---|
SSLHandshake |
handshakeType() |
int |
messageLength() |
void |
send(HandshakeOutStream hos) |
String |
toString() |
writefinal ProtocolVersion serverVersion
final RandomCookie serverRandom
final SessionId sessionId
final CipherSuite cipherSuite
final byte compressionMethod
final SSLExtensions extensions
final ClientHello.ClientHelloMessage clientHello
final ByteBuffer handshakeRecord
ServerHelloMessage(HandshakeContext context, ProtocolVersion serverVersion, SessionId sessionId, CipherSuite cipherSuite, RandomCookie serverRandom, ClientHello.ClientHelloMessage clientHello)
ServerHelloMessage(HandshakeContext context, ByteBuffer m) throws IOException
IOExceptionpublic SSLHandshake handshakeType()
public int messageLength()
public void send(HandshakeOutStream hos) throws IOException
send 在类中 SSLHandshake.HandshakeMessageIOExceptionCopyright © 2023. All rights reserved.