cryptoservices/certificateandkeymgmt/tx509/Data/dnames/make.bat
changeset 0 2c201484c85f
child 8 35751d3474b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tx509/Data/dnames/make.bat	Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,19 @@
+@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: 
+@rem
+rem Generates a set of X.509 certificates where the issuer names are in different cases and in different string encodings utf8, printablestring etc
+
+del *.pem *.cer *.der /q
+for %%i in (*.cnf) do d:\openssl\bin\openssl req -x509 -newkey rsa:1024 -keyout %%~ni_key.pem -passout pass:pass -outform der -out %%~ni.der -set_serial 1 -config .\%%i