Package org.bouncycastle.pqc.crypto.lms
Class HSSPublicKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.pqc.crypto.lms.LMSKeyParameters
org.bouncycastle.pqc.crypto.lms.HSSPublicKeyParameters
- All Implemented Interfaces:
CipherParameters,LMSContextBasedVerifier,Encodable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerateLMSContext(byte[] sigEnc) byte[]Return a byte array representing the implementing object.static HSSPublicKeyParametersgetInstance(Object src) intgetL()inthashCode()booleanverify(LMSContext context) Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
HSSPublicKeyParameters
-
-
Method Details
-
getInstance
- Throws:
IOException
-
getL
public int getL() -
getLMSPublicKey
-
equals
-
hashCode
public int hashCode() -
getEncoded
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.
-
generateLMSContext
- Specified by:
generateLMSContextin interfaceLMSContextBasedVerifier
-
verify
- Specified by:
verifyin interfaceLMSContextBasedVerifier
-