| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static NamedX509Key | |
| public static byte[] |
| SEED_LEN | back to summary |
|---|---|
| private static final int SEED_LEN | |
| ML_KEM_Impls | back to summary |
|---|---|
| public ML_KEM_Impls() | |
| privKeyToPubKey | back to summary |
|---|---|
| public static NamedX509Key privKeyToPubKey(NamedPKCS8Key npk) | |
| seedToExpanded | back to summary |
|---|---|
| public static byte[] seedToExpanded(String pname, byte[] seed) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final int |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | implCheckPrivateKey(String pname, byte[] sk)
Overrides sun. User-defined function to validate a private key. |
| protected Object | implCheckPublicKey(String pname, byte[] pk)
Overrides sun. User-defined function to validate a public key. |
| protected byte[] | implDecapsulate(String pname, byte[] decapsulationKey, Object dk, byte[] cipherText)
Implements abstract sun. User-defined decap function. |
| protected byte[][] | implEncapsulate(String pname, byte[] encapsulationKey, Object ek, SecureRandom secureRandom)
Implements abstract sun. User-defined encap function. |
| protected int | implEncapsulationSize(String pname)
Implements abstract sun. User-defined function returning key encapsulation message length. |
| protected int | implSecretSize(String pname)
Implements abstract sun. User-defined function returning shared secret key length. |
| SEED_SIZE | back to summary |
|---|---|
| private static final int SEED_SIZE | |
| implCheckPrivateKey | back to summary |
|---|---|
| protected Object implCheckPrivateKey(String pname, byte[] sk) throws InvalidKeyException Overrides sun. Doc from sun. User-defined function to validate a private key. This method will be called in The default implementation returns
| |
| implCheckPublicKey | back to summary |
|---|---|
| protected Object implCheckPublicKey(String pname, byte[] pk) throws InvalidKeyException Overrides sun. Doc from sun. User-defined function to validate a public key. This method will be called in The default implementation returns
| |
| implDecapsulate | back to summary |
|---|---|
| protected byte[] implDecapsulate(String pname, byte[] decapsulationKey, Object dk, byte[] cipherText) throws DecapsulateException Implements abstract sun. Doc from sun. User-defined decap function.
| |
| implEncapsulate | back to summary |
|---|---|
| protected byte[][] implEncapsulate(String pname, byte[] encapsulationKey, Object ek, SecureRandom secureRandom) Implements abstract sun. Doc from sun. User-defined encap function.
| |
| implEncapsulationSize | back to summary |
|---|---|
| protected int implEncapsulationSize(String pname) Implements abstract sun. Doc from sun. User-defined function returning key encapsulation message length.
| |
| implSecretSize | back to summary |
|---|---|
| protected int implSecretSize(String pname) Implements abstract sun. Doc from sun. User-defined function returning shared secret key length.
| |
| Access | Constructor and Description |
|---|---|
| public |
| K2 | back to summary |
|---|---|
| public K2() | |
| Access | Constructor and Description |
|---|---|
| public |
| K3 | back to summary |
|---|---|
| public K3() | |
| Access | Constructor and Description |
|---|---|
| public |
| K5 | back to summary |
|---|---|
| public K5() | |
| Modifier and Type | Method and Description |
|---|---|
| protected Key | engineTranslateKey(Key key)
Overrides sun. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
| protected byte[] | implExpand(String pname, byte[] input)
Implements abstract sun. User-defined function to generate the expanded format of
a |
| engineTranslateKey | back to summary |
|---|---|
| protected Key engineTranslateKey(Key key) throws InvalidKeyException Overrides sun. Doc from java. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
| |
| implExpand | back to summary |
|---|---|
| protected byte[] implExpand(String pname, byte[] input) throws InvalidKeyException Implements abstract sun. Doc from sun. User-defined function to generate the expanded format of
a This method is called when the key factory is constructing a private key. The ownership of the result is fully granted to the caller.
| |
| Access | Constructor and Description |
|---|---|
| public |
| KF2 | back to summary |
|---|---|
| public KF2() | |
| Access | Constructor and Description |
|---|---|
| public |
| KF3 | back to summary |
|---|---|
| public KF3() | |
| Access | Constructor and Description |
|---|---|
| public |
| KF5 | back to summary |
|---|---|
| public KF5() | |
| Modifier and Type | Method and Description |
|---|---|
| protected byte[][] | implGenerateKeyPair(String pname, SecureRandom random)
Implements abstract sun. User-defined key pair generator. |
| implGenerateKeyPair | back to summary |
|---|---|
| protected byte[][] implGenerateKeyPair(String pname, SecureRandom random) Implements abstract sun. Doc from sun. User-defined key pair generator.
| |
| Access | Constructor and Description |
|---|---|
| public |
| KPG2 | back to summary |
|---|---|
| public KPG2() | |
| Access | Constructor and Description |
|---|---|
| public |
| KPG3 | back to summary |
|---|---|
| public KPG3() | |
| Access | Constructor and Description |
|---|---|
| public |
| KPG5 | back to summary |
|---|---|
| public KPG5() | |