Top Inners Fields Constructors Methods
sun.security.ssl

pack-priv final Enum SSLTrafficKeyDerivation

extends Enum<SSLTrafficKeyDerivation>
implements SSLKeyDerivationGenerator
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivationGenerator
Imports
java.io.IOException, java.nio.ByteBuffer, java.security.GeneralSecurityException, .ProviderException, java.security.spec.AlgorithmParameterSpec, javax.crypto.KeyGenerator, .SecretKey, javax.crypto.spec.IvParameterSpec, .SecretKeySpec, javax.net.ssl.SSLHandshakeException, sun.security.internal.spec.TlsKeyMaterialParameterSpec, .TlsKeyMaterialSpec, sun.security.ssl.CipherSuite.HashAlg

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static enum
pack-priv static class
private static class
private static class
private static class
pack-priv static class
private static class

Field Summary

Modifier and TypeField and Description
pack-priv final SSLKeyDerivationGenerator
pack-priv final String
public static final SSLTrafficKeyDerivation
public static final SSLTrafficKeyDerivation
public static final SSLTrafficKeyDerivation
public static final SSLTrafficKeyDerivation

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public SSLKeyDerivation
public static SSLTrafficKeyDerivation
pack-priv static SSLTrafficKeyDerivation
valueOf(ProtocolVersion protocolVersion)

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

Field Detail

keyDerivationGeneratorback to summary
pack-priv final SSLKeyDerivationGenerator keyDerivationGenerator
nameback to summary
pack-priv final String name

Hides java.lang.Enum.name.

SSL30back to summary
public static final SSLTrafficKeyDerivation SSL30
TLS10back to summary
public static final SSLTrafficKeyDerivation TLS10
TLS12back to summary
public static final SSLTrafficKeyDerivation TLS12
TLS13back to summary
public static final SSLTrafficKeyDerivation TLS13

Constructor Detail

SSLTrafficKeyDerivationback to summary
private SSLTrafficKeyDerivation(String name, SSLKeyDerivationGenerator keyDerivationGenerator)

Method Detail

createKeyDerivationback to summary
public SSLKeyDerivation createKeyDerivation(HandshakeContext context, SecretKey secretKey) throws IOException

Implements sun.security.ssl.SSLKeyDerivationGenerator.createKeyDerivation.

Annotations
@Override
valueOfback to summary
public static SSLTrafficKeyDerivation valueOf(String name)
valueOfback to summary
pack-priv static SSLTrafficKeyDerivation valueOf(ProtocolVersion protocolVersion)
valuesback to summary
public static SSLTrafficKeyDerivation[] values()
sun.security.ssl back to summary

private final Enum SSLTrafficKeyDerivation.KeySchedule

extends Enum<SSLTrafficKeyDerivation.KeySchedule>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final boolean
private final byte[]
public static final SSLTrafficKeyDerivation.KeySchedule
public static final SSLTrafficKeyDerivation.KeySchedule
public static final SSLTrafficKeyDerivation.KeySchedule

Constructor Summary

AccessConstructor and Description
private
KeySchedule(String label, boolean isIv)

Method Summary

