Package: java.sql.* |
Product: JDK |
Release: 1.1.x |
Related Links: |
General
General
General
General
CallableStatement
|
Comment: |
Then the question is: How to sign the package? First you have to create a signer user before you can sign your jar-package. If we consider this we will have to follow the following steps. if you already have a signer skip the first part, check this by using javakey -ld.Signing is done in the following steps:
The certificate directive is used to create a user that creates certificates. Later this certificate will be used to sign to the applet by the signer.
# # This is a sample certificate directive file. # # the id of the signer issuer.name=kaana # the cert to use for the signing (this is where it gets it DN) issuer.cert=1 # the id of the subject subject.name=kaana # the components of the X500 name for the subject subject.real.name=Andre Kaan subject.org.unit=HIB subject.org=Gemeentelijk Havenbedrijf Rotterdam subject.country=NL # Various parameters: start and end date for validity and expiration # of the certificate. Serial number. FIle to which to output the # certificate (optional). start.date=10 Dec 1996 end.date=1 Sept 1998 life span of the certificate serial.number=1001 must be unique number for every package out.file=duke.x509
# # Jar signing directive. This is the directive file used by javakey to # sign a jar file. # # Which signer to use. This must be in the system's database. signer=kaana # Cert number to use for this signer. This determines which # certificate will be included in the PKCS7 block. This is mandatory # and is 1 based. cert=1 # Cert chain depth of a chain of certificate to include. This is # currently not supported. chain=0 # The name to give to the signature file and associated signature # block. (i.e. DUKESIGN.SF and DUKESIGN.DSA). This must be 8 # characters or less. signature.file=jdbcSig |