APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.security.ssl

pack-priv final Class ECDHServerKeyExchange

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.security.CryptoPrimitive, .GeneralSecurityException, .InvalidAlgorithmParameterException, .InvalidKeyException, .Key, .NoSuchAlgorithmException, .PrivateKey, .PublicKey, .Signature, .SignatureException, java.text.MessageFormat, java.util.EnumSet, .Locale, .Map, sun.security.ssl.SSLHandshake.HandshakeMessage, .X509Authentication.X509Credentials, .X509Authentication.X509Possession, sun.security.util.HexDumpEncoder

Pack of the ServerKeyExchange handshake message.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
ECDHServerKeyExchange.ECDHServerKeyExchangeConsumer

The ECDH "ServerKeyExchange" handshake message consumer.

private static class
ECDHServerKeyExchange.ECDHServerKeyExchangeMessage

The ECDH ServerKeyExchange handshake message.

private static class
ECDHServerKeyExchange.ECDHServerKeyExchangeProducer

The ECDH "ServerKeyExchange" handshake message producer.

Field Summary

Modifier and TypeField and Description
pack-priv static final SSLConsumer
pack-priv static final HandshakeProducer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ecdheHandshakeConsumerback to summary
pack-priv static final SSLConsumer ecdheHandshakeConsumer
ecdheHandshakeProducerback to summary
pack-priv static final HandshakeProducer ecdheHandshakeProducer

Constructor Detail

ECDHServerKeyExchangeback to summary
pack-priv ECDHServerKeyExchange()
sun.security.ssl back to summary

private final Class ECDHServerKeyExchange.ECDHServerKeyExchangeConsumer

extends Object
implements SSLConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.ECDHServerKeyExchange.ECDHServerKeyExchangeConsumer
All Implemented Interfaces
sun.security.ssl.SSLConsumer

The ECDH "ServerKeyExchange" handshake message consumer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ECDHServerKeyExchangeConsumerback to summary
private ECDHServerKeyExchangeConsumer()

Method Detail

consumeback to summary
public void consume(ConnectionContext context, ByteBuffer message) throws IOException

Implements sun.security.ssl.SSLConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

private final Class ECDHServerKeyExchange.ECDHServerKeyExchangeMessage

extends HandshakeMessage
Class Inheritance

The ECDH ServerKeyExchange handshake message.

Field Summary

Modifier and TypeField and Description
private static final byte
private final NamedGroup
private final byte[]
private final byte[]
private final SignatureScheme
private SSLCredentials
private final boolean
Inherited from sun.security.ssl.SSLHandshake.HandshakeMessage:
handshakeContext

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static Signature
getSignature(String keyAlgorithm, Key key)

public SSLHandshake
public int
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

private static void
updateSignature(Signature sig, byte[] clntNonce, byte[] svrNonce, int namedGroupId, byte[] publicPoint)

Inherited from sun.security.ssl.SSLHandshake.HandshakeMessage:
write

Field Detail

CURVE_NAMED_CURVEback to summary
private static final byte CURVE_NAMED_CURVE
namedGroupback to summary
private final NamedGroup namedGroup
paramsSignatureback to summary
private final byte[] paramsSignature
publicPointback to summary
private final byte[] publicPoint
signatureSchemeback to summary
private final SignatureScheme signatureScheme
sslCredentialsback to summary
private SSLCredentials sslCredentials
useExplicitSigAlgorithmback to summary
private final boolean useExplicitSigAlgorithm

Constructor Detail

ECDHServerKeyExchangeMessageback to summary
pack-priv ECDHServerKeyExchangeMessage(HandshakeContext handshakeContext) throws IOException
ECDHServerKeyExchangeMessageback to summary
pack-priv ECDHServerKeyExchangeMessage(HandshakeContext handshakeContext, ByteBuffer m) throws IOException

Method Detail

getSignatureback to summary
private static Signature getSignature(String keyAlgorithm, Key key) throws NoSuchAlgorithmException, InvalidKeyException
handshakeTypeback to summary
public SSLHandshake handshakeType()

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.handshakeType.

Annotations
@Override
messageLengthback to summary
public int messageLength()

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.messageLength.

Annotations
@Override
sendback to summary
public void send(HandshakeOutStream hos) throws IOException

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.send.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
updateSignatureback to summary
private static void updateSignature(Signature sig, byte[] clntNonce, byte[] svrNonce, int namedGroupId, byte[] publicPoint) throws SignatureException
sun.security.ssl back to summary

private final Class ECDHServerKeyExchange.ECDHServerKeyExchangeProducer

extends Object
implements HandshakeProducer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.ECDHServerKeyExchange.ECDHServerKeyExchangeProducer
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

The ECDH "ServerKeyExchange" handshake message producer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ECDHServerKeyExchangeProducerback to summary
private ECDHServerKeyExchangeProducer()

Method Detail

produceback to summary
public byte[] produce(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override