org.bouncycastle.jcajce.provider.asymmetric.mldsa
Class SignatureSpi.MLDSACalcMu
java.lang.Object
java.security.SignatureSpi
org.bouncycastle.jcajce.provider.asymmetric.util.BaseDeterministicOrRandomSignature
org.bouncycastle.jcajce.provider.asymmetric.mldsa.SignatureSpi
org.bouncycastle.jcajce.provider.asymmetric.mldsa.SignatureSpi.MLDSACalcMu
- Enclosing class:
- SignatureSpi
- public static class SignatureSpi.MLDSACalcMu
- extends SignatureSpi
The ML-DSA-CALCULATE-MU service. Signing returns the 64 byte mu of the key, the context and the
data passed to update(), for an external signer to sign through ML-DSA-EXTERNAL-MU. Verifying takes
such a mu in place of a signature and reports whether it is the mu of the data passed to update()
under the key and context, which is exactly what the signing side of the service returns for them.
| Fields inherited from class java.security.SignatureSpi |
appRandom |
| Methods inherited from class java.security.SignatureSpi |
clone, engineSign, engineVerify |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureSpi.MLDSACalcMu
public SignatureSpi.MLDSACalcMu()
engineSign
protected byte[] engineSign()
throws java.security.SignatureException
- Overrides:
engineSign in class SignatureSpi
- Throws:
java.security.SignatureException
engineVerify
protected boolean engineVerify(byte[] sigBytes)
throws java.security.SignatureException
- Overrides:
engineVerify in class SignatureSpi
- Throws:
java.security.SignatureException