public class LogSign extends Object
Modifier and Type | Method and Description |
---|---|
void |
readHeader(String[] recordListHeader)
Reads the header from the log file and interprets its contents.
|
String |
sign()
The actual sign method that creates the signature by taking the last
generated MAC and the last Signature in the log file and then using that
to create the next signature that is to be written to the file.
|
public LogSign(String log)
log
- A string representing the name of the logger.public void readHeader(String[] recordListHeader)
recordListHeader
- A string array that contains the header
entries as strings.public String sign() throws Exception
Exception
- if it fails to sign the mac valueCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.