installationservices/swi/test/trevocation/signFiles.bat
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
     1 @rem
     1 @rem
     2 @rem Copyright (c) 2009 - 2010 Nokia Corporation and/or its subsidiary(-ies).
     2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 @rem All rights reserved.
     3 @rem All rights reserved.
     4 @rem This component and the accompanying materials are made available
     4 @rem This component and the accompanying materials are made available
     5 @rem under the terms of the License "Eclipse Public License v1.0"
     5 @rem under the terms of the License "Eclipse Public License v1.0"
     6 @rem which accompanies this distribution, and is available
     6 @rem which accompanies this distribution, and is available
     7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
    27 signsis sisInteg\%PLATFORM%\ocsp_04.sis sisInteg\%PLATFORM%\ocsp_04.tmp %CERT_PATH%\ocsp\responder2\certTrev2.cert.pem %CERT_PATH%\ocsp\responder2\certTrev2.key.pem
    27 signsis sisInteg\%PLATFORM%\ocsp_04.sis sisInteg\%PLATFORM%\ocsp_04.tmp %CERT_PATH%\ocsp\responder2\certTrev2.cert.pem %CERT_PATH%\ocsp\responder2\certTrev2.key.pem
    28 
    28 
    29 REM Sign with certificate A 
    29 REM Sign with certificate A 
    30 signsis sisInteg\%PLATFORM%\ocsprevocation.sis      sisInteg\%PLATFORM%\ocsprevocation.tmp %CERT_PATH%\ocsp\responder1\certTrev2.cert.pem %CERT_PATH%\ocsp\responder1\certTrev2.key.pem
    30 signsis sisInteg\%PLATFORM%\ocsprevocation.sis      sisInteg\%PLATFORM%\ocsprevocation.tmp %CERT_PATH%\ocsp\responder1\certTrev2.cert.pem %CERT_PATH%\ocsp\responder1\certTrev2.key.pem
    31 
    31 
    32 REM Sign with Express / Certified and VeriSign certs  
       
    33 signsis sisInteg\%PLATFORM%\certifiedsignedval.sis			sisInteg\%PLATFORM%\certifiedsignedval.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsCertifiedSignValidCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsCertifiedSignValidPvtKey.key
       
    34 signsis sisInteg\%PLATFORM%\certifiedsignedVeriSignval.sis 		sisInteg\%PLATFORM%\certifiedsignedVeriSignval.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsCertifiedVeriSignValidCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsCertifiedVeriSignValidPvtKey.key
       
    35 signsis sisInteg\%PLATFORM%\expresssignedval.sis			sisInteg\%PLATFORM%\expresssignedval.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsExpressValidCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsExpressValidPvtKey.key
       
    36 signsis sisInteg\%PLATFORM%\allsignedval.sis				sisInteg\%PLATFORM%\allsignedval.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsAllSignValidCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsAllSignValidPvtKey.key
       
    37 signsis sisInteg\%PLATFORM%\selfsignedval.sis				sisInteg\%PLATFORM%\selfsignedval.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsSelfSignValidCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\AppInsSelfSignValidPvtKey.key
       
    38 signsis sisInteg\%PLATFORM%\certifiedsignedrev.sis			sisInteg\%PLATFORM%\certifiedsignedrev.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsCertifiedRevokedCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsCertifiedRevokedPvtKey.key
       
    39 signsis sisInteg\%PLATFORM%\certifiedsignedVeriSignrev.sis 		sisInteg\%PLATFORM%\certifiedsignedVeriSignrev.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsCertifiedVeriSignRevokedCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsCertifiedVeriSignRevokedPvtKey.key
       
    40 signsis sisInteg\%PLATFORM%\expresssignedrev.sis			sisInteg\%PLATFORM%\expresssignedrev.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsExpressRevokedCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsExpressRevokedPvtKey.key
       
    41 signsis sisInteg\%PLATFORM%\allsignedrev.sis				sisInteg\%PLATFORM%\allsignedrev.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsAllSignRevokedCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsAllSignRevokedPvtKey.key
       
    42 signsis sisInteg\%PLATFORM%\selfsignedrev.sis				sisInteg\%PLATFORM%\selfsignedrev.tmp %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsSelfSignRevokedCert.pem %CERT_PATH%\ocsp\expressandcertifiedsignedCert\Revoked\AppInsSelfSignRevokedPvtKey.key
       
    43 
    32 
    44 REM overwrite the original sis files
    33 REM overwrite the original sis files
    45 cd sisInteg\%PLATFORM%
    34 cd sisInteg\%PLATFORM%
    46 move ocsp_01.tmp ocsp_01.sis
    35 move ocsp_01.tmp ocsp_01.sis
    47 move ocsp_02.tmp ocsp_02.sis
    36 move ocsp_02.tmp ocsp_02.sis
    48 move ocsp_03.tmp ocsp_03.sis
    37 move ocsp_03.tmp ocsp_03.sis
    49 move ocsp_04.tmp ocsp_04.sis
    38 move ocsp_04.tmp ocsp_04.sis
    50 move ocsprevocation.tmp		 ocsprevocation.sis
    39 move ocsprevocation.tmp		 ocsprevocation.sis
    51 move certifiedsignedval.tmp	 certifiedsignedval.sis
       
    52 move certifiedsignedVeriSignval.tmp certifiedsignedVeriSignval.sis
       
    53 move expresssignedval.tmp		 expresssignedval.sis
       
    54 move allsignedval.tmp		 allsignedval.sis
       
    55 move selfsignedval.tmp		 selfsignedval.sis
       
    56 move certifiedsignedrev.tmp	 certifiedsignedrev.sis
       
    57 move certifiedsignedVeriSignrev.tmp certifiedsignedVeriSignrev.sis
       
    58 move expresssignedrev.tmp		 expresssignedrev.sis
       
    59 move allsignedrev.tmp		 allsignedrev.sis
       
    60 move selfsignedrev.tmp		 selfsignedrev.sis
       
    61 
    40 
    62 REM Return to current directory
    41 REM Return to current directory
    63 cd ..\..
    42 cd ..\..