Java javax.crypto Mac fields, constructors, methods, implement or subclass

Example usage for Java javax.crypto Mac fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.crypto Mac.

The text is from its open source code.

Method

byte[]doFinal()
Finishes the MAC operation.
byte[]doFinal(byte[] input)
Processes the given array of bytes and finishes the MAC operation.
voiddoFinal(byte[] output, int outOffset)
Finishes the MAC operation.
StringgetAlgorithm()
Returns the algorithm name of this Mac object.
MacgetInstance(String algorithm)
Returns a Mac object that implements the specified MAC algorithm.
MacgetInstance(String algorithm, String provider)
Returns a Mac object that implements the specified MAC algorithm.
MacgetInstance(String algorithm, Provider provider)
Returns a Mac object that implements the specified MAC algorithm.
intgetMacLength()
Returns the length of the MAC in bytes.
voidinit(Key key)
Initializes this Mac object with the given key.
voidreset()
Resets this Mac object.
voidupdate(byte input)
Processes the given byte.
voidupdate(byte[] input)
Processes the given array of bytes.
voidupdate(ByteBuffer input)
Processes input.remaining() bytes in the ByteBuffer input , starting at input.position() .
voidupdate(byte[] input, int offset, int len)
Processes the first len bytes in input , starting at offset inclusive.