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

pack-priv final Class KeyUpdate

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.security.GeneralSecurityException, java.text.MessageFormat, java.util.Locale, sun.security.ssl.SSLHandshake.HandshakeMessage, .SSLCipher.SSLReadCipher, .SSLCipher.SSLWriteCipher, javax.crypto.SecretKey, javax.crypto.spec.IvParameterSpec

Pack of the KeyUpdate handshake message.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
KeyUpdate.KeyUpdateConsumer

The "KeyUpdate" handshake message consumer.

private static class
pack-priv static class
KeyUpdate.KeyUpdateMessage

The KeyUpdate handshake message.

private static class
KeyUpdate.KeyUpdateProducer

The "KeyUpdate" handshake message producer.

pack-priv static enum

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

handshakeConsumerback to summary
pack-priv static final SSLConsumer handshakeConsumer
handshakeProducerback to summary
pack-priv static final HandshakeProducer handshakeProducer
kickstartProducerback to summary
pack-priv static final SSLProducer kickstartProducer

Constructor Detail

KeyUpdateback to summary
pack-priv KeyUpdate()
sun.security.ssl back to summary

private final Class KeyUpdate.KeyUpdateConsumer

extends Object
implements SSLConsumer
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLConsumer

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

KeyUpdateConsumerback to summary
private KeyUpdateConsumer()

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 KeyUpdate.KeyUpdateKickstartProducer

extends Object
implements SSLProducer
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLProducer

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

KeyUpdateKickstartProducerback to summary
private KeyUpdateKickstartProducer()

Method Detail

produceback to summary
public byte[] produce(ConnectionContext context) throws IOException

Implements sun.security.ssl.SSLProducer.produce.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class KeyUpdate.KeyUpdateMessage

extends HandshakeMessage
Class Inheritance

The KeyUpdate handshake message. The KeyUpdate handshake message is used to indicate that the sender is updating its sending cryptographic keys. enum { update_not_requested(0), update_requested(1), (255) } KeyUpdateRequest; struct { KeyUpdateRequest request_update; } KeyUpdate;

Field Summary

Modifier and TypeField and Description
private final KeyUpdate.KeyUpdateRequest
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

statusback to summary
private final KeyUpdate.KeyUpdateRequest status

Constructor Detail

KeyUpdateMessageback to summary
pack-priv KeyUpdateMessage(PostHandshakeContext context, KeyUpdate.KeyUpdateRequest status)
KeyUpdateMessageback to summary
pack-priv KeyUpdateMessage(PostHandshakeContext 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 s) 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 KeyUpdate.KeyUpdateProducer

extends Object
implements HandshakeProducer
Class Inheritance
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

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

KeyUpdateProducerback to summary
private KeyUpdateProducer()

Method Detail

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

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Enum KeyUpdate.KeyUpdateRequest

extends Enum<KeyUpdate.KeyUpdateRequest>
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final byte
pack-priv final String
public static final KeyUpdate.KeyUpdateRequest
public static final KeyUpdate.KeyUpdateRequest

Constructor Summary

AccessConstructor and Description
private
KeyUpdateRequest(byte id, String name)

Method Summary

Modifier and TypeMethod and Description
pack-priv static String
nameOf(byte id)

public static KeyUpdate.KeyUpdateRequest
pack-priv static KeyUpdate.KeyUpdateRequest
valueOf(byte id)

public static KeyUpdate.KeyUpdateRequest[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

idback to summary
pack-priv final byte id
nameback to summary
pack-priv final String name

Hides java.lang.Enum.name.

NOTREQUESTEDback to summary
public static final KeyUpdate.KeyUpdateRequest NOTREQUESTED
REQUESTEDback to summary
public static final KeyUpdate.KeyUpdateRequest REQUESTED

Constructor Detail

KeyUpdateRequestback to summary
private KeyUpdateRequest(byte id, String name)

Method Detail

nameOfback to summary
pack-priv static String nameOf(byte id)
valueOfback to summary
public static KeyUpdate.KeyUpdateRequest valueOf(String name)
valueOfback to summary
pack-priv static KeyUpdate.KeyUpdateRequest valueOf(byte id)
valuesback to summary
public static KeyUpdate.KeyUpdateRequest[] values()