javax.crypto
Class MacSpi
java.lang.Object
javax.crypto.MacSpi
- Direct Known Subclasses:
- HmacSpi
public abstract class MacSpi
- extends Object
MacSpi
public MacSpi()
engineGetMacLength
protected abstract int engineGetMacLength()
engineInit
protected abstract void engineInit(Key key,
AlgorithmParameterSpec params)
throws InvalidKeyException,
InvalidAlgorithmParameterException
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
engineUpdate
protected abstract void engineUpdate(byte input)
engineUpdate
protected abstract void engineUpdate(byte[] input,
int offset,
int len)
engineUpdate
protected void engineUpdate(ByteBuffer input)
engineDoFinal
protected abstract byte[] engineDoFinal()
engineReset
protected abstract void engineReset()
clone
public Object clone()
throws CloneNotSupportedException
- Description copied from class:
Object
- Returns a new instance of the same class as the receiver, whose slots
have been filled in with the values in the slots of the receiver.
Classes which wish to support cloning must specify that they implement
the Cloneable interface, since the implementation checks for this.
- Overrides:
clone in class Object
- Returns:
- Object a shallow copy of this object.
- Throws:
CloneNotSupportedException - if the receiver's class does not
implement the interface Cloneable.
Please submit a feedback, bug or feature