| 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 | MLKEMKeyParametersBase key parameters for ML-KEM (Module-Lattice Key Encapsulation Mechanism). |
class | MLKEMPrivateKeyParametersPrivate key parameters for ML-KEM (Module-Lattice Key Encapsulation Mechanism). |
class | MLKEMPublicKeyParametersPublic key parameters for ML-KEM (Module-Lattice Key Encapsulation Mechanism). |
| Modifier and Type | Method and Description |
|---|---|
SecretWithEncapsulation | MLKEMGenerator.generateEncapsulated(AsymmetricKeyParameter recipientKey)generateEncapsulated. |
SecretWithEncapsulation | MLKEMGenerator.internalGenerateEncapsulated(AsymmetricKeyParameter recipientKey,
byte[] randBytes)internalGenerateEncapsulated. |