Top Description Inners Fields Constructors Methods
sun.security.ssl

pack-priv final Class Finished

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.security.GeneralSecurityException, .InvalidKeyException, .MessageDigest, .NoSuchAlgorithmException, .ProviderException, java.security.spec.AlgorithmParameterSpec, java.text.MessageFormat, java.util.Locale, javax.crypto.KeyGenerator, .Mac, .SecretKey, javax.crypto.spec.IvParameterSpec, .SecretKeySpec, javax.net.ssl.SSLPeerUnverifiedException, jdk.internal.event.EventHelper, .TLSHandshakeEvent, sun.security.internal.spec.TlsPrfParameterSpec, sun.security.ssl.CipherSuite.HashAlg, .SSLBasicKeyDerivation.SecretSizeSpec, .SSLCipher.SSLReadCipher, .SSLCipher.SSLWriteCipher, .SSLHandshake.HandshakeMessage, sun.security.util.HexDumpEncoder

Pack of the Finished handshake message.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
Finished.FinishedMessage

The Finished handshake message.

private static class
private static class
private static class
Finished.T12FinishedConsumer

The "Finished" handshake message consumer.

private static class
Finished.T12FinishedProducer

The "Finished" handshake message producer.

private static class
private static class
Finished.T13FinishedConsumer

The "Finished" handshake message consumer.

private static class
Finished.T13FinishedProducer

The "Finished" handshake message producer.

private static class
pack-priv static interface
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 SSLConsumer
pack-priv static final HandshakeProducer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Field Detail

t12HandshakeConsumerback to summary
pack-priv static final SSLConsumer t12HandshakeConsumer
t12HandshakeProducerback to summary
pack-priv static final HandshakeProducer t12HandshakeProducer
t13HandshakeConsumerback to summary
pack-priv static final SSLConsumer t13HandshakeConsumer
t13HandshakeProducerback to summary
pack-priv static final HandshakeProducer t13HandshakeProducer

Constructor Detail

Finishedback to summary
pack-priv Finished()

Method Detail

recordEventback to summary
private static void recordEvent(SSLSessionImpl session)
sun.security.ssl back to summary

private final Class Finished.FinishedMessage

extends HandshakeMessage
Class Inheritance

The Finished handshake message.

Field Summary

Modifier and TypeField and Description
private final byte[]
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

verifyDataback to summary
private final byte[] verifyData

Constructor Detail

