private static final class ECDHKeyExchange.ECDHEKAKeyDerivation extends Object implements SSLKeyDerivation
| 限定符和类型 | 字段和说明 |
|---|---|
private HandshakeContext |
context |
private PrivateKey |
localPrivateKey |
private PublicKey |
peerPublicKey |
| 构造器和说明 |
|---|
ECDHEKAKeyDerivation(HandshakeContext context,
PrivateKey localPrivateKey,
PublicKey peerPublicKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
SecretKey |
deriveKey(String algorithm,
AlgorithmParameterSpec params) |
private SecretKey |
t12DeriveKey(String algorithm,
AlgorithmParameterSpec params) |
private SecretKey |
t13DeriveKey(String algorithm,
AlgorithmParameterSpec params) |
private final HandshakeContext context
private final PrivateKey localPrivateKey
private final PublicKey peerPublicKey
ECDHEKAKeyDerivation(HandshakeContext context, PrivateKey localPrivateKey, PublicKey peerPublicKey)
public SecretKey deriveKey(String algorithm, AlgorithmParameterSpec params) throws IOException
deriveKey 在接口中 SSLKeyDerivationIOExceptionprivate SecretKey t12DeriveKey(String algorithm, AlgorithmParameterSpec params) throws IOException
IOExceptionprivate SecretKey t13DeriveKey(String algorithm, AlgorithmParameterSpec params) throws IOException
IOExceptionCopyright © 2023. All rights reserved.