org.bouncycastle.pqc.crypto.sdith
Class SDitHPrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.pqc.crypto.sdith.SDitHPrivateKeyParameters
- All Implemented Interfaces:
- CipherParameters
- public class SDitHPrivateKeyParameters
- extends AsymmetricKeyParameter
SDitH private key, in the same expanded form that the reference KAT files
write out (sdith_full_key_t).
Layout:
H_a_seed (seedSize) || y (m-k) || s_A (k) || q_poly (d * w/d) || p_poly (d * w/d)
The is held alongside the expanded key whenever it is known
(after keygen); when reconstructed from a flat encoded blob we have only the
expanded data and getSeed() returns .
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SDitHPrivateKeyParameters
public SDitHPrivateKeyParameters(SDitHParameters parameters,
byte[] mSeed,
byte[] hASeed,
byte[] y,
byte[] sA,
byte[] qPoly,
byte[] pPoly)
SDitHPrivateKeyParameters
public SDitHPrivateKeyParameters(SDitHParameters parameters,
byte[] encoded)
getParameters
public SDitHParameters getParameters()
getEncoded
public byte[] getEncoded()
getSeed
public byte[] getSeed()
getHASeed
public byte[] getHASeed()
getY
public byte[] getY()
getSA
public byte[] getSA()
getQPoly
public byte[] getQPoly()
getPPoly
public byte[] getPPoly()
getPublicKeyParameters
public SDitHPublicKeyParameters getPublicKeyParameters()