Class LMSPublicKeyParameters
java.lang.Object
org.bouncycastle.crypto.internal.params.AsymmetricKeyParameter
org.bouncycastle.crypto.internal.pqc.lms.LMSKeyParameters
org.bouncycastle.crypto.internal.pqc.lms.LMSPublicKeyParameters
- All Implemented Interfaces:
CipherParameters,LMSContextBasedVerifier
-
Constructor Summary
ConstructorsConstructorDescriptionLMSPublicKeyParameters(LMSigParameters parameterSet, LMOtsParameters lmOtsType, byte[] T1, byte[] I) -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerateLMSContext(byte[] signature) byte[]byte[]getI()static LMSPublicKeyParametersgetInstance(Object src) byte[]getT1()inthashCode()booleanverify(LMSContext context) Methods inherited from class org.bouncycastle.crypto.internal.params.AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
LMSPublicKeyParameters
public LMSPublicKeyParameters(LMSigParameters parameterSet, LMOtsParameters lmOtsType, byte[] T1, byte[] I)
-
-
Method Details
-
getInstance
- Throws:
IOException
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin classLMSKeyParameters
-
getSigParameters
-
getOtsParameters
-
getLMSParameters
-
getT1
public byte[] getT1() -
getI
public byte[] getI() -
equals
-
hashCode
public int hashCode() -
generateLMSContext
- Specified by:
generateLMSContextin interfaceLMSContextBasedVerifier- Throws:
IOException
-
verify
- Specified by:
verifyin interfaceLMSContextBasedVerifier
-