Example usage for Java javax.crypto Mac fields, constructors, methods, implement or subclass
The text is from its open source code.
byte[] | doFinal() Finishes the MAC operation. |
byte[] | doFinal(byte[] input) Processes the given array of bytes and finishes the MAC operation. |
void | doFinal(byte[] output, int outOffset) Finishes the MAC operation. |
String | getAlgorithm() Returns the algorithm name of this Mac object. |
Mac | getInstance(String algorithm) Returns a Mac object that implements the specified MAC algorithm. |
Mac | getInstance(String algorithm, String provider) Returns a Mac object that implements the specified MAC algorithm. |
Mac | getInstance(String algorithm, Provider provider) Returns a Mac object that implements the specified MAC algorithm. |
int | getMacLength() Returns the length of the MAC in bytes. |
void | init(Key key) Initializes this Mac object with the given key. |
void | reset() Resets this Mac object. |
void | update(byte input) Processes the given byte. |
void | update(byte[] input) Processes the given array of bytes. |
void | update(ByteBuffer input) Processes input.remaining() bytes in the ByteBuffer input , starting at input.position() . |
void | update(byte[] input, int offset, int len) Processes the first len bytes in input , starting at offset inclusive. |