public class CMAC extends Object implements Mac
| Constructor and Description |
|---|
CMAC() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFinal(byte[] buf,
int offset) |
String |
getAlgorithm() |
int |
getBlockSize() |
int |
getDefaultBlockSize() |
void |
init(byte[] key) |
void |
update(byte[] buf,
int start,
int len) |
void |
updateUInt(long foo) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEncryptThenMacpublic void init(byte[] key)
throws Exception
public void updateUInt(long foo)
updateUInt in interface Macpublic void doFinal(byte[] buf,
int offset)
throws Exception
public int getBlockSize()
getBlockSize in interface MacInformationpublic int getDefaultBlockSize()
getDefaultBlockSize in interface MacInformationpublic String getAlgorithm()
getAlgorithm in interface AlgorithmNameProviderCopyright © 2008–2025 The Apache Software Foundation. All rights reserved.