| Package | Description |
|---|---|
| org.bouncycastle.crypto |
Base classes for the lightweight API.
|
| org.bouncycastle.pqc.crypto.mlkem |
This is a small portion of bouncycastle 1.80 for MLKEM, modified to reduce dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
AsymmetricKeyParameter |
AsymmetricCipherKeyPair.getPrivate()
return the private key parameters.
|
AsymmetricKeyParameter |
AsymmetricCipherKeyPair.getPublic()
return the public key parameters.
|
| Constructor and Description |
|---|
AsymmetricCipherKeyPair(AsymmetricKeyParameter publicParam,
AsymmetricKeyParameter privateParam)
basic constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MLKEMKeyParameters
Base key parameters for ML-KEM (Module-Lattice Key Encapsulation Mechanism).
|
class |
MLKEMPrivateKeyParameters
Private key parameters for ML-KEM (Module-Lattice Key Encapsulation Mechanism).
|
class |
MLKEMPublicKeyParameters
Public key parameters for ML-KEM (Module-Lattice Key Encapsulation Mechanism).
|
| Modifier and Type | Method and Description |
|---|---|
SecretWithEncapsulation |
MLKEMGenerator.generateEncapsulated(AsymmetricKeyParameter recipientKey) |
SecretWithEncapsulation |
MLKEMGenerator.internalGenerateEncapsulated(AsymmetricKeyParameter recipientKey,
byte[] randBytes) |