equal
deleted
inserted
replaced
12 # Contributors: |
12 # Contributors: |
13 # |
13 # |
14 # Description: |
14 # Description: |
15 # |
15 # |
16 #!/bin/perl -w |
16 #!/bin/perl -w |
17 |
|
18 # Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
19 # All rights reserved. |
|
20 # This component and the accompanying materials are made available |
|
21 # under the terms of the License "Symbian Foundation License v1.0" |
|
22 # which accompanies this distribution, and is available |
|
23 # at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
24 # |
|
25 # Initial Contributors: |
|
26 # Nokia Corporation - initial contribution. |
|
27 # |
|
28 # Contributors: |
|
29 # |
|
30 # Description: |
|
31 # This script converts certificate constraint extensions specified in an INI |
|
32 # format into a hex representation of the DER encoding that OpenSSL can |
|
33 # add to a certificate. |
|
34 # This script allows corrupt certificate extensions to be generated for unit |
|
35 # testing and therefore using this script to create production certificates is |
|
36 # NOT supported. |
|
37 # See SGL.GT0220.255_Developer_Certificates.doc for usage instructions. |
|
38 # |
|
39 # |
|
40 |
17 |
41 use strict; |
18 use strict; |
42 use Getopt::Long; |
19 use Getopt::Long; |
43 |
20 |
44 my $OID_DEVICE_ID_LIST="1.2.826.0.1.1796587.1.1.1.1"; |
21 my $OID_DEVICE_ID_LIST="1.2.826.0.1.1796587.1.1.1.1"; |