|
|||||||||
Home >> All >> cryptix >> jce >> provider >> [ mac overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
cryptix.jce.provider.mac
Class HMAC_RIPEMD160

java.lang.Objectjavax.crypto.MacSpi
cryptix.jce.provider.mac.HMAC
cryptix.jce.provider.mac.HMAC_RIPEMD160
- public final class HMAC_RIPEMD160
- extends HMAC
HMAC-RIPEMD160
- Version:
- $Revision: 1.6 $
Field Summary | |
private static int |
BLOCK_SIZE
|
private static int |
DIGEST_LEN
|
Constructor Summary | |
HMAC_RIPEMD160()
|
Method Summary | |
java.lang.Object |
clone()
Clone this HMAC object. |
protected byte[] |
engineDoFinal()
Finalize the computation of this MAC and return the result as a byte array. |
protected int |
engineGetMacLength()
Return the length of this Mac which equals the length of the underlying MessageDigest. |
protected void |
engineInit(java.security.Key key,
java.security.spec.AlgorithmParameterSpec params)
Initialize (or re-initialize) this instance. |
protected void |
engineReset()
Reset this instance. |
protected void |
engineUpdate(byte input)
Update this MAC with a single byte. |
protected void |
engineUpdate(byte[] input,
int offset,
int len)
Update this MAC with a portion of a byte array. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
BLOCK_SIZE
private static final int BLOCK_SIZE
- See Also:
- Constant Field Values
DIGEST_LEN
private static final int DIGEST_LEN
- See Also:
- Constant Field Values
Constructor Detail |
HMAC_RIPEMD160
public HMAC_RIPEMD160()
Method Detail |
engineGetMacLength
protected final int engineGetMacLength()
- Return the length of this Mac which equals the length of the underlying
MessageDigest.
engineInit
protected final void engineInit(java.security.Key key, java.security.spec.AlgorithmParameterSpec params) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
- Description copied from class:
javax.crypto.MacSpi
- Initialize (or re-initialize) this instance.
engineUpdate
protected final void engineUpdate(byte input)
- Description copied from class:
javax.crypto.MacSpi
- Update this MAC with a single byte.
engineUpdate
protected final void engineUpdate(byte[] input, int offset, int len)
- Description copied from class:
javax.crypto.MacSpi
- Update this MAC with a portion of a byte array.
engineDoFinal
protected final byte[] engineDoFinal()
- Description copied from class:
javax.crypto.MacSpi
- Finalize the computation of this MAC and return the result as a
byte array.
engineReset
protected final void engineReset()
- Description copied from class:
javax.crypto.MacSpi
- Reset this instance. After this method succeeds, the state of this
instance should be the same as it was before any data was input
(possibly after a call to
#init(java.security.Key,java.security.spec.AlgorithmParameterSpec)
, possibly not).
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Clone this HMAC object. We support cloning if the underlying
MessageDigest does support cloning.
|
|||||||||
Home >> All >> cryptix >> jce >> provider >> [ mac overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |