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

All Implemented Interfaces:
    Cloneable

This is an implementation of the HMAC-PBESHA1 algorithm as defined in PKCS#12 v1.0 standard.
Constructor:
 public HmacPKCS12PBESHA1() throws NoSuchAlgorithmException 
    Standard constructor, creates a new HmacSHA1 instance.
Method from com.sun.crypto.provider.HmacPKCS12PBESHA1 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.HmacPKCS12PBESHA1 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.