|
NOTA: La traducción de esta documentación es un esfuerzo personal y voluntario, no es un documento oficial de Sun Microsystems
ni Oracle ni está patrocinado por ninguna de estas empresas. Los documentos originales (en inglés) están disponibles en:
http://java.sun.com/docs/books/tutorial/.
Dirija cualquier comentario, petición, felicitación, etc. a tutorialesjava_@RROBA_codexion.com. |
Si desea ayudar a mantener en funcionamiento esta web, colaborar con la traducción de estos documentos o necesita que se traduzca algĂșn capĂtulo en concreto puede realizar una donación directa mediante Paypal:
|
The code signer takes the following steps:
- Download and Try the Sample Application.
- Create a JAR File Containing the Class File, using the
jartool.
- Generate Keys (if they don't already exist), using the
keytool-genkeycommand.
Optional Step Generate a certificate signing request (CSR) for the public key certificate, and import the response from the certification authority (CA). For simplicity (and since you are only pretending to be Susan Jones), this step is omitted. See Generating a Certificate Signing Request (CSR) for a Public Key Certificate for more information.
- Sign the JAR File, using the
jarsignertool and the private key.
- Export the Public Key Certificate, using the
keytool-exportcommand. Then supply the signed JAR file and the certificate to the receiver Ray.These steps are shown in the following figure.
This figure has been reduced to fit on the page.
Click the image to view it at its natural size.