Top Inners Fields Constructors Methods
sun.security.ssl

pack-priv final Class SSLBasicKeyDerivation

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private final String
private final byte[]
private final SecretKey

Constructor Summary

AccessConstructor and Description
pack-priv
SSLBasicKeyDerivation(SecretKey secret, String hashAlg, byte[] label, byte[] context, int length)

Method Summary

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

public SecretKey
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hashAlgback to summary
private final String hashAlg
hkdfInfoback to summary
private final byte[] hkdfInfo
secretback to summary
private final SecretKey secret

Constructor Detail

SSLBasicKeyDerivationback to summary
pack-priv SSLBasicKeyDerivation(SecretKey secret, String hashAlg, byte[] label, byte[] context, int length)

Method Detail

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

Implements sun.security.ssl.SSLKeyDerivation.deriveKey.

Annotations
@Override
sun.security.ssl back to summary

pack-priv Class SSLBasicKeyDerivation.SecretSizeSpec

extends Object
implements AlgorithmParameterSpec
Class Inheritance
All Implemented Interfaces
java.security.spec.AlgorithmParameterSpec

Field Summary

Modifier and TypeField and Description
pack-priv final int

Constructor Summary

AccessConstructor and Description
pack-priv
SecretSizeSpec(int length)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lengthback to summary
pack-priv final int length

Constructor Detail

SecretSizeSpecback to summary
pack-priv SecretSizeSpec(int length)