static final class SSLTrafficKeyDerivation.T13TrafficKeyDerivation extends Object implements SSLKeyDerivation
| 限定符和类型 | 字段和说明 |
|---|---|
private CipherSuite |
cs |
private SecretKey |
secret |
| 构造器和说明 |
|---|
T13TrafficKeyDerivation(HandshakeContext context,
SecretKey secret) |
private final CipherSuite cs
private final SecretKey secret
T13TrafficKeyDerivation(HandshakeContext context, SecretKey secret)
public SecretKey deriveKey(String algorithm, AlgorithmParameterSpec params) throws IOException
deriveKey 在接口中 SSLKeyDerivationIOExceptionprivate static byte[] createHkdfInfo(byte[] label,
int length)
throws IOException
IOExceptionCopyright © 2023. All rights reserved.