Class HSSPrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.pqc.crypto.lms.LMSKeyParameters
org.bouncycastle.pqc.crypto.lms.HSSPrivateKeyParameters
- All Implemented Interfaces:
CipherParameters, LMSContextBasedSigner, Encodable
@Deprecated
public class HSSPrivateKeyParameters
extends LMSKeyParameters
implements LMSContextBasedSigner
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionHSSPrivateKeyParameters(int l, List<LMSPrivateKeyParameters> keys, List<org.bouncycastle.pqc.crypto.lms.LMSSignature> sig, long index, long indexLimit) Deprecated.HSSPrivateKeyParameters(LMSPrivateKeyParameters key, long index, long indexLimit) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()Deprecated.booleanDeprecated.extractKeyShard(int usageCount) Deprecated.Return a key that can be used usageCount times.Deprecated.byte[]generateSignature(LMSContext context) Deprecated.byte[]Deprecated.Return a byte array representing the implementing object.longgetIndex()Deprecated.static HSSPrivateKeyParametersgetInstance(byte[] privEnc, byte[] pubEnc) Deprecated.static HSSPrivateKeyParametersgetInstance(Object src) Deprecated.intgetL()Deprecated.Deprecated.Deprecated.longDeprecated.inthashCode()Deprecated.protected voidupdateHierarchy(LMSPrivateKeyParameters[] newKeys, org.bouncycastle.pqc.crypto.lms.LMSSignature[] newSig) Deprecated.Methods inherited from class AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
HSSPrivateKeyParameters
Deprecated. -
HSSPrivateKeyParameters
public HSSPrivateKeyParameters(int l, List<LMSPrivateKeyParameters> keys, List<org.bouncycastle.pqc.crypto.lms.LMSSignature> sig, long index, long indexLimit) Deprecated.
-
-
Method Details
-
getInstance
Deprecated.- Throws:
IOException
-
getInstance
Deprecated.- Throws:
IOException
-
getL
public int getL()Deprecated. -
getIndex
public long getIndex()Deprecated. -
getLMSParameters
Deprecated. -
updateHierarchy
protected void updateHierarchy(LMSPrivateKeyParameters[] newKeys, org.bouncycastle.pqc.crypto.lms.LMSSignature[] newSig) Deprecated. -
getUsagesRemaining
public long getUsagesRemaining()Deprecated.- Specified by:
getUsagesRemainingin interfaceLMSContextBasedSigner
-
extractKeyShard
Deprecated.Return a key that can be used usageCount times.Note: this will use the range [index...index + usageCount) for the current key.
- Parameters:
usageCount- the number of usages the key should have.- Returns:
- a key based on the current key that can be used usageCount times.
-
getPublicKey
Deprecated. -
equals
-
getEncoded
Deprecated.Description copied from interface:EncodableReturn a byte array representing the implementing object.- Specified by:
getEncodedin interfaceEncodable- Specified by:
getEncodedin classLMSKeyParameters- Returns:
- a byte array representing the encoding.
- Throws:
IOException- if an issue arises generation the encoding.
-
hashCode
-
clone
Deprecated.- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
generateLMSContext
Deprecated.- Specified by:
generateLMSContextin interfaceLMSContextBasedSigner
-
generateSignature
Deprecated.- Specified by:
generateSignaturein interfaceLMSContextBasedSigner
-
HSSPrivateKeyParametersinstead.