Class ChunkedAesCmacImpl
- java.lang.Object
-
- com.google.crypto.tink.mac.internal.ChunkedAesCmacImpl
-
- All Implemented Interfaces:
ChunkedMac
@Immutable public final class ChunkedAesCmacImpl extends java.lang.Object implements ChunkedMac
AES-CMAC implementation of the ChunkedMac interface.
-
-
Constructor Summary
Constructors Constructor Description ChunkedAesCmacImpl(AesCmacKey key)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChunkedMaccreate(AesCmacKey key)Creates aChunkedMacimplementation for AES-CMAC.ChunkedMacComputationcreateComputation()Creates an instance of a single Chunked MAC computation.ChunkedMacVerificationcreateVerification(byte[] tag)Creates an instance of a single Chunked MAC verification.
-
-
-
Constructor Detail
-
ChunkedAesCmacImpl
public ChunkedAesCmacImpl(AesCmacKey key)
-
-
Method Detail
-
createComputation
public ChunkedMacComputation createComputation() throws java.security.GeneralSecurityException
Description copied from interface:ChunkedMacCreates an instance of a single Chunked MAC computation.- Specified by:
createComputationin interfaceChunkedMac- Throws:
java.security.GeneralSecurityException
-
createVerification
public ChunkedMacVerification createVerification(byte[] tag) throws java.security.GeneralSecurityException
Description copied from interface:ChunkedMacCreates an instance of a single Chunked MAC verification.- Specified by:
createVerificationin interfaceChunkedMac- Throws:
java.security.GeneralSecurityException
-
create
public static ChunkedMac create(AesCmacKey key) throws java.security.GeneralSecurityException
Creates aChunkedMacimplementation for AES-CMAC.- Throws:
java.security.GeneralSecurityException
-
-