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.
-
Interface Summary Interface Description CertificateChainValidator Checks the trust in the first element of a certificate chain. -
Class Summary Class Description AppVerifierErrorMessages Defines the error message identifiers reported by the application verifier and builds their messages.DefaultCertificateChainValidator 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.SignedApplicationBinaryInputStream The installable Application binary exposed bySignedApplicationVerifier.verify(InputStream).SignedApplicationVerifier 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. -
Exception Summary Exception Description InvalidApplicationFormatException Thrown when a signed Application is malformed or uses an unsupported format (version, signature algorithm or length).InvalidSignatureException Thrown when the signature of a signed Application is invalid or cannot be verified.