Build 1.0_r1(from source)

javax.crypto
Class MacSpi

java.lang.Object
  extended by javax.crypto.MacSpi
Direct Known Subclasses:
HmacSpi

public abstract class MacSpi
extends Object


Constructor Summary
MacSpi()
           
 
Method Summary
 Object clone()
          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.
protected abstract  byte[] engineDoFinal()
           
protected abstract  int engineGetMacLength()
           
protected abstract  void engineInit(Key key, AlgorithmParameterSpec params)
           
protected abstract  void engineReset()
           
protected abstract  void engineUpdate(byte input)
           
protected abstract  void engineUpdate(byte[] input, int offset, int len)
           
protected  void engineUpdate(ByteBuffer input)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacSpi

public MacSpi()
Method Detail

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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature