Class HSSSignature
java.lang.Object
org.bouncycastle.crypto.internal.pqc.lms.HSSSignature
- All Implemented Interfaces:
Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionHSSSignature(int lMinus1, org.bouncycastle.crypto.internal.pqc.lms.LMSSignedPubKey[] signedPubKey, org.bouncycastle.crypto.internal.pqc.lms.LMSSignature signature) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]Return a byte array representing the implementing object.static HSSSignaturegetInstance(Object src, int L) intorg.bouncycastle.crypto.internal.pqc.lms.LMSSignatureorg.bouncycastle.crypto.internal.pqc.lms.LMSSignedPubKey[]inthashCode()
-
Constructor Details
-
HSSSignature
public HSSSignature(int lMinus1, org.bouncycastle.crypto.internal.pqc.lms.LMSSignedPubKey[] signedPubKey, org.bouncycastle.crypto.internal.pqc.lms.LMSSignature signature)
-
-
Method Details
-
getInstance
- Parameters:
src- byte[], InputStream or HSSSignatureL- The HSS depth, available from public key.- Returns:
- An HSSSignature instance.
- Throws:
IOException
-
getlMinus1
public int getlMinus1() -
getSignedPubKey
public org.bouncycastle.crypto.internal.pqc.lms.LMSSignedPubKey[] getSignedPubKey() -
getSignature
public org.bouncycastle.crypto.internal.pqc.lms.LMSSignature getSignature() -
equals
-
hashCode
-
getEncoded
Description copied from interface:EncodableReturn a byte array representing the implementing object.- Specified by:
getEncodedin interfaceEncodable- Returns:
- a byte array representing the encoding.
- Throws:
IOException- if an issue arises generation the encoding.
-