public class SecureLogHelperJCEImpl extends SecureLogHelper
Constructor and Description |
---|
SecureLogHelperJCEImpl() |
Modifier and Type | Method and Description |
---|---|
byte[] |
signMAC(byte[] mac)
Signs the given MAC
|
boolean |
verifySignature(byte[] signedObject,
byte[] mac)
Verifies the given signature
|
bytetohex, equalByteArrays, generateLogEntryMAC, getDigest, getLastMAC, getLastSignatureBytes, getLoggerFileName, getLoggerKeyName, getVerifierFileName, initializeSecureLogHelper, initializeVerifier, isIntrusionTrue, reinitializeVerifier, setLastLineforLogger, setLastLineforVerifier, setLoggerKeyName, toByteArray, toHexString, verifyMAC
public byte[] signMAC(byte[] mac) throws Exception
signMAC
in class SecureLogHelper
mac
- the mac to be signedException
- if it fails to sign the MACpublic boolean verifySignature(byte[] signedObject, byte[] mac) throws Exception
verifySignature
in class SecureLogHelper
signedObject
- the signature to be verifiedmac
- mac entry for the signatureException
- if it fails to verify signature value for mac entryCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.