public class BaseMac extends Object implements Mac
Mac
implementations based on the JCE provider.Constructor and Description |
---|
BaseMac(String algorithm,
int bsize,
int defbsize) |
Modifier and Type | Method and Description |
---|---|
void |
doFinal(byte[] buf,
int offset) |
int |
getBlockSize() |
void |
init(byte[] key) |
void |
update(byte[] foo,
int s,
int l) |
void |
updateUInt(long i) |
public BaseMac(String algorithm, int bsize, int defbsize)
public int getBlockSize()
getBlockSize
in interface Mac
public void init(byte[] key) throws Exception
public void updateUInt(long i)
updateUInt
in interface Mac
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.