MacSpi


MacSpi javax.crypto

Java 1.4

This abstract class defines the service-provider interface for Mac . A cryptographic provider must implement a concrete subclass of this class for each MAC algorithm it supports. Applications never need to use or subclass this class.

 public abstract class  MacSpi  {  // Public Constructors  public  MacSpi  ( );  // Public Methods Overriding Object  public Object  clone  ( ) throws CloneNotSupportedException;  // Protected Instance Methods  protected abstract byte[ ]  engineDoFinal  ( );        protected abstract int  engineGetMacLength  ( );        protected abstract void  engineInit  (java.security.Key  key  , java.security.spec.         AlgorithmParameterSpec  params  ) throws java.security.InvalidKeyException,          java.security.InvalidAlgorithmParameterException;        protected abstract void  engineReset  ( );  5.0  protected void  engineUpdate  (java.nio.ByteBuffer  input  );        protected abstract void  engineUpdate  (byte  input  );        protected abstract void  engineUpdate  (byte[ ]  input  , int  offset  , int  len  );   } 

Passed To

Mac.Mac( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net