Package com.microej.util.appverifier
@NonNullByDefault
package com.microej.util.appverifier
Provides the API and the implementation used to verify signed Application binaries.
A signed Application binary carries the Application together with its signature metadata (version, signature
algorithm, X.509 certificate chain and digital signature).
SignedApplicationVerifier validates the certificate chain and the
signature, then exposes the installable Application binary.
-
ClassDescriptionDefines the error message identifiers reported by the application verifier and builds their messages.Checks the trust in the first element of a certificate chain.This implementation validates the first certificate of a chain when this certificate has been signed by a known and trusted certificate, named a trusted CA.Thrown when a signed Application is malformed or uses an unsupported format (version, signature algorithm or length).Thrown when the signature of a signed Application is invalid or cannot be verified.The installable Application binary exposed by
verify(InputStream).Verifies signed Application binaries: it validates the certificate path and verifies the signature of a DER-encoded signed Application, then exposes the installable Application binary.