com.ibm.crypto.fips.provider
Class DatawithECDSA
- java.lang.Object
-
- java.security.SignatureSpi
-
- com.ibm.crypto.fips.provider.AbstractSHAwithECDSA
-
- com.ibm.crypto.fips.provider.DatawithECDSA
-
public final class DatawithECDSA extends AbstractSHAwithECDSA
-
-
Field Summary
-
Fields inherited from class com.ibm.crypto.fips.provider.AbstractSHAwithECDSA
fieldSize, sha
-
-
Constructor Summary
Constructors Constructor and Description DatawithECDSA()
-
Method Summary
Methods Modifier and Type Method and Description protected void
engineUpdate(byte b)
protected void
finalize()
This function resets the class variables.protected byte[]
getData()
protected void
internalUpdate(byte b)
protected void
internalUpdate(byte[] buffer, int offset, int length)
protected boolean
internalVerify(byte[] sigBytes)
protected void
reset()
-
Methods inherited from class com.ibm.crypto.fips.provider.AbstractSHAwithECDSA
engineGetParameter, engineInitSign, engineInitVerify, engineSetParameter, engineSign, engineSign, engineUpdate, engineVerify, internalGetParameter, internalInitSign, internalInitVerify, internalSetParameter, internalSign, internalSign
-
-
-
-
Constructor Detail
-
DatawithECDSA
public DatawithECDSA() throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
- Throws:
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
-
-
Method Detail
-
reset
protected void reset()
- Overrides:
reset
in classAbstractSHAwithECDSA
-
getData
protected byte[] getData()
- Specified by:
getData
in classAbstractSHAwithECDSA
-
engineUpdate
protected void engineUpdate(byte b) throws java.security.SignatureException
- Overrides:
engineUpdate
in classAbstractSHAwithECDSA
- Throws:
java.security.SignatureException
-
internalUpdate
protected void internalUpdate(byte b) throws java.security.SignatureException
- Overrides:
internalUpdate
in classAbstractSHAwithECDSA
- Throws:
java.security.SignatureException
-
internalUpdate
protected void internalUpdate(byte[] buffer, int offset, int length) throws java.security.SignatureException
- Overrides:
internalUpdate
in classAbstractSHAwithECDSA
- Throws:
java.security.SignatureException
-
internalVerify
protected boolean internalVerify(byte[] sigBytes) throws java.security.SignatureException
- Overrides:
internalVerify
in classAbstractSHAwithECDSA
- Throws:
java.security.SignatureException
-
finalize
protected void finalize()
This function resets the class variables.- Overrides:
finalize
in classjava.lang.Object
-
-