private static final class DHServerKeyExchange.DHServerKeyExchangeMessage extends SSLHandshake.HandshakeMessage
| 限定符和类型 | 字段和说明 |
|---|---|
private byte[] |
g |
private byte[] |
p |
private byte[] |
paramsSignature |
private SignatureScheme |
signatureScheme |
private boolean |
useExplicitSigAlgorithm |
private byte[] |
y |
handshakeContext| 构造器和说明 |
|---|
DHServerKeyExchangeMessage(HandshakeContext handshakeContext) |
DHServerKeyExchangeMessage(HandshakeContext handshakeContext,
ByteBuffer m) |
| 限定符和类型 | 方法和说明 |
|---|---|
private static Signature |
getSignature(String keyAlgorithm,
Key key) |
SSLHandshake |
handshakeType() |
int |
messageLength() |
void |
send(HandshakeOutStream hos) |
String |
toString() |
private void |
updateSignature(Signature sig,
byte[] clntNonce,
byte[] svrNonce) |
writeprivate final byte[] p
private final byte[] g
private final byte[] y
private final boolean useExplicitSigAlgorithm
private final SignatureScheme signatureScheme
private final byte[] paramsSignature
DHServerKeyExchangeMessage(HandshakeContext handshakeContext) throws IOException
IOExceptionDHServerKeyExchangeMessage(HandshakeContext handshakeContext, ByteBuffer m) throws IOException
IOExceptionpublic SSLHandshake handshakeType()
public int messageLength()
public void send(HandshakeOutStream hos) throws IOException
send 在类中 SSLHandshake.HandshakeMessageIOExceptionprivate static Signature getSignature(String keyAlgorithm, Key key) throws NoSuchAlgorithmException, InvalidKeyException
private void updateSignature(Signature sig, byte[] clntNonce, byte[] svrNonce) throws SignatureException
Copyright © 2023. All rights reserved.