Package com.google.crypto.tink.mac
Interface ChunkedMac
-
- All Known Implementing Classes:
ChunkedAesCmacConscrypt,ChunkedAesCmacImpl,ChunkedHmacImpl
@Immutable public interface ChunkedMacAn interface representing Streaming MAC. This interface should only be used for authentication. It should NOT be used for other purposes; for instance, it is not guaranteed that this interface produces pseudorandom bytes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChunkedMacComputationcreateComputation()Creates an instance of a single Chunked MAC computation.ChunkedMacVerificationcreateVerification(byte[] tag)Creates an instance of a single Chunked MAC verification.
-
-
-
Method Detail
-
createComputation
ChunkedMacComputation createComputation() throws java.security.GeneralSecurityException
Creates an instance of a single Chunked MAC computation.- Throws:
java.security.GeneralSecurityException
-
createVerification
ChunkedMacVerification createVerification(byte[] tag) throws java.security.GeneralSecurityException
Creates an instance of a single Chunked MAC verification.- Throws:
java.security.GeneralSecurityException
-
-