public class MACGenerator extends Object implements IGenerator
Constructor and Description |
---|
MACGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generateLogField(String data,
Object[] params)
Computes the MAC of the given data and converts it to string and
returns it back.
|
public String generateLogField(String data, Object[] params) throws Exception
generateLogField
in interface IGenerator
data
- is the data on which the MAC is to be calculated.params
- is an array of required objects for computing the MACException
- if it fails to generate mac value for log entryCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.