Class GMSignatureSpi
java.lang.Object
java.security.SignatureSpi
org.bouncycastle.jcajce.provider.asymmetric.ec.GMSignatureSpi
- Direct Known Subclasses:
GMSignatureSpi.sha256WithSM2
,GMSignatureSpi.sm3WithSM2
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class java.security.SignatureSpi
appRandom
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
engineGetParameter
(String param) protected AlgorithmParameters
protected void
engineInitSign
(PrivateKey privateKey) protected void
engineInitVerify
(PublicKey publicKey) protected void
engineSetParameter
(String param, Object value) protected void
protected byte[]
protected void
engineUpdate
(byte b) protected void
engineUpdate
(byte[] bytes, int off, int length) protected boolean
engineVerify
(byte[] bytes) Methods inherited from class java.security.SignatureSpi
clone, engineInitSign, engineSign, engineUpdate, engineVerify
-
Method Details
-
engineInitVerify
- Specified by:
engineInitVerify
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineInitSign
- Specified by:
engineInitSign
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineUpdate
- Specified by:
engineUpdate
in classSignatureSpi
- Throws:
SignatureException
-
engineUpdate
- Specified by:
engineUpdate
in classSignatureSpi
- Throws:
SignatureException
-
engineSign
- Specified by:
engineSign
in classSignatureSpi
- Throws:
SignatureException
-
engineVerify
- Specified by:
engineVerify
in classSignatureSpi
- Throws:
SignatureException
-
engineSetParameter
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException - Overrides:
engineSetParameter
in classSignatureSpi
- Throws:
InvalidAlgorithmParameterException
-
engineGetParameters
- Overrides:
engineGetParameters
in classSignatureSpi
-
engineSetParameter
- Specified by:
engineSetParameter
in classSignatureSpi
-
engineGetParameter
- Specified by:
engineGetParameter
in classSignatureSpi
-