gnu.crypto.jce.mac
Class OMacImpl
java.lang.Object
javax.crypto.MacSpi
gnu.crypto.jce.mac.MacAdapter
gnu.crypto.jce.mac.OMacImpl
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- OMacImpl.Anubis, OMacImpl.Blowfish, OMacImpl.Cast5, OMacImpl.DES, OMacImpl.Khazad, OMacImpl.Rijndael, OMacImpl.Serpent, OMacImpl.Square, OMacImpl.TripleDES, OMacImpl.Twofish
- public abstract class OMacImpl
- extends MacAdapter
mac
protected IMac mac
- Our MAC instance.
attributes
protected Map attributes
- Our MAC attributes.
OMacImpl
protected OMacImpl(String name)
clone
public Object clone()
throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
engineDoFinal
protected byte[] engineDoFinal()
engineGetMacLength
protected int engineGetMacLength()
engineInit
protected void engineInit(Key key,
AlgorithmParameterSpec params)
throws InvalidKeyException,
InvalidAlgorithmParameterException
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
engineReset
protected void engineReset()
engineUpdate
protected void engineUpdate(byte b)
engineUpdate
protected void engineUpdate(byte[] in,
int off,
int len)
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.