Top Inners Fields Constructors Methods
sun.security.ssl

pack-priv final Class SSLSecretDerivation

extends Object
implements SSLKeyDerivation
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivation
Imports
java.io.IOException, java.nio.ByteBuffer, java.security.GeneralSecurityException, java.security.spec.AlgorithmParameterSpec, javax.crypto.SecretKey, javax.net.ssl.SSLHandshakeException, sun.security.ssl.CipherSuite.HashAlg

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static enum

Field Summary

Modifier and TypeField and Description
private final CipherSuite.HashAlg
private final SecretKey
private static final byte[]
private static final byte[]
private final byte[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

public SecretKey
pack-priv SSLSecretDerivation
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hashAlgback to summary
private final CipherSuite.HashAlg hashAlg
secretback to summary
private final SecretKey secret
sha256EmptyDigestback to summary
private static final byte[] sha256EmptyDigest
sha384EmptyDigestback to summary
private static final byte[] sha384EmptyDigest
transcriptHashback to summary
private final byte[] transcriptHash

Constructor Detail

SSLSecretDerivationback to summary
pack-priv SSLSecretDerivation(HandshakeContext context, SecretKey secret)

Method Detail

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

Implements sun.security.ssl.SSLKeyDerivation.deriveKey.

Annotations
@Override
forContextback to summary
pack-priv SSLSecretDerivation forContext(HandshakeContext context)
sun.security.ssl back to summary

private final Enum SSLSecretDerivation.SecretSchedule

extends Enum<SSLSecretDerivation.SecretSchedule>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final byte[]
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule
public static final SSLSecretDerivation.SecretSchedule

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SSLSecretDerivation.SecretSchedule
public static SSLSecretDerivation.SecretSchedule[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

labelback to summary
private final byte[] label
TlsClientAppTrafficSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsClientAppTrafficSecret
TlsClientEarlyTrafficSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsClientEarlyTrafficSecret
TlsClientHandshakeTrafficSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsClientHandshakeTrafficSecret
TlsEarlyExporterMasterSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsEarlyExporterMasterSecret
TlsExporterMasterSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsExporterMasterSecret
TlsExtBinderKeyback to summary
public static final SSLSecretDerivation.SecretSchedule TlsExtBinderKey
TlsResBinderKeyback to summary
public static final SSLSecretDerivation.SecretSchedule TlsResBinderKey
TlsResumptionMasterSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsResumptionMasterSecret
TlsSaltSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsSaltSecret
TlsServerAppTrafficSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsServerAppTrafficSecret
TlsServerHandshakeTrafficSecretback to summary
public static final SSLSecretDerivation.SecretSchedule TlsServerHandshakeTrafficSecret

Constructor Detail

SecretScheduleback to summary
private SecretSchedule(String label)

Method Detail

valueOfback to summary
public static SSLSecretDerivation.SecretSchedule valueOf(String name)
valuesback to summary
public static SSLSecretDerivation.SecretSchedule[] values()