private static final class ECDHServerKeyExchange.ECDHServerKeyExchangeMessage extends SSLHandshake.HandshakeMessage
| 限定符和类型 | 字段和说明 |
|---|---|
private static byte |
CURVE_NAMED_CURVE |
private SupportedGroupsExtension.NamedGroup |
namedGroup |
private byte[] |
paramsSignature |
private ECPublicKey |
publicKey |
private byte[] |
publicPoint |
private SignatureScheme |
signatureScheme |
private boolean |
useExplicitSigAlgorithm |
handshakeContext| 构造器和说明 |
|---|
ECDHServerKeyExchangeMessage(HandshakeContext handshakeContext) |
ECDHServerKeyExchangeMessage(HandshakeContext handshakeContext,
ByteBuffer m) |
| 限定符和类型 | 方法和说明 |
|---|---|
private static Signature |
getSignature(String keyAlgorithm,
Key key) |
SSLHandshake |
handshakeType() |
int |
messageLength() |
void |
send(HandshakeOutStream hos) |
String |
toString() |
private static void |
updateSignature(Signature sig,
byte[] clntNonce,
byte[] svrNonce,
int namedGroupId,
byte[] publicPoint) |
writeprivate static final byte CURVE_NAMED_CURVE
private final SupportedGroupsExtension.NamedGroup namedGroup
private final byte[] publicPoint
private final byte[] paramsSignature
private final ECPublicKey publicKey
private final boolean useExplicitSigAlgorithm
private final SignatureScheme signatureScheme
ECDHServerKeyExchangeMessage(HandshakeContext handshakeContext) throws IOException
IOExceptionECDHServerKeyExchangeMessage(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 static void updateSignature(Signature sig, byte[] clntNonce, byte[] svrNonce, int namedGroupId, byte[] publicPoint) throws SignatureException
Copyright © 2023. All rights reserved.