FinishedMessageback to summary
pack-priv FinishedMessage(HandshakeContext context) throws IOException
FinishedMessageback to summary
pack-priv FinishedMessage(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.

Returns:String

a string representation of the object

Annotations
@Override
sun.security.ssl back to summary

private final Class Finished.S30VerifyDataGenerator

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

S30VerifyDataGeneratorback to summary
private S30VerifyDataGenerator()

Method Detail

createVerifyDataback to summary
public byte[] createVerifyData(HandshakeContext context, boolean isValidation) throws IOException

Implements sun.security.ssl.Finished.VerifyDataGenerator.createVerifyData.

Annotations
@Override
sun.security.ssl back to summary

private final Class Finished.T10VerifyDataGenerator

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T10VerifyDataGeneratorback to summary
private T10VerifyDataGenerator()

Method Detail

createVerifyDataback to summary
public byte[] createVerifyData(HandshakeContext context, boolean isValidation) throws IOException

Implements sun.security.ssl.Finished.VerifyDataGenerator.createVerifyData.

Annotations
@Override
sun.security.ssl back to summary

private final Class Finished.T12FinishedConsumer

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

The "Finished" handshake message consumer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T12FinishedConsumerback to summary
private T12FinishedConsumer()

Method Detail

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

Implements sun.security.ssl.SSLConsumer.consume.

Annotations
@Override
onConsumeFinishedback to summary
private void onConsumeFinished(ClientHandshakeContext chc, ByteBuffer message) throws IOException
onConsumeFinishedback to summary
private void onConsumeFinished(ServerHandshakeContext shc, ByteBuffer message) throws IOException
sun.security.ssl back to summary

private final Class Finished.T12FinishedProducer

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

The "Finished" handshake message producer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T12FinishedProducerback to summary
private T12FinishedProducer()

Method Detail

onProduceFinishedback to summary
private byte[] onProduceFinished(ClientHandshakeContext chc, SSLHandshake.HandshakeMessage message) throws IOException
onProduceFinishedback to summary
private byte[] onProduceFinished(ServerHandshakeContext shc, SSLHandshake.HandshakeMessage message) throws IOException
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

private final Class Finished.T12VerifyDataGenerator

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T12VerifyDataGeneratorback to summary
private T12VerifyDataGenerator()

Method Detail

createVerifyDataback to summary
public byte[] createVerifyData(HandshakeContext context, boolean isValidation) throws IOException

Implements sun.security.ssl.Finished.VerifyDataGenerator.createVerifyData.

Annotations
@Override
sun.security.ssl back to summary

private final Class Finished.T13FinishedConsumer

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

The "Finished" handshake message consumer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T13FinishedConsumerback to summary
private T13FinishedConsumer()

Method Detail

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

Implements sun.security.ssl.SSLConsumer.consume.

Annotations
@Override
onConsumeFinishedback to summary
private void onConsumeFinished(ClientHandshakeContext chc, ByteBuffer message) throws IOException
onConsumeFinishedback to summary
private void onConsumeFinished(ServerHandshakeContext shc, ByteBuffer message) throws IOException
sun.security.ssl back to summary

private final Class Finished.T13FinishedProducer

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

The "Finished" handshake message producer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T13FinishedProducerback to summary
private T13FinishedProducer()

Method Detail

onProduceFinishedback to summary
private byte[] onProduceFinished(ClientHandshakeContext chc, SSLHandshake.HandshakeMessage message) throws IOException
onProduceFinishedback to summary
private byte[] onProduceFinished(ServerHandshakeContext shc, SSLHandshake.HandshakeMessage message) throws IOException
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

private final Class Finished.T13VerifyDataGenerator

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

Field Summary

Modifier and TypeField and Description
private static final byte[]
private static final byte[]

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

hkdfContextback to summary
private static final byte[] hkdfContext
hkdfLabelback to summary
private static final byte[] hkdfLabel

Constructor Detail

T13VerifyDataGeneratorback to summary
private T13VerifyDataGenerator()

Method Detail

createVerifyDataback to summary
public byte[] createVerifyData(HandshakeContext context, boolean isValidation) throws IOException

Implements sun.security.ssl.Finished.VerifyDataGenerator.createVerifyData.

Annotations
@Override
sun.security.ssl back to summary

pack-priv Interface Finished.VerifyDataGenerator

Known Direct Implementers
sun.security.ssl.Finished.S30VerifyDataGenerator, sun.security.ssl.Finished.T10VerifyDataGenerator, sun.security.ssl.Finished.T12VerifyDataGenerator, sun.security.ssl.Finished.T13VerifyDataGenerator

Method Summary

Modifier and TypeMethod and Description
public byte[]
createVerifyData(HandshakeContext context, boolean isValidation)

Method Detail

createVerifyDataback to summary
public byte[] createVerifyData(HandshakeContext context, boolean isValidation) throws IOException
sun.security.ssl back to summary

pack-priv final Enum Finished.VerifyDataScheme

extends Enum<Finished.VerifyDataScheme>
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final Finished.VerifyDataGenerator
pack-priv final String
public static final Finished.VerifyDataScheme
public static final Finished.VerifyDataScheme
public static final Finished.VerifyDataScheme
public static final Finished.VerifyDataScheme

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
createVerifyData(HandshakeContext context, boolean isValidation)

public static Finished.VerifyDataScheme
pack-priv static Finished.VerifyDataScheme
valueOf(ProtocolVersion protocolVersion)

public static Finished.VerifyDataScheme[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

generatorback to summary
pack-priv final Finished.VerifyDataGenerator generator
nameback to summary
pack-priv final String name

Hides java.lang.Enum.name.

SSL30back to summary
public static final Finished.VerifyDataScheme SSL30
TLS10back to summary
public static final Finished.VerifyDataScheme TLS10
TLS12back to summary
public static final Finished.VerifyDataScheme TLS12
TLS13back to summary
public static final Finished.VerifyDataScheme TLS13

Constructor Detail

VerifyDataSchemeback to summary
private VerifyDataScheme(String name, Finished.VerifyDataGenerator verifyDataGenerator)

Method Detail

createVerifyDataback to summary
public byte[] createVerifyData(HandshakeContext context, boolean isValidation) throws IOException
valueOfback to summary
public static Finished.VerifyDataScheme valueOf(String name)
valueOfback to summary
pack-priv static Finished.VerifyDataScheme valueOf(ProtocolVersion protocolVersion)
valuesback to summary
public static Finished.VerifyDataScheme[] values()