public class InvalidMacException extends GeneralSecurityException
| Constructor and Description |
|---|
InvalidMacException()
Create generic invalid MAC exception without actual MAC values.
|
InvalidMacException(byte[] expected,
byte[] actual)
Sets the expected and actual MAC values.
|
InvalidMacException(String msg)
Create invalid MAC exception without actual MAC values.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getActual() |
byte[] |
getExpected() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidMacException()
public InvalidMacException(String msg)
msg - messagepublic InvalidMacException(byte[] expected,
byte[] actual)
expected - the expected MAC valueactual - the actual MAC valueCopyright © 2023 Eclipse Foundation. All rights reserved.