Class SignatureSpi
java.lang.Object
java.security.SignatureSpi
org.bouncycastle.jcajce.provider.asymmetric.edec.SignatureSpi
- Direct Known Subclasses:
SignatureSpi.Ed25519
,SignatureSpi.Ed448
,SignatureSpi.EdDSA
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
-
Field Summary
Fields inherited from class java.security.SignatureSpi
appRandom
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
protected AlgorithmParameters
protected void
engineInitSign
(PrivateKey privateKey) protected void
engineInitVerify
(PublicKey publicKey) protected void
engineSetParameter
(String s, Object o) protected byte[]
protected void
engineUpdate
(byte b) protected void
engineUpdate
(byte[] bytes, int off, int len) protected boolean
engineVerify
(byte[] signature) Methods inherited from class java.security.SignatureSpi
clone, engineInitSign, engineSetParameter, 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
- Specified by:
engineSetParameter
in classSignatureSpi
- Throws:
InvalidParameterException
-
engineGetParameter
- Specified by:
engineGetParameter
in classSignatureSpi
- Throws:
InvalidParameterException
-
engineGetParameters
- Overrides:
engineGetParameters
in classSignatureSpi
-