| Constructor and Description |
|---|
LMSContext(org.bouncycastle.pqc.crypto.lms.LMOtsPrivateKey key,
LMSigParameters sigParams,
Digest digest,
byte[] C,
byte[][] path) |
LMSContext(org.bouncycastle.pqc.crypto.lms.LMOtsPublicKey publicKey,
java.lang.Object signature,
Digest digest) |
| Modifier and Type | Method and Description |
|---|---|
int |
doFinal(byte[] out,
int outOff)
close the digest, producing the final digest value.
|
java.lang.String |
getAlgorithmName()
return the algorithm name
|
int |
getDigestSize()
return the size, in bytes, of the digest produced by this message digest.
|
org.bouncycastle.pqc.crypto.lms.LMOtsPublicKey |
getPublicKey() |
java.lang.Object |
getSignature() |
void |
reset()
reset the digest back to it's initial state.
|
void |
update(byte in)
update the message digest with a single byte.
|
void |
update(byte[] in,
int inOff,
int len)
update the message digest with a block of bytes.
|
public LMSContext(org.bouncycastle.pqc.crypto.lms.LMOtsPrivateKey key,
LMSigParameters sigParams,
Digest digest,
byte[] C,
byte[][] path)
public LMSContext(org.bouncycastle.pqc.crypto.lms.LMOtsPublicKey publicKey,
java.lang.Object signature,
Digest digest)
public org.bouncycastle.pqc.crypto.lms.LMOtsPublicKey getPublicKey()
public java.lang.Object getSignature()
public java.lang.String getAlgorithmName()
DigestgetAlgorithmName in interface Digestpublic int getDigestSize()
DigestgetDigestSize in interface Digestpublic void update(byte in)
Digestpublic void update(byte[] in,
int inOff,
int len)
Digestpublic int doFinal(byte[] out,
int outOff)
Digest