Class MLKEMPrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.MLKEMKeyParameters
org.bouncycastle.crypto.params.MLKEMPrivateKeyParameters
- All Implemented Interfaces:
CipherParameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionMLKEMPrivateKeyParameters(MLKEMParameters params, byte[] encoding) MLKEMPrivateKeyParameters(MLKEMParameters params, byte[] s, byte[] hpk, byte[] nonce, byte[] t, byte[] rho) MLKEMPrivateKeyParameters(MLKEMParameters params, byte[] s, byte[] hpk, byte[] nonce, byte[] t, byte[] rho, byte[] seed) MLKEMPrivateKeyParameters(MLKEMParameters params, byte[] encoding, MLKEMPublicKeyParameters pubKey) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]getHPK()byte[]getNonce()getParametersWithFormat(int format) Deprecated.intbyte[]byte[]getRho()byte[]getS()byte[]getSeed()byte[]getT()withPreferredFormat(int format) Methods inherited from class MLKEMKeyParameters
getParametersMethods inherited from class AsymmetricKeyParameter
isPrivate
-
Field Details
-
BOTH
public static final int BOTH- See Also:
-
SEED_ONLY
public static final int SEED_ONLY- See Also:
-
EXPANDED_KEY
public static final int EXPANDED_KEY- See Also:
-
-
Constructor Details
-
MLKEMPrivateKeyParameters
public MLKEMPrivateKeyParameters(MLKEMParameters params, byte[] s, byte[] hpk, byte[] nonce, byte[] t, byte[] rho) -
MLKEMPrivateKeyParameters
public MLKEMPrivateKeyParameters(MLKEMParameters params, byte[] s, byte[] hpk, byte[] nonce, byte[] t, byte[] rho, byte[] seed) -
MLKEMPrivateKeyParameters
-
MLKEMPrivateKeyParameters
public MLKEMPrivateKeyParameters(MLKEMParameters params, byte[] encoding, MLKEMPublicKeyParameters pubKey)
-
-
Method Details
-
getParametersWithFormat
Deprecated.UsewithPreferredFormat(int)instead. -
withPreferredFormat
-
getPreferredFormat
public int getPreferredFormat() -
getEncoded
public byte[] getEncoded() -
getHPK
public byte[] getHPK() -
getNonce
public byte[] getNonce() -
getPublicKey
public byte[] getPublicKey() -
getPublicKeyParameters
-
getRho
public byte[] getRho() -
getS
public byte[] getS() -
getT
public byte[] getT() -
getSeed
public byte[] getSeed()
-
withPreferredFormat(int)instead.