Modifier and TypeMethod and Description
pack-priv String
pack-priv int
public static SSLTrafficKeyDerivation.KeySchedule
public static SSLTrafficKeyDerivation.KeySchedule[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

isIvback to summary
private final boolean isIv
labelback to summary
private final byte[] label
TlsIvback to summary
public static final SSLTrafficKeyDerivation.KeySchedule TlsIv
TlsKeyback to summary
public static final SSLTrafficKeyDerivation.KeySchedule TlsKey
TlsUpdateNplus1back to summary
public static final SSLTrafficKeyDerivation.KeySchedule TlsUpdateNplus1

Constructor Detail

KeyScheduleback to summary
private KeySchedule(String label, boolean isIv)

Method Detail

getAlgorithmback to summary
pack-priv String getAlgorithm(CipherSuite cs, String algorithm)
getKeyLengthback to summary
pack-priv int getKeyLength(CipherSuite cs)
valueOfback to summary
public static SSLTrafficKeyDerivation.KeySchedule valueOf(String name)
valuesback to summary
public static SSLTrafficKeyDerivation.KeySchedule[] values()
sun.security.ssl back to summary

pack-priv final Class SSLTrafficKeyDerivation.LegacyTrafficKeyDerivation

extends Object
implements SSLKeyDerivation
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SSLTrafficKeyDerivation.LegacyTrafficKeyDerivation
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivation
Annotations
@SuppressWarnings:deprecation

Field Summary

Modifier and TypeField and Description
private final TlsKeyMaterialSpec
keyMaterialSpec

References Deprecated TlsKeyMaterialSpec is deprecated or references (maybe indirectly) at least one deprecated element.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public SecretKey
pack-priv SecretKey
getTrafficKey(String algorithm)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

keyMaterialSpecback to summary
private final TlsKeyMaterialSpec keyMaterialSpec

References Deprecated

TlsKeyMaterialSpec is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Constructor Detail

LegacyTrafficKeyDerivationback to summary
pack-priv LegacyTrafficKeyDerivation(HandshakeContext context, SecretKey masterSecret)

Method Detail

deriveKeyback to summary
public SecretKey deriveKey(String algorithm, AlgorithmParameterSpec params) throws IOException

Implements sun.security.ssl.SSLKeyDerivation.deriveKey.

Annotations
@Override
getTrafficKeyback to summary
pack-priv SecretKey getTrafficKey(String algorithm)
sun.security.ssl back to summary

private final Class SSLTrafficKeyDerivation.S30TrafficKeyDerivationGenerator

extends Object
implements SSLKeyDerivationGenerator
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SSLTrafficKeyDerivation.S30TrafficKeyDerivationGenerator
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivationGenerator

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

S30TrafficKeyDerivationGeneratorback to summary
private S30TrafficKeyDerivationGenerator()

Method Detail

createKeyDerivationback to summary
public SSLKeyDerivation createKeyDerivation(HandshakeContext context, SecretKey secretKey) throws IOException

Implements sun.security.ssl.SSLKeyDerivationGenerator.createKeyDerivation.

Annotations
@Override
sun.security.ssl back to summary

private final Class SSLTrafficKeyDerivation.T10TrafficKeyDerivationGenerator

extends Object
implements SSLKeyDerivationGenerator
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SSLTrafficKeyDerivation.T10TrafficKeyDerivationGenerator
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivationGenerator

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T10TrafficKeyDerivationGeneratorback to summary
private T10TrafficKeyDerivationGenerator()

Method Detail

createKeyDerivationback to summary
public SSLKeyDerivation createKeyDerivation(HandshakeContext context, SecretKey secretKey) throws IOException

Implements sun.security.ssl.SSLKeyDerivationGenerator.createKeyDerivation.

Annotations
@Override
sun.security.ssl back to summary

private final Class SSLTrafficKeyDerivation.T12TrafficKeyDerivationGenerator

extends Object
implements SSLKeyDerivationGenerator
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SSLTrafficKeyDerivation.T12TrafficKeyDerivationGenerator
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivationGenerator

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T12TrafficKeyDerivationGeneratorback to summary
private T12TrafficKeyDerivationGenerator()

Method Detail

createKeyDerivationback to summary
public SSLKeyDerivation createKeyDerivation(HandshakeContext context, SecretKey secretKey) throws IOException

Implements sun.security.ssl.SSLKeyDerivationGenerator.createKeyDerivation.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class SSLTrafficKeyDerivation.T13TrafficKeyDerivation

extends Object
implements SSLKeyDerivation
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SSLTrafficKeyDerivation.T13TrafficKeyDerivation
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivation

Field Summary

Modifier and TypeField and Description
private final CipherSuite
private final SecretKey

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static byte[]
createHkdfInfo(byte[] label, int length)

public SecretKey
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

csback to summary
private final CipherSuite cs
secretback to summary
private final SecretKey secret

Constructor Detail

T13TrafficKeyDerivationback to summary
pack-priv T13TrafficKeyDerivation(HandshakeContext context, SecretKey secret)

Method Detail

createHkdfInfoback to summary
private static byte[] createHkdfInfo(byte[] label, int length)
deriveKeyback to summary
public SecretKey deriveKey(String algorithm, AlgorithmParameterSpec params) throws IOException

Implements sun.security.ssl.SSLKeyDerivation.deriveKey.

Annotations
@Override
sun.security.ssl back to summary

private final Class SSLTrafficKeyDerivation.T13TrafficKeyDerivationGenerator

extends Object
implements SSLKeyDerivationGenerator
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SSLTrafficKeyDerivation.T13TrafficKeyDerivationGenerator
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivationGenerator

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T13TrafficKeyDerivationGeneratorback to summary
private T13TrafficKeyDerivationGenerator()

Method Detail

createKeyDerivationback to summary
public SSLKeyDerivation createKeyDerivation(HandshakeContext context, SecretKey secretKey) throws IOException

Implements sun.security.ssl.SSLKeyDerivationGenerator.createKeyDerivation.

Annotations
@Override