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

pack-priv final Class RSAServerKeyExchange

extends Object
Class Inheritance
Imports
java.io.IOException, java.math.BigInteger, java.nio.ByteBuffer, java.security.CryptoPrimitive, .GeneralSecurityException, .InvalidKeyException, .KeyFactory, .NoSuchAlgorithmException, .Signature, .SignatureException, java.security.interfaces.RSAPublicKey, java.security.spec.RSAPublicKeySpec, java.text.MessageFormat, java.util.EnumSet, .Locale, sun.security.ssl.RSAKeyExchange.EphemeralRSACredentials, .RSAKeyExchange.EphemeralRSAPossession, .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
RSAServerKeyExchange.RSAServerKeyExchangeConsumer

The RSA "ServerKeyExchange" handshake message consumer.

private static class
RSAServerKeyExchange.RSAServerKeyExchangeMessage

The ephemeral RSA ServerKeyExchange handshake message.

private static class
RSAServerKeyExchange.RSAServerKeyExchangeProducer

The RSA "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

rsaHandshakeConsumerback to summary
pack-priv static final SSLConsumer rsaHandshakeConsumer
rsaHandshakeProducerback to summary
pack-priv static final HandshakeProducer rsaHandshakeProducer

Constructor Detail

RSAServerKeyExchangeback to summary
pack-priv RSAServerKeyExchange()
sun.security.ssl back to summary

private final Class RSAServerKeyExchange.RSAServerKeyExchangeConsumer

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

The RSA "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

RSAServerKeyExchangeConsumerback to summary
private RSAServerKeyExchangeConsumer()

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 RSAServerKeyExchange.RSAServerKeyExchangeMessage

extends HandshakeMessage
Class Inheritance

The ephemeral RSA ServerKeyExchange handshake message. Used for RSA_EXPORT, SSL 3.0 and TLS 1.0 only.

Field Summary

Modifier and TypeField and Description
private final byte[]
private final byte[]
private final byte[]
Inherited from sun.security.ssl.SSLHandshake.HandshakeMessage:
handshakeContext

Constructor Summary

AccessConstructor and Description
private
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv SSLHandshake
pack-priv int
pack-priv void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

private void
updateSignature(Signature signature, byte[] clntNonce, byte[] svrNonce)

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

Field Detail

exponentback to summary
private final byte[] exponent
modulusback to summary
private final byte[] modulus
paramsSignatureback to summary
private final byte[] paramsSignature

Constructor Detail

RSAServerKeyExchangeMessageback to summary
private RSAServerKeyExchangeMessage(HandshakeContext handshakeContext, X509Authentication.X509Possession x509Possession, RSAKeyExchange.EphemeralRSAPossession rsaPossession) throws IOException
RSAServerKeyExchangeMessageback to summary
pack-priv RSAServerKeyExchangeMessage(HandshakeContext handshakeContext, ByteBuffer m) throws IOException

Method Detail

handshakeTypeback to summary
pack-priv SSLHandshake handshakeType()

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

Annotations
@Override
messageLengthback to summary
pack-priv int messageLength()

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

Annotations
@Override
sendback to summary
pack-priv 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 void updateSignature(Signature signature, byte[] clntNonce, byte[] svrNonce) throws SignatureException
sun.security.ssl back to summary

private final Class RSAServerKeyExchange.RSAServerKeyExchangeProducer

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

The RSA "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

RSAServerKeyExchangeProducerback to summary
private RSAServerKeyExchangeProducer()

Method Detail

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

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override