Class MLDSAPrivateKeyParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.AsymmetricKeyParameter
-
- org.bouncycastle.pqc.crypto.mldsa.MLDSAKeyParameters
-
- org.bouncycastle.pqc.crypto.mldsa.MLDSAPrivateKeyParameters
-
- All Implemented Interfaces:
CipherParameters
public class MLDSAPrivateKeyParameters extends MLDSAKeyParameters
-
-
Constructor Summary
Constructors Constructor Description MLDSAPrivateKeyParameters(MLDSAParameters params, byte[] seed)
MLDSAPrivateKeyParameters(MLDSAParameters params, byte[] rho, byte[] K, byte[] tr, byte[] s1, byte[] s2, byte[] t0, byte[] t1)
MLDSAPrivateKeyParameters(MLDSAParameters params, byte[] rho, byte[] K, byte[] tr, byte[] s1, byte[] s2, byte[] t0, byte[] t1, byte[] seed)
MLDSAPrivateKeyParameters(MLDSAParameters params, byte[] encoding, MLDSAPublicKeyParameters pubKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
getEncoded()
byte[]
getK()
byte[]
getPrivateKey()
Deprecated.UsegetEncoded()
instead.byte[]
getPublicKey()
MLDSAPublicKeyParameters
getPublicKeyParameters()
byte[]
getRho()
byte[]
getS1()
byte[]
getS2()
byte[]
getSeed()
byte[]
getT0()
byte[]
getT1()
byte[]
getTr()
-
Methods inherited from class org.bouncycastle.pqc.crypto.mldsa.MLDSAKeyParameters
getParameters
-
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
-
-
-
Constructor Detail
-
MLDSAPrivateKeyParameters
public MLDSAPrivateKeyParameters(MLDSAParameters params, byte[] seed)
-
MLDSAPrivateKeyParameters
public MLDSAPrivateKeyParameters(MLDSAParameters params, byte[] rho, byte[] K, byte[] tr, byte[] s1, byte[] s2, byte[] t0, byte[] t1)
-
MLDSAPrivateKeyParameters
public MLDSAPrivateKeyParameters(MLDSAParameters params, byte[] rho, byte[] K, byte[] tr, byte[] s1, byte[] s2, byte[] t0, byte[] t1, byte[] seed)
-
MLDSAPrivateKeyParameters
public MLDSAPrivateKeyParameters(MLDSAParameters params, byte[] encoding, MLDSAPublicKeyParameters pubKey)
-
-
Method Detail
-
getEncoded
public byte[] getEncoded()
-
getK
public byte[] getK()
-
getPrivateKey
public byte[] getPrivateKey()
Deprecated.UsegetEncoded()
instead.
-
getPublicKey
public byte[] getPublicKey()
-
getSeed
public byte[] getSeed()
-
getPublicKeyParameters
public MLDSAPublicKeyParameters getPublicKeyParameters()
-
getRho
public byte[] getRho()
-
getS1
public byte[] getS1()
-
getS2
public byte[] getS2()
-
getT0
public byte[] getT0()
-
getT1
public byte[] getT1()
-
getTr
public byte[] getTr()
-
-