This {@code Mac} instance is reverted to its initial state and can beused to start the next MAC computation with the same parameters or initialized with different parameters. @return the generated digest. @throws IllegalStateException if this MAC is not initialized.
Document
node. The processing depends on the initialization parameters of {@link #init(int,Key) init()}.
@param context the context Document
.
@param source the Document
to be encrypted or decrypted.
@return the processed Document
.
@throws Exception to indicate any exceptional conditions.
doFinal leaves the MAC in the same state it was after the last init. @param out the array the MAC is to be output to. @param outOff the offset into the out buffer the output is to start at. @exception DataLengthException if there isn't enough space in out. @exception IllegalStateException if the MAC is not initialised.
doFinal leaves the MAC in the same state it was after the last init. @param out the array the MAC is to be output to. @param outOff the offset into the out buffer the output is to start at. @exception DataLengthException if there isn't enough space in out. @exception IllegalStateException if the MAC is not initialised.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|