Class XWingPrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.pqc.crypto.xwing.XWingKeyParameters
org.bouncycastle.pqc.crypto.xwing.XWingPrivateKeyParameters
- All Implemented Interfaces:
CipherParameters
-
Constructor Summary
ConstructorsConstructorDescriptionXWingPrivateKeyParameters(byte[] seed) XWingPrivateKeyParameters(byte[] seed, MLKEMPrivateKeyParameters kyberPrivateKey, X25519PrivateKeyParameters xdhPrivateKey, MLKEMPublicKeyParameters kyberPublicKey, X25519PublicKeyParameters xdhPublicKey) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Return the encapsulation key this decapsulation key expands to.byte[]getSeed()Methods inherited from class AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
XWingPrivateKeyParameters
public XWingPrivateKeyParameters(byte[] seed, MLKEMPrivateKeyParameters kyberPrivateKey, X25519PrivateKeyParameters xdhPrivateKey, MLKEMPublicKeyParameters kyberPublicKey, X25519PublicKeyParameters xdhPublicKey) -
XWingPrivateKeyParameters
public XWingPrivateKeyParameters(byte[] seed)
-
-
Method Details
-
getSeed
public byte[] getSeed() -
getPublicKeyParameters
Return the encapsulation key this decapsulation key expands to.- Returns:
- the matching public key parameters.
-
getEncoded
public byte[] getEncoded()
-