Package com.wolfssl.provider.jce
Class WolfCryptSignature
java.lang.Object
java.security.SignatureSpi
com.wolfssl.provider.jce.WolfCryptSignature
- Direct Known Subclasses:
WolfCryptSignature.wcMD5wRSA
,WolfCryptSignature.wcSHA1wECDSA
,WolfCryptSignature.wcSHA1wRSA
,WolfCryptSignature.wcSHA256wECDSA
,WolfCryptSignature.wcSHA256wRSA
,WolfCryptSignature.wcSHA384wECDSA
,WolfCryptSignature.wcSHA384wRSA
,WolfCryptSignature.wcSHA512wECDSA
,WolfCryptSignature.wcSHA512wRSA
public class WolfCryptSignature
extends java.security.SignatureSpi
wolfCrypt JCE Signature wrapper
- Version:
- 1.0, March 2017
- Author:
- wolfSSL
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WolfCryptSignature.wcMD5wRSA
static class
WolfCryptSignature.wcSHA1wECDSA
static class
WolfCryptSignature.wcSHA1wRSA
static class
WolfCryptSignature.wcSHA256wECDSA
static class
WolfCryptSignature.wcSHA256wRSA
static class
WolfCryptSignature.wcSHA384wECDSA
static class
WolfCryptSignature.wcSHA384wRSA
static class
WolfCryptSignature.wcSHA512wECDSA
static class
WolfCryptSignature.wcSHA512wRSA
-
Field Summary
-
Method Summary
Modifier and Type Method Description protected java.lang.Object
engineGetParameter(java.lang.String param)
Deprecated.protected void
engineInitSign(java.security.PrivateKey privateKey)
protected void
engineInitVerify(java.security.PublicKey publicKey)
protected void
engineSetParameter(java.lang.String param, java.lang.Object value)
Deprecated.protected byte[]
engineSign()
protected void
engineUpdate(byte b)
protected void
engineUpdate(byte[] b, int off, int len)
protected boolean
engineVerify(byte[] sigBytes)
protected void
finalize()
-
Method Details
-
engineGetParameter
@Deprecated protected java.lang.Object engineGetParameter(java.lang.String param) throws java.security.InvalidParameterExceptionDeprecated.- Specified by:
engineGetParameter
in classjava.security.SignatureSpi
- Throws:
java.security.InvalidParameterException
-
engineInitSign
protected void engineInitSign(java.security.PrivateKey privateKey) throws java.security.InvalidKeyException- Specified by:
engineInitSign
in classjava.security.SignatureSpi
- Throws:
java.security.InvalidKeyException
-
engineInitVerify
protected void engineInitVerify(java.security.PublicKey publicKey) throws java.security.InvalidKeyException- Specified by:
engineInitVerify
in classjava.security.SignatureSpi
- Throws:
java.security.InvalidKeyException
-
engineSetParameter
@Deprecated protected void engineSetParameter(java.lang.String param, java.lang.Object value) throws java.security.InvalidParameterExceptionDeprecated.- Specified by:
engineSetParameter
in classjava.security.SignatureSpi
- Throws:
java.security.InvalidParameterException
-
engineSign
protected byte[] engineSign() throws java.security.SignatureException- Specified by:
engineSign
in classjava.security.SignatureSpi
- Throws:
java.security.SignatureException
-
engineUpdate
protected void engineUpdate(byte b) throws java.security.SignatureException- Specified by:
engineUpdate
in classjava.security.SignatureSpi
- Throws:
java.security.SignatureException
-
engineUpdate
protected void engineUpdate(byte[] b, int off, int len) throws java.security.SignatureException- Specified by:
engineUpdate
in classjava.security.SignatureSpi
- Throws:
java.security.SignatureException
-
engineVerify
protected boolean engineVerify(byte[] sigBytes) throws java.security.SignatureException- Specified by:
engineVerify
in classjava.security.SignatureSpi
- Throws:
java.security.SignatureException
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-