Name
Class javax.crypto.MacSpi
Synopsis
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.
Class Definition
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); }
Get Java Security, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.