Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
public final class: HmacMD5 [javadoc | source]
java.lang.Object
   javax.crypto.MacSpi
      com.sun.crypto.provider.HmacMD5

All Implemented Interfaces:
    Cloneable

This is an implementation of the HMAC-MD5 algorithm.
Constructor:
 public HmacMD5() throws NoSuchAlgorithmException 
    Standard constructor, creates a new HmacMD5 instance.
Method from com.sun.crypto.provider.HmacMD5 Summary:
clone,   engineDoFinal,   engineGetMacLength,   engineInit,   engineReset,   engineUpdate,   engineUpdate,   engineUpdate
Methods from javax.crypto.MacSpi:
clone,   engineDoFinal,   engineGetMacLength,   engineInit,   engineReset,   engineUpdate,   engineUpdate,   engineUpdate
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.HmacMD5 Detail:
 public Object clone() 
 protected byte[] engineDoFinal() 
    Completes the HMAC computation and resets the HMAC for further use, maintaining the secret key that the HMAC was initialized with.
 protected int engineGetMacLength() 
    Returns the length of the HMAC in bytes.
 protected  void engineInit(Key key,
    AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException 
    Initializes the HMAC with the given secret key and algorithm parameters.
 protected  void engineReset() 
    Resets the HMAC for further use, maintaining the secret key that the HMAC was initialized with.
 protected  void engineUpdate(byte input) 
    Processes the given byte.
 protected  void engineUpdate(ByteBuffer input) 
 protected  void engineUpdate(byte[] input,
    int offset,
    int len) 
    Processes the first len bytes in input, starting at offset.