Class HashSignatureSpi
java.lang.Object
java.security.SignatureSpi
java.security.Signature
org.bouncycastle.jcajce.provider.asymmetric.util.BaseDeterministicOrRandomSignature
org.bouncycastle.jcajce.provider.asymmetric.mldsa.HashSignatureSpi
- Direct Known Subclasses:
HashSignatureSpi.MLDSA
,HashSignatureSpi.MLDSA44
,HashSignatureSpi.MLDSA65
,HashSignatureSpi.MLDSA87
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Fields inherited from class org.bouncycastle.jcajce.provider.asymmetric.util.BaseDeterministicOrRandomSignature
engineParams, isInitState, keyParams, paramSpec
Fields inherited from class java.security.Signature
SIGN, state, UNINITIALIZED, VERIFY
Fields inherited from class java.security.SignatureSpi
appRandom
-
Constructor Summary
ModifierConstructorDescriptionprotected
HashSignatureSpi
(HashMLDSASigner signer) protected
HashSignatureSpi
(HashMLDSASigner signer, MLDSAParameters parameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
protected boolean
engineVerify
(byte[] sigBytes) protected void
reInitialize
(boolean forSigning, CipherParameters params) protected void
signInit
(PrivateKey privateKey, SecureRandom random) protected void
updateEngine
(byte b) protected void
updateEngine
(byte[] buf, int off, int len) protected void
verifyInit
(PublicKey publicKey) Methods inherited from class org.bouncycastle.jcajce.provider.asymmetric.util.BaseDeterministicOrRandomSignature
engineGetParameter, engineGetParameters, engineInitSign, engineInitSign, engineInitVerify, engineSetParameter, engineSetParameter, engineUpdate, engineUpdate
Methods inherited from class java.security.Signature
clone, getAlgorithm, getInstance, getInstance, getInstance, getParameter, getParameters, getProvider, initSign, initSign, initVerify, initVerify, setParameter, setParameter, sign, sign, toString, update, update, update, update, verify, verify
Methods inherited from class java.security.SignatureSpi
engineSign, engineUpdate, engineVerify
-
Constructor Details
-
HashSignatureSpi
-
HashSignatureSpi
-
-
Method Details
-
verifyInit
- Specified by:
verifyInit
in classBaseDeterministicOrRandomSignature
- Throws:
InvalidKeyException
-
signInit
- Specified by:
signInit
in classBaseDeterministicOrRandomSignature
- Throws:
InvalidKeyException
-
updateEngine
- Specified by:
updateEngine
in classBaseDeterministicOrRandomSignature
- Throws:
SignatureException
-
updateEngine
- Specified by:
updateEngine
in classBaseDeterministicOrRandomSignature
- Throws:
SignatureException
-
engineSign
- Specified by:
engineSign
in classSignatureSpi
- Throws:
SignatureException
-
engineVerify
- Specified by:
engineVerify
in classSignatureSpi
- Throws:
SignatureException
-
reInitialize
- Specified by:
reInitialize
in classBaseDeterministicOrRandomSignature
-