Package com.microej.util.appverifier
Class InvalidSignatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
com.microej.util.appverifier.InvalidSignatureException
- All Implemented Interfaces:
Serializable
Thrown when the signature of a signed Application is invalid or cannot be verified.
This is a checked exception (it extends GeneralSecurityException): the signature outcome is reported through
SignedApplicationBinaryInputStream.isVerified() once the verified content has been fully consumed.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instance of this class.InvalidSignatureException(String message) Constructs an instance of this class with the specified detail message.InvalidSignatureException(String message, Throwable cause) Constructs an instance of this class with both a message and a cause.Constructs an instance of this class with a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSignatureException
public InvalidSignatureException()Constructs an instance of this class. -
InvalidSignatureException
Constructs an instance of this class with a cause.- Parameters:
cause- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)- See Also:
-
InvalidSignatureException
Constructs an instance of this class with the specified detail message.- Parameters:
message- the detail message.- See Also:
-
InvalidSignatureException
Constructs an instance of this class with both a message and a cause.- Parameters:
message- the detail message.cause- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)- See Also:
-