| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final HandshakeContext | |
| private final byte[] | |
| private final PrivateKey | |
| private final PublicKey | |
| private final Provider | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | KAKeyDerivation(String algorithmName, HandshakeContext context, PrivateKey localPrivateKey, PublicKey peerPublicKey)
|
| pack-priv | KAKeyDerivation(String algorithmName, NamedGroup namedGroup, HandshakeContext context, PrivateKey localPrivateKey, PublicKey peerPublicKey, byte[] keyshare)
|
| Modifier and Type | Method and Description |
|---|---|
| private SecretKey | |
| public SecretKey | |
| pack-priv KEM. | encapsulate(String algorithm, SecureRandom random)
This method is called by the server to perform KEM encapsulation. |
| private SecretKey | |
| private SecretKey |
| algorithmName | back to summary |
|---|---|
| private final String algorithmName | |
| context | back to summary |
|---|---|
| private final HandshakeContext context | |
| keyshare | back to summary |
|---|---|
| private final byte[] keyshare | |
| localPrivateKey | back to summary |
|---|---|
| private final PrivateKey localPrivateKey | |
| peerPublicKey | back to summary |
|---|---|
| private final PublicKey peerPublicKey | |
| provider | back to summary |
|---|---|
| private final Provider provider | |
| t13KeyDerivationAlgorithm | back to summary |
|---|---|
| private static final String t13KeyDerivationAlgorithm | |
| KAKeyDerivation | back to summary |
|---|---|
| pack-priv KAKeyDerivation(String algorithmName, HandshakeContext context, PrivateKey localPrivateKey, PublicKey peerPublicKey) | |
| KAKeyDerivation | back to summary |
|---|---|
| pack-priv KAKeyDerivation(String algorithmName, NamedGroup namedGroup, HandshakeContext context, PrivateKey localPrivateKey, PublicKey peerPublicKey, byte[] keyshare) | |
| deriveHandshakeSecret | back to summary |
|---|---|
| private SecretKey deriveHandshakeSecret(String label, SecretKey sharedSecret) throws GeneralSecurityException, IOException | |
| deriveKey | back to summary |
|---|---|
| public SecretKey deriveKey(String type) throws IOException Implements sun.
| |
| encapsulate | back to summary |
|---|---|
| pack-priv KEM. This method is called by the server to perform KEM encapsulation. It uses the client's public key (sent by the client as a keyshare) to encapsulate a shared secret and returns the encapsulated message. Package-private, used from KeyShareExtension.SHKeyShareProducer:: produce(). | |
| t12DeriveKey | back to summary |
|---|---|
| private SecretKey t12DeriveKey() throws IOException Handle the TLSv1-1.2 objects, which don't use the HKDF algorithms. | |
| t13DeriveKey | back to summary |
|---|---|
| private SecretKey t13DeriveKey(String type) throws IOException Handle the TLSv1.3 objects, which use the HKDF algorithms. | |