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

pack-priv final Class RSAClientKeyExchange

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.security.GeneralSecurityException, .PrivateKey, .PublicKey, java.text.MessageFormat, java.util.Locale, javax.crypto.SecretKey, sun.security.ssl.RSAKeyExchange.EphemeralRSACredentials, .RSAKeyExchange.EphemeralRSAPossession, .RSAKeyExchange.RSAPremasterSecret, .SSLHandshake.HandshakeMessage, .X509Authentication.X509Credentials, .X509Authentication.X509Possession, sun.security.util.HexDumpEncoder

Pack of the "ClientKeyExchange" handshake message.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
RSAClientKeyExchange.RSAClientKeyExchangeConsumer

The RSA "ClientKeyExchange" handshake message consumer.

private static class
RSAClientKeyExchange.RSAClientKeyExchangeMessage

The RSA ClientKeyExchange handshake message.

private static class
RSAClientKeyExchange.RSAClientKeyExchangeProducer

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

RSAClientKeyExchangeback to summary
pack-priv RSAClientKeyExchange()
sun.security.ssl back to summary

private final Class RSAClientKeyExchange.RSAClientKeyExchangeConsumer

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

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

RSAClientKeyExchangeConsumerback to summary
private RSAClientKeyExchangeConsumer()

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 RSAClientKeyExchange.RSAClientKeyExchangeMessage

extends HandshakeMessage
Class Inheritance

The RSA ClientKeyExchange handshake message.

Field Summary

Modifier and TypeField and Description
pack-priv final byte[]
pack-priv final int
pack-priv 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
public SSLHandshake
public int
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

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

Field Detail

encryptedback to summary
pack-priv final byte[] encrypted
protocolVersionback to summary
pack-priv final int protocolVersion
useTLS10PlusSpecback to summary
pack-priv final boolean useTLS10PlusSpec

Constructor Detail

RSAClientKeyExchangeMessageback to summary
pack-priv RSAClientKeyExchangeMessage(HandshakeContext context, RSAKeyExchange.RSAPremasterSecret premaster, PublicKey publicKey) throws GeneralSecurityException
RSAClientKeyExchangeMessageback to summary
pack-priv RSAClientKeyExchangeMessage(HandshakeContext context, ByteBuffer m) throws IOException

Method Detail

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
sun.security.ssl back to summary

private final Class RSAClientKeyExchange.RSAClientKeyExchangeProducer

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

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

RSAClientKeyExchangeProducerback to summary
private RSAClientKeyExchangeProducer()

Method Detail

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

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override