APIdia Launch Partner
Top 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, javax.crypto.KDF, .SecretKey, javax.crypto.spec.HKDFParameterSpec, javax.net.ssl.SSLHandshakeException, sun.security.ssl.CipherSuite.HashAlg

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
SSLBasicKeyDerivation(SecretKey secret, CipherSuite.HashAlg hashAlg, byte[] label, byte[] context)

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

hkdfAlgback to summary
private final String hkdfAlg
hkdfInfoback to summary
private final byte[] hkdfInfo
keyLenback to summary
private final int keyLen
secretback to summary
private final SecretKey secret

Constructor Detail

SSLBasicKeyDerivationback to summary
pack-priv SSLBasicKeyDerivation(SecretKey secret, CipherSuite.HashAlg hashAlg, byte[] label, byte[] context)

Method Detail

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

Implements sun.security.ssl.SSLKeyDerivation.deriveKey.

Annotations
@Override