Move the Security package to EPL, and add the implementations of the cryptographic algorithms
@rem@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).@rem All rights reserved.@rem This component and the accompanying materials are made available@rem under the terms of the License "Eclipse Public License v1.0"@rem which accompanies this distribution, and is available@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".@rem@rem Initial Contributors:@rem Nokia Corporation - initial contribution.@rem@rem Contributors:@rem@rem Description: @remrem Create a backup of the original JavaHelper.rscrem We can't backup to the C drive because this is backed up and restored separately in a conflicting manner.if not exist \epoc32\release\winscw\udeb\z\Resource\JavaHelper\JavaHelper.rsc.original copy \epoc32\release\winscw\udeb\z\Resource\JavaHelper\JavaHelper.rsc \epoc32\release\winscw\udeb\z\Resource\JavaHelper\JavaHelper.rsc.originalif not exist \epoc32\release\winscw\urel\z\Resource\JavaHelper\JavaHelper.rsc.original copy \epoc32\release\winscw\urel\z\Resource\JavaHelper\JavaHelper.rsc \epoc32\release\winscw\urel\z\Resource\JavaHelper\JavaHelper.rsc.originalif not exist \epoc32\release\wins\udeb\z\system\data\JavaHelper.rsc copy \epoc32\release\wins\udeb\z\system\data\JavaHelper.rsc \epoc32\release\wins\udeb\z\system\data\JavaHelper.rsc.originalif not exist \epoc32\release\wins\urel\z\system\data\JavaHelper.rsc copy \epoc32\release\wins\urel\z\system\data\JavaHelper.rsc \epoc32\release\wins\urel\z\system\data\JavaHelper.rsc.originalif not exist \epoc32\release\winscw\udeb\z\system\data\JavaHelper.rsc copy \epoc32\release\winscw\udeb\z\system\data\JavaHelper.rsc \epoc32\release\winscw\udeb\z\system\data\JavaHelper.rsc.originalif not exist \epoc32\release\winscw\urel\z\system\data\JavaHelper.rsc copy \epoc32\release\winscw\urel\z\system\data\JavaHelper.rsc \epoc32\release\winscw\urel\z\system\data\JavaHelper.rsc.originalrem If a parameter is specified then use this as the name of the alternate resource fileif x==%1x goto restoreoriginalrem OS v9 onwardscopy \epoc32\winscw\c\itharnessmidp\resources\%1.rsc \epoc32\release\winscw\udeb\z\Resource\JavaHelper\JavaHelper.rsccopy \epoc32\winscw\c\itharnessmidp\resources\%1.rsc \epoc32\release\winscw\urel\z\Resource\JavaHelper\JavaHelper.rscrem Pre OS v9copy \epoc32\wins\c\itharnessmidp\resources\%1.rsc \epoc32\release\wins\udeb\z\system\data\JavaHelper.rsccopy \epoc32\wins\c\itharnessmidp\resources\%1.rsc \epoc32\release\wins\urel\z\system\data\JavaHelper.rsccopy \epoc32\winscw\c\itharnessmidp\resources\%1.rsc \epoc32\release\winscw\udeb\z\system\data\JavaHelper.rsccopy \epoc32\winscw\c\itharnessmidp\resources\%1.rsc \epoc32\release\winscw\urel\z\system\data\JavaHelper.rscgoto exitrem No arguments so restore the original resource file:restoreoriginalrem OS v9 onwardscopy \epoc32\release\winscw\udeb\z\Resource\JavaHelper\JavaHelper.rsc.original \epoc32\release\winscw\udeb\z\Resource\JavaHelper\JavaHelper.rsccopy \epoc32\release\winscw\urel\z\Resource\JavaHelper\JavaHelper.rsc.original \epoc32\release\winscw\urel\z\Resource\JavaHelper\JavaHelper.rscrem Pre OS v9copy \epoc32\release\wins\udeb\z\system\data\JavaHelper.rsc.original \epoc32\release\wins\udeb\z\system\data\JavaHelper.rsccopy \epoc32\release\wins\urel\z\system\data\JavaHelper.rsc.original \epoc32\release\wins\urel\z\system\data\JavaHelper.rsccopy \epoc32\release\winscw\udeb\z\system\data\JavaHelper.rsc.original \epoc32\release\winscw\udeb\z\system\data\JavaHelper.rsccopy \epoc32\release\winscw\urel\z\system\data\JavaHelper.rsc.original \epoc32\release\winscw\urel\z\system\data\JavaHelper.rscgoto exit:exit