May 2001
Intermediate to advanced
618 pages
20h 50m
English
Class javax.crypto.MacSpi
This is the service provider interface for developers who want to provide their own MAC algorithms. Because it is a JCE engine, instances of this class must be deployed in a specially-signed jar file.
public abstract class javax.crypto.MacSpi
extends java.lang.Object {
// Constructors
public MacSpi( );
// Instance Methods
public Object clone( );
// Protected Instance Methods
protected abstract byte[] engineDoFinal( );
protected abstract int engineGetMacLength( );
protected abstract void engineInit(Key, AlgorithmParameterSpec);
protected abstract void engineReset( );
protected abstract void engineUpdate(byte[], int, int);
protected abstract void engineUpdate(byte);
}Read now
Unlock full access