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
public class InvalidSignatureException extends GeneralSecurityException
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 throughSignedApplicationBinaryInputStream.isVerified()once the verified content has been fully consumed.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidSignatureException()Constructs 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.InvalidSignatureException(Throwable 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, toString
-
-
-
-
Constructor Detail
-
InvalidSignatureException
public InvalidSignatureException()
Constructs an instance of this class.
-
InvalidSignatureException
public InvalidSignatureException(Throwable cause)
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:
Exception(Throwable)
-
InvalidSignatureException
public InvalidSignatureException(String message)
Constructs an instance of this class with the specified detail message.- Parameters:
message- the detail message.- See Also:
Exception(String)
-
InvalidSignatureException
public InvalidSignatureException(String message, Throwable cause)
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:
Exception(String, Throwable)
-
-