Verifying The Signer Certificate; Verifying The Midlet Suite Jar - Motorola E680 - Smartphone - GSM Developer's Manual

Micro edition (j2me) applications
Hide thumbs Also See for E680 - Smartphone - GSM:
Table of Contents

Advertisement

Verifying the Signer Certificate

The signer certificate will be found in the application descriptor of the MIDlet suite. The
process for verifying a Signer Certificate is outlined in the steps below:
1. Get the certification path for the signer certificate from the JAD attributes MIDlet-
2. Validate the certification path using the basic validation process as described in
3. Bind the MIDlet suite to the corresponding protection domain that contains the
4. Begin installation of MIDlet suite.
5. If attribute MIDlet-Certificate-<n>-<m> with <n> being greater than 1 are present
The following table describes actions performed upon completion of signer certificate
verification:
Result
Attempted to validate <n> paths. No public keys of the
issuer for the certificate can be found, or none of the
certificate paths can be validated.
More than one full certification path is established and
validated.
Only one certification path established and validated.

Verifying the MIDlet Suite JAR

The following are the steps taken to verify the MIDlet suite JAR:
1. Get the public key from the verified signer certificate.
2. Get the MIDlet-JAR-RSA-SHA1 attribute from the JAD.
3. Decode the attribute value from base64 yielding a PKCS #1 signature, and refer
98
Certificate-1<m>, where <m> starts a 1 and is incremented by 1 until there is no
attribute with this name. The value of each attribute is abase64 encoded
certificate that will need to be decoded and parsed.
RFC2459 using the protection domains as the source of the protection domain
root certificates.
protection domain root certificate that validated the first chain from signer to root.
and full certification path could not be established after verifying MIDlet-
Certificate-<1>-<m> certificates, then repeat step 1 through 3 for the value <n>
greater by 1 than the previous value.
to RFC 2437 for more detail.
Action
Authentication fails, JAR installation is not
allowed.
Implementation proceeds with the signature
verification using the first successfully verified
certificate path for authentication and
authorization.
Implementation proceeds with the signature
verification.

Advertisement

Table of Contents
loading

Table of Contents