gnu.crypto.jce.mac
Class HMacMD2Spi
java.lang.Object
javax.crypto.MacSpi
gnu.crypto.jce.mac.MacAdapter
gnu.crypto.jce.mac.HMacMD2Spi
- public final class HMacMD2Spi
- extends MacAdapter
The implementation of the HMAC-MD2 Service Provider Interface
(SPI) adapter.
- Version:
- $Revision: 1.2 $
Field Summary |
protected java.util.Map |
attributes
Our MAC attributes. |
protected IMac |
mac
Our MAC instance. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mac
protected IMac mac
- Our MAC instance.
attributes
protected java.util.Map attributes
- Our MAC attributes.
HMacMD2Spi
public HMacMD2Spi()
clone
public java.lang.Object clone()
engineDoFinal
protected byte[] engineDoFinal()
engineGetMacLength
protected int engineGetMacLength()
engineInit
protected void engineInit(java.security.Key key,
java.security.spec.AlgorithmParameterSpec params)
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException
- Throws:
java.security.InvalidKeyException
java.security.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.