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) |
String |
getAlgorithm() |
int |
getBlockSize() |
void |
init(byte[] key) |
String |
toString() |
void |
update(byte[] foo,
int s,
int l) |
void |
updateUInt(long i) |
public BaseMac(String algorithm, int bsize, int defbsize)
public final String getAlgorithm()
getAlgorithm in interface Macpublic int getBlockSize()
getBlockSize in interface Macpublic void init(byte[] key)
throws Exception
public void updateUInt(long i)
updateUInt in interface Macpublic void doFinal(byte[] buf,
int offset)
throws Exception
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.