home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2006 February / maximum-cd-2006-02.iso / Software / Apps / firefox_setup_1.5.exe / browser.xpi / bin / chrome / pippki.jar < prev    next >
PKZip Archive  |  2005-11-11  |  325.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: PKZip Archive (archive/zip).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
66% dexvert JAR Archive (archive/jar) ext Supported
100% file Zip archive data, made by v2.3 UNIX, extract using at least v1.0, last modified, last modified Sun, Dec 09 2004 11:50:20, uncompressed size 2761, method=store default
99% file Zip archive, with extra data prepended default (weak)
98% file data default
100% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% dearkID deark: zip (ZIP) default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 2761, uncompressed size: 2761, name: content/pippki/getpassword.xul default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 4a 5e 89 31 2a 23 |PK......|..J^.1*#|
|00000010| ee 2a c9 0a 00 00 c9 0a | 00 00 1e 00 00 00 63 6f |.*......|......co|
|00000020| 6e 74 65 6e 74 2f 70 69 | 70 70 6b 69 2f 67 65 74 |ntent/pi|ppki/get|
|00000030| 70 61 73 73 77 6f 72 64 | 2e 78 75 6c 3c 3f 78 6d |password|.xul<?xm|
|00000040| 6c 20 76 65 72 73 69 6f | 6e 3d 22 31 2e 30 22 3f |l versio|n="1.0"?|
|00000050| 3e 0d 0a 3c 21 2d 2d 20 | 2a 2a 2a 2a 2a 20 42 45 |>..<!-- |***** BE|
|00000060| 47 49 4e 20 4c 49 43 45 | 4e 53 45 20 42 4c 4f 43 |GIN LICE|NSE BLOC|
|00000070| 4b 20 2a 2a 2a 2a 2a 0d | 0a 20 20 20 2d 20 56 65 |K *****.|. - Ve|
|00000080| 72 73 69 6f 6e 3a 20 4d | 50 4c 20 31 2e 31 2f 47 |rsion: M|PL 1.1/G|
|00000090| 50 4c 20 32 2e 30 2f 4c | 47 50 4c 20 32 2e 31 0d |PL 2.0/L|GPL 2.1.|
|000000a0| 0a 20 20 20 2d 0d 0a 20 | 20 20 2d 20 54 68 65 20 |. -.. | - The |
|000000b0| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 74 68 69 73 |contents| of this|
|000000c0| 20 66 69 6c 65 20 61 72 | 65 20 73 75 62 6a 65 63 | file ar|e subjec|
|000000d0| 74 20 74 6f 20 74 68 65 | 20 4d 6f 7a 69 6c 6c 61 |t to the| Mozilla|
|000000e0| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|000000f0| 56 65 72 73 69 6f 6e 0d | 0a 20 20 20 2d 20 31 2e |Version.|. - 1.|
|00000100| 31 20 28 74 68 65 20 22 | 4c 69 63 65 6e 73 65 22 |1 (the "|License"|
|00000110| 29 3b 20 79 6f 75 20 6d | 61 79 20 6e 6f 74 20 75 |); you m|ay not u|
|00000120| 73 65 20 74 68 69 73 20 | 66 69 6c 65 20 65 78 63 |se this |file exc|
|00000130| 65 70 74 20 69 6e 20 63 | 6f 6d 70 6c 69 61 6e 63 |ept in c|omplianc|
|00000140| 65 20 77 69 74 68 0d 0a | 20 20 20 2d 20 74 68 65 |e with..| - the|
|00000150| 20 4c 69 63 65 6e 73 65 | 2e 20 59 6f 75 20 6d 61 | License|. You ma|
|00000160| 79 20 6f 62 74 61 69 6e | 20 61 20 63 6f 70 79 20 |y obtain| a copy |
|00000170| 6f 66 20 74 68 65 20 4c | 69 63 65 6e 73 65 20 61 |of the L|icense a|
|00000180| 74 0d 0a 20 20 20 2d 20 | 68 74 74 70 3a 2f 2f 77 |t.. - |http://w|
|00000190| 77 77 2e 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 2f 4d |ww.mozil|la.org/M|
|000001a0| 50 4c 2f 0d 0a 20 20 20 | 2d 0d 0a 20 20 20 2d 20 |PL/.. |-.. - |
|000001b0| 53 6f 66 74 77 61 72 65 | 20 64 69 73 74 72 69 62 |Software| distrib|
|000001c0| 75 74 65 64 20 75 6e 64 | 65 72 20 74 68 65 20 4c |uted und|er the L|
|000001d0| 69 63 65 6e 73 65 20 69 | 73 20 64 69 73 74 72 69 |icense i|s distri|
|000001e0| 62 75 74 65 64 20 6f 6e | 20 61 6e 20 22 41 53 20 |buted on| an "AS |
|000001f0| 49 53 22 20 62 61 73 69 | 73 2c 0d 0a 20 20 20 2d |IS" basi|s,.. -|
|00000200| 20 57 49 54 48 4f 55 54 | 20 57 41 52 52 41 4e 54 | WITHOUT| WARRANT|
|00000210| 59 20 4f 46 20 41 4e 59 | 20 4b 49 4e 44 2c 20 65 |Y OF ANY| KIND, e|
|00000220| 69 74 68 65 72 20 65 78 | 70 72 65 73 73 20 6f 72 |ither ex|press or|
|00000230| 20 69 6d 70 6c 69 65 64 | 2e 20 53 65 65 20 74 68 | implied|. See th|
|00000240| 65 20 4c 69 63 65 6e 73 | 65 0d 0a 20 20 20 2d 20 |e Licens|e.. - |
|00000250| 66 6f 72 20 74 68 65 20 | 73 70 65 63 69 66 69 63 |for the |specific|
|00000260| 20 6c 61 6e 67 75 61 67 | 65 20 67 6f 76 65 72 6e | languag|e govern|
|00000270| 69 6e 67 20 72 69 67 68 | 74 73 20 61 6e 64 20 6c |ing righ|ts and l|
|00000280| 69 6d 69 74 61 74 69 6f | 6e 73 20 75 6e 64 65 72 |imitatio|ns under|
|00000290| 20 74 68 65 0d 0a 20 20 | 20 2d 20 4c 69 63 65 6e | the.. | - Licen|
|000002a0| 73 65 2e 0d 0a 20 20 20 | 2d 0d 0a 20 20 20 2d 20 |se... |-.. - |
|000002b0| 54 68 65 20 4f 72 69 67 | 69 6e 61 6c 20 43 6f 64 |The Orig|inal Cod|
|000002c0| 65 20 69 73 20 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |e is moz|illa.org|
|000002d0| 20 63 6f 64 65 2e 0d 0a | 20 20 20 2d 0d 0a 20 20 | code...| -.. |
|000002e0| 20 2d 20 54 68 65 20 49 | 6e 69 74 69 61 6c 20 44 | - The I|nitial D|
|000002f0| 65 76 65 6c 6f 70 65 72 | 20 6f 66 20 74 68 65 20 |eveloper| of the |
|00000300| 4f 72 69 67 69 6e 61 6c | 20 43 6f 64 65 20 69 73 |Original| Code is|
|00000310| 0d 0a 20 20 20 2d 20 4e | 65 74 73 63 61 70 65 20 |.. - N|etscape |
|00000320| 43 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 43 |Communic|ations C|
|00000330| 6f 72 70 2e 0d 0a 20 20 | 20 2d 20 50 6f 72 74 69 |orp... | - Porti|
|00000340| 6f 6e 73 20 63 72 65 61 | 74 65 64 20 62 79 20 74 |ons crea|ted by t|
|00000350| 68 65 20 49 6e 69 74 69 | 61 6c 20 44 65 76 65 6c |he Initi|al Devel|
|00000360| 6f 70 65 72 20 61 72 65 | 20 43 6f 70 79 72 69 67 |oper are| Copyrig|
|00000370| 68 74 20 28 43 29 20 32 | 30 30 31 0d 0a 20 20 20 |ht (C) 2|001.. |
|00000380| 2d 20 74 68 65 20 49 6e | 69 74 69 61 6c 20 44 65 |- the In|itial De|
|00000390| 76 65 6c 6f 70 65 72 2e | 20 41 6c 6c 20 52 69 67 |veloper.| All Rig|
|000003a0| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 0d 0a 20 |hts Rese|rved... |
|000003b0| 20 20 2d 0d 0a 20 20 20 | 2d 20 43 6f 6e 74 72 69 | -.. |- Contri|
|000003c0| 62 75 74 6f 72 28 73 29 | 3a 0d 0a 20 20 20 2d 20 |butor(s)|:.. - |
|000003d0| 20 20 42 6f 62 20 4c 6f | 72 64 20 3c 6c 6f 72 64 | Bob Lo|rd <lord|
|000003e0| 40 6e 65 74 73 63 61 70 | 65 2e 63 6f 6d 3e 0d 0a |@netscap|e.com>..|
|000003f0| 20 20 20 2d 20 20 20 54 | 65 72 72 79 20 48 61 79 | - T|erry Hay|
|00000400| 65 73 20 3c 74 68 61 79 | 65 73 40 6e 65 74 73 63 |es <thay|es@netsc|
|00000410| 61 70 65 2e 63 6f 6d 3e | 0d 0a 20 20 20 2d 20 20 |ape.com>|.. - |
|00000420| 20 49 61 6e 20 4d 63 47 | 72 65 65 72 20 3c 6d 63 | Ian McG|reer <mc|
|00000430| 67 72 65 65 72 40 6e 65 | 74 73 63 61 70 65 2e 63 |greer@ne|tscape.c|
|00000440| 6f 6d 3e 0d 0a 20 20 20 | 2d 0d 0a 20 20 20 2d 20 |om>.. |-.. - |
|00000450| 41 6c 74 65 72 6e 61 74 | 69 76 65 6c 79 2c 20 74 |Alternat|ively, t|
|00000460| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 74 |he conte|nts of t|
|00000470| 68 69 73 20 66 69 6c 65 | 20 6d 61 79 20 62 65 20 |his file| may be |
|00000480| 75 73 65 64 20 75 6e 64 | 65 72 20 74 68 65 20 74 |used und|er the t|
|00000490| 65 72 6d 73 20 6f 66 0d | 0a 20 20 20 2d 20 65 69 |erms of.|. - ei|
|000004a0| 74 68 65 72 20 74 68 65 | 20 47 4e 55 20 47 65 6e |ther the| GNU Gen|
|000004b0| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|000004c0| 6e 73 65 20 56 65 72 73 | 69 6f 6e 20 32 20 6f 72 |nse Vers|ion 2 or|
|000004d0| 20 6c 61 74 65 72 20 28 | 74 68 65 20 22 47 50 4c | later (|the "GPL|
|000004e0| 22 29 2c 20 6f 72 0d 0a | 20 20 20 2d 20 74 68 65 |"), or..| - the|
|000004f0| 20 47 4e 55 20 4c 65 73 | 73 65 72 20 47 65 6e 65 | GNU Les|ser Gene|
|00000500| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00000510| 73 65 20 56 65 72 73 69 | 6f 6e 20 32 2e 31 20 6f |se Versi|on 2.1 o|
|00000520| 72 20 6c 61 74 65 72 20 | 28 74 68 65 20 22 4c 47 |r later |(the "LG|
|00000530| 50 4c 22 29 2c 0d 0a 20 | 20 20 2d 20 69 6e 20 77 |PL"),.. | - in w|
|00000540| 68 69 63 68 20 63 61 73 | 65 20 74 68 65 20 70 72 |hich cas|e the pr|
|00000550| 6f 76 69 73 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |ovisions| of the |
|00000560| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 20 |GPL or t|he LGPL |
|00000570| 61 72 65 20 61 70 70 6c | 69 63 61 62 6c 65 20 69 |are appl|icable i|
|00000580| 6e 73 74 65 61 64 0d 0a | 20 20 20 2d 20 6f 66 20 |nstead..| - of |
|00000590| 74 68 6f 73 65 20 61 62 | 6f 76 65 2e 20 49 66 20 |those ab|ove. If |
|000005a0| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 61 6c 6c 6f |you wish| to allo|
|000005b0| 77 20 75 73 65 20 6f 66 | 20 79 6f 75 72 20 76 65 |w use of| your ve|
|000005c0| 72 73 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 66 69 |rsion of| this fi|
|000005d0| 6c 65 20 6f 6e 6c 79 0d | 0a 20 20 20 2d 20 75 6e |le only.|. - un|
|000005e0| 64 65 72 20 74 68 65 20 | 74 65 72 6d 73 20 6f 66 |der the |terms of|
|000005f0| 20 65 69 74 68 65 72 20 | 74 68 65 20 47 50 4c 20 | either |the GPL |
|00000600| 6f 72 20 74 68 65 20 4c | 47 50 4c 2c 20 61 6e 64 |or the L|GPL, and|
|00000610| 20 6e 6f 74 20 74 6f 20 | 61 6c 6c 6f 77 20 6f 74 | not to |allow ot|
|00000620| 68 65 72 73 20 74 6f 0d | 0a 20 20 20 2d 20 75 73 |hers to.|. - us|
|00000630| 65 20 79 6f 75 72 20 76 | 65 72 73 69 6f 6e 20 6f |e your v|ersion o|
|00000640| 66 20 74 68 69 73 20 66 | 69 6c 65 20 75 6e 64 65 |f this f|ile unde|
|00000650| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 74 |r the te|rms of t|
|00000660| 68 65 20 4d 50 4c 2c 20 | 69 6e 64 69 63 61 74 65 |he MPL, |indicate|
|00000670| 20 79 6f 75 72 0d 0a 20 | 20 20 2d 20 64 65 63 69 | your.. | - deci|
|00000680| 73 69 6f 6e 20 62 79 20 | 64 65 6c 65 74 69 6e 67 |sion by |deleting|
|00000690| 20 74 68 65 20 70 72 6f | 76 69 73 69 6f 6e 73 20 | the pro|visions |
|000006a0| 61 62 6f 76 65 20 61 6e | 64 20 72 65 70 6c 61 63 |above an|d replac|
|000006b0| 65 20 74 68 65 6d 20 77 | 69 74 68 20 74 68 65 20 |e them w|ith the |
|000006c0| 6e 6f 74 69 63 65 0d 0a | 20 20 20 2d 20 61 6e 64 |notice..| - and|
|000006d0| 20 6f 74 68 65 72 20 70 | 72 6f 76 69 73 69 6f 6e | other p|rovision|
|000006e0| 73 20 72 65 71 75 69 72 | 65 64 20 62 79 20 74 68 |s requir|ed by th|
|000006f0| 65 20 47 50 4c 20 6f 72 | 20 74 68 65 20 4c 47 50 |e GPL or| the LGP|
|00000700| 4c 2e 20 49 66 20 79 6f | 75 20 64 6f 20 6e 6f 74 |L. If yo|u do not|
|00000710| 20 64 65 6c 65 74 65 0d | 0a 20 20 20 2d 20 74 68 | delete.|. - th|
|00000720| 65 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 61 62 6f |e provis|ions abo|
|00000730| 76 65 2c 20 61 20 72 65 | 63 69 70 69 65 6e 74 20 |ve, a re|cipient |
|00000740| 6d 61 79 20 75 73 65 20 | 79 6f 75 72 20 76 65 72 |may use |your ver|
|00000750| 73 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 66 69 6c |sion of |this fil|
|00000760| 65 20 75 6e 64 65 72 0d | 0a 20 20 20 2d 20 74 68 |e under.|. - th|
|00000770| 65 20 74 65 72 6d 73 20 | 6f 66 20 61 6e 79 20 6f |e terms |of any o|
|00000780| 6e 65 20 6f 66 20 74 68 | 65 20 4d 50 4c 2c 20 74 |ne of th|e MPL, t|
|00000790| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|000007a0| 50 4c 2e 0d 0a 20 20 20 | 2d 0d 0a 20 20 20 2d 20 |PL... |-.. - |
|000007b0| 2a 2a 2a 2a 2a 20 45 4e | 44 20 4c 49 43 45 4e 53 |***** EN|D LICENS|
|000007c0| 45 20 42 4c 4f 43 4b 20 | 2a 2a 2a 2a 2a 20 2d 2d |E BLOCK |***** --|
|000007d0| 3e 0d 0a 0d 0a 3c 3f 78 | 6d 6c 2d 73 74 79 6c 65 |>....<?x|ml-style|
|000007e0| 73 68 65 65 74 20 68 72 | 65 66 3d 22 63 68 72 6f |sheet hr|ef="chro|
|000007f0| 6d 65 3a 2f 2f 67 6c 6f | 62 61 6c 2f 73 6b 69 6e |me://glo|bal/skin|
|00000800| 2f 22 20 74 79 70 65 3d | 22 74 65 78 74 2f 63 73 |/" type=|"text/cs|
|00000810| 73 22 3f 3e 0d 0a 0d 0a | 3c 21 44 4f 43 54 59 50 |s"?>....|<!DOCTYP|
|00000820| 45 20 64 69 61 6c 6f 67 | 20 53 59 53 54 45 4d 20 |E dialog| SYSTEM |
|00000830| 22 63 68 72 6f 6d 65 3a | 2f 2f 70 69 70 70 6b 69 |"chrome:|//pippki|
|00000840| 2f 6c 6f 63 61 6c 65 2f | 70 69 70 70 6b 69 2e 64 |/locale/|pippki.d|
|00000850| 74 64 22 3e 0d 0a 0d 0a | 3c 64 69 61 6c 6f 67 20 |td">....|<dialog |
|00000860| 69 64 3d 22 67 65 74 70 | 61 73 73 77 6f 72 64 22 |id="getp|assword"|
|00000870| 20 74 69 74 6c 65 3d 22 | 26 67 65 74 50 61 73 73 | title="|&getPass|
|00000880| 77 6f 72 64 2e 74 69 74 | 6c 65 3b 22 0d 0a 20 20 |word.tit|le;".. |
|00000890| 78 6d 6c 6e 73 3d 22 68 | 74 74 70 3a 2f 2f 77 77 |xmlns="h|ttp://ww|
|000008a0| 77 2e 6d 6f 7a 69 6c 6c | 61 2e 6f 72 67 2f 6b 65 |w.mozill|a.org/ke|
|000008b0| 79 6d 61 73 74 65 72 2f | 67 61 74 65 6b 65 65 70 |ymaster/|gatekeep|
|000008c0| 65 72 2f 74 68 65 72 65 | 2e 69 73 2e 6f 6e 6c 79 |er/there|.is.only|
|000008d0| 2e 78 75 6c 22 20 20 20 | 20 20 20 0d 0a 20 20 73 |.xul" | .. s|
|000008e0| 74 79 6c 65 3d 22 77 69 | 64 74 68 3a 20 33 30 65 |tyle="wi|dth: 30e|
|000008f0| 6d 3b 22 0d 0a 20 20 62 | 75 74 74 6f 6e 73 3d 22 |m;".. b|uttons="|
|00000900| 61 63 63 65 70 74 2c 63 | 61 6e 63 65 6c 22 0d 0a |accept,c|ancel"..|
|00000910| 20 20 6f 6e 64 69 61 6c | 6f 67 61 63 63 65 70 74 | ondial|ogaccept|
|00000920| 3d 22 72 65 74 75 72 6e | 20 67 65 74 50 61 73 73 |="return| getPass|
|00000930| 77 6f 72 64 28 29 3b 22 | 0d 0a 20 20 6f 6e 6c 6f |word();"|.. onlo|
|00000940| 61 64 3d 22 6f 6e 4c 6f | 61 64 28 29 3b 22 3e 0d |ad="onLo|ad();">.|
|00000950| 0a 0d 0a 20 20 3c 73 63 | 72 69 70 74 20 74 79 70 |... <sc|ript typ|
|00000960| 65 3d 22 61 70 70 6c 69 | 63 61 74 69 6f 6e 2f 78 |e="appli|cation/x|
|00000970| 2d 6a 61 76 61 73 63 72 | 69 70 74 22 20 73 72 63 |-javascr|ipt" src|
|00000980| 3d 22 63 68 72 6f 6d 65 | 3a 2f 2f 70 69 70 70 6b |="chrome|://pippk|
|00000990| 69 2f 63 6f 6e 74 65 6e | 74 2f 70 61 73 73 77 6f |i/conten|t/passwo|
|000009a0| 72 64 2e 6a 73 22 2f 3e | 0d 0a 20 20 3c 73 63 72 |rd.js"/>|.. <scr|
|000009b0| 69 70 74 20 74 79 70 65 | 3d 22 61 70 70 6c 69 63 |ipt type|="applic|
|000009c0| 61 74 69 6f 6e 2f 78 2d | 6a 61 76 61 73 63 72 69 |ation/x-|javascri|
|000009d0| 70 74 22 20 73 72 63 3d | 22 63 68 72 6f 6d 65 3a |pt" src=|"chrome:|
|000009e0| 2f 2f 67 6c 6f 62 61 6c | 2f 63 6f 6e 74 65 6e 74 |//global|/content|
|000009f0| 2f 73 74 72 72 65 73 2e | 6a 73 22 2f 3e 0d 0a 0d |/strres.|js"/>...|
|00000a00| 0a 20 20 3c 68 62 6f 78 | 3e 0d 0a 20 20 20 20 3c |. <hbox|>.. <|
|00000a10| 6c 61 62 65 6c 20 76 61 | 6c 75 65 3d 22 26 67 65 |label va|lue="&ge|
|00000a20| 74 50 61 73 73 77 6f 72 | 64 2e 74 6f 6b 65 6e 4e |tPasswor|d.tokenN|
|00000a30| 61 6d 65 2e 6c 61 62 65 | 6c 3b 3a 22 2f 3e 0d 0a |ame.labe|l;:"/>..|
|00000a40| 20 20 20 20 3c 6c 61 62 | 65 6c 20 69 64 3d 22 74 | <lab|el id="t|
|00000a50| 6f 6b 65 6e 4e 61 6d 65 | 22 2f 3e 0d 0a 20 20 3c |okenName|"/>.. <|
|00000a60| 2f 68 62 6f 78 3e 0d 0a | 20 20 3c 73 65 70 61 72 |/hbox>..| <separ|
|00000a70| 61 74 6f 72 2f 3e 0d 0a | 20 20 3c 68 62 6f 78 20 |ator/>..| <hbox |
|00000a80| 61 6c 69 67 6e 3d 22 63 | 65 6e 74 65 72 22 3e 0d |align="c|enter">.|
|00000a90| 0a 20 20 20 20 3c 6c 61 | 62 65 6c 20 76 61 6c 75 |. <la|bel valu|
|00000aa0| 65 3d 22 26 67 65 74 50 | 61 73 73 77 6f 72 64 2e |e="&getP|assword.|
|00000ab0| 70 61 73 73 77 6f 72 64 | 2e 6c 61 62 65 6c 3b 22 |password|.label;"|
|00000ac0| 2f 3e 0d 0a 20 20 20 20 | 3c 74 65 78 74 62 6f 78 |/>.. |<textbox|
|00000ad0| 20 69 64 3d 22 70 77 31 | 22 20 74 79 70 65 3d 22 | id="pw1|" type="|
|00000ae0| 70 61 73 73 77 6f 72 64 | 22 2f 3e 0d 0a 20 20 3c |password|"/>.. <|
|00000af0| 2f 68 62 6f 78 3e 0d 0a | 0d 0a 3c 2f 64 69 61 6c |/hbox>..|..</dial|
|00000b00| 6f 67 3e 0d 0a 50 4b 03 | 04 0a 00 00 00 00 00 3b |og>..PK.|.......;|
|00000b10| 1d 29 32 86 e0 a4 c6 eb | 29 00 00 eb 29 00 00 1a |.)2.....|)...)...|
|00000b20| 00 00 00 63 6f 6e 74 65 | 6e 74 2f 70 69 70 70 6b |...conte|nt/pippk|
|00000b30| 69 2f 70 61 73 73 77 6f | 72 64 2e 6a 73 2f 2a 20 |i/passwo|rd.js/* |
|00000b40| 2a 2a 2a 2a 2a 20 42 45 | 47 49 4e 20 4c 49 43 45 |***** BE|GIN LICE|
|00000b50| 4e 53 45 20 42 4c 4f 43 | 4b 20 2a 2a 2a 2a 2a 0d |NSE BLOC|K *****.|
|00000b60| 0a 20 2a 20 56 65 72 73 | 69 6f 6e 3a 20 4d 50 4c |. * Vers|ion: MPL|
|00000b70| 20 31 2e 31 2f 47 50 4c | 20 32 2e 30 2f 4c 47 50 | 1.1/GPL| 2.0/LGP|
|00000b80| 4c 20 32 2e 31 0d 0a 20 | 2a 0d 0a 20 2a 20 54 68 |L 2.1.. |*.. * Th|
|00000b90| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 74 68 |e conten|ts of th|
|00000ba0| 69 73 20 66 69 6c 65 20 | 61 72 65 20 73 75 62 6a |is file |are subj|
|00000bb0| 65 63 74 20 74 6f 20 74 | 68 65 20 4d 6f 7a 69 6c |ect to t|he Mozil|
|00000bc0| 6c 61 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |la Publi|c Licens|
|00000bd0| 65 20 56 65 72 73 69 6f | 6e 0d 0a 20 2a 20 31 2e |e Versio|n.. * 1.|
|00000be0| 31 20 28 74 68 65 20 22 | 4c 69 63 65 6e 73 65 22 |1 (the "|License"|
|00000bf0| 29 3b 20 79 6f 75 20 6d | 61 79 20 6e 6f 74 20 75 |); you m|ay not u|
|00000c00| 73 65 20 74 68 69 73 20 | 66 69 6c 65 20 65 78 63 |se this |file exc|
|00000c10| 65 70 74 20 69 6e 20 63 | 6f 6d 70 6c 69 61 6e 63 |ept in c|omplianc|
|00000c20| 65 20 77 69 74 68 0d 0a | 20 2a 20 74 68 65 20 4c |e with..| * the L|
|00000c30| 69 63 65 6e 73 65 2e 20 | 59 6f 75 20 6d 61 79 20 |icense. |You may |
|00000c40| 6f 62 74 61 69 6e 20 61 | 20 63 6f 70 79 20 6f 66 |obtain a| copy of|
|00000c50| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 20 61 74 0d | the Lic|ense at.|
|00000c60| 0a 20 2a 20 68 74 74 70 | 3a 2f 2f 77 77 77 2e 6d |. * http|://www.m|
|00000c70| 6f 7a 69 6c 6c 61 2e 6f | 72 67 2f 4d 50 4c 2f 0d |ozilla.o|rg/MPL/.|
|00000c80| 0a 20 2a 0d 0a 20 2a 20 | 53 6f 66 74 77 61 72 65 |. *.. * |Software|
|00000c90| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 75 6e 64 | distrib|uted und|
|00000ca0| 65 72 20 74 68 65 20 4c | 69 63 65 6e 73 65 20 69 |er the L|icense i|
|00000cb0| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 6f 6e |s distri|buted on|
|00000cc0| 20 61 6e 20 22 41 53 20 | 49 53 22 20 62 61 73 69 | an "AS |IS" basi|
|00000cd0| 73 2c 0d 0a 20 2a 20 57 | 49 54 48 4f 55 54 20 57 |s,.. * W|ITHOUT W|
|00000ce0| 41 52 52 41 4e 54 59 20 | 4f 46 20 41 4e 59 20 4b |ARRANTY |OF ANY K|
|00000cf0| 49 4e 44 2c 20 65 69 74 | 68 65 72 20 65 78 70 72 |IND, eit|her expr|
|00000d00| 65 73 73 20 6f 72 20 69 | 6d 70 6c 69 65 64 2e 20 |ess or i|mplied. |
|00000d10| 53 65 65 20 74 68 65 20 | 4c 69 63 65 6e 73 65 0d |See the |License.|
|00000d20| 0a 20 2a 20 66 6f 72 20 | 74 68 65 20 73 70 65 63 |. * for |the spec|
|00000d30| 69 66 69 63 20 6c 61 6e | 67 75 61 67 65 20 67 6f |ific lan|guage go|
|00000d40| 76 65 72 6e 69 6e 67 20 | 72 69 67 68 74 73 20 61 |verning |rights a|
|00000d50| 6e 64 20 6c 69 6d 69 74 | 61 74 69 6f 6e 73 20 75 |nd limit|ations u|
|00000d60| 6e 64 65 72 20 74 68 65 | 0d 0a 20 2a 20 4c 69 63 |nder the|.. * Lic|
|00000d70| 65 6e 73 65 2e 0d 0a 20 | 2a 0d 0a 20 2a 20 54 68 |ense... |*.. * Th|
|00000d80| 65 20 4f 72 69 67 69 6e | 61 6c 20 43 6f 64 65 20 |e Origin|al Code |
|00000d90| 69 73 20 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 20 63 |is mozil|la.org c|
|00000da0| 6f 64 65 2e 0d 0a 20 2a | 0d 0a 20 2a 20 54 68 65 |ode... *|.. * The|
|00000db0| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00000dc0| 65 72 20 6f 66 20 74 68 | 65 20 4f 72 69 67 69 6e |er of th|e Origin|
|00000dd0| 61 6c 20 43 6f 64 65 20 | 69 73 0d 0a 20 2a 20 4e |al Code |is.. * N|
|00000de0| 65 74 73 63 61 70 65 20 | 43 6f 6d 6d 75 6e 69 63 |etscape |Communic|
|00000df0| 61 74 69 6f 6e 73 20 43 | 6f 72 70 6f 72 61 74 69 |ations C|orporati|
|00000e00| 6f 6e 2e 0d 0a 20 2a 20 | 50 6f 72 74 69 6f 6e 73 |on... * |Portions|
|00000e10| 20 63 72 65 61 74 65 64 | 20 62 79 20 74 68 65 20 | created| by the |
|00000e20| 49 6e 69 74 69 61 6c 20 | 44 65 76 65 6c 6f 70 65 |Initial |Develope|
|00000e30| 72 20 61 72 65 20 43 6f | 70 79 72 69 67 68 74 20 |r are Co|pyright |
|00000e40| 28 43 29 20 32 30 30 31 | 0d 0a 20 2a 20 74 68 65 |(C) 2001|.. * the|
|00000e50| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00000e60| 65 72 2e 20 41 6c 6c 20 | 52 69 67 68 74 73 20 52 |er. All |Rights R|
|00000e70| 65 73 65 72 76 65 64 2e | 0d 0a 20 2a 0d 0a 20 2a |eserved.|.. *.. *|
|00000e80| 20 43 6f 6e 74 72 69 62 | 75 74 6f 72 28 73 29 3a | Contrib|utor(s):|
|00000e90| 0d 0a 20 2a 20 20 20 42 | 6f 62 20 4c 6f 72 64 20 |.. * B|ob Lord |
|00000ea0| 3c 6c 6f 72 64 40 6e 65 | 74 73 63 61 70 65 2e 63 |<lord@ne|tscape.c|
|00000eb0| 6f 6d 3e 0d 0a 20 2a 20 | 20 20 54 65 72 72 79 20 |om>.. * | Terry |
|00000ec0| 48 61 79 65 73 20 3c 74 | 68 61 79 65 73 40 6e 65 |Hayes <t|hayes@ne|
|00000ed0| 74 73 63 61 70 65 2e 63 | 6f 6d 3e 0d 0a 20 2a 0d |tscape.c|om>.. *.|
|00000ee0| 0a 20 2a 20 41 6c 74 65 | 72 6e 61 74 69 76 65 6c |. * Alte|rnativel|
|00000ef0| 79 2c 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 |y, the c|ontents |
|00000f00| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 6d 61 79 |of this |file may|
|00000f10| 20 62 65 20 75 73 65 64 | 20 75 6e 64 65 72 20 74 | be used| under t|
|00000f20| 68 65 20 74 65 72 6d 73 | 20 6f 66 0d 0a 20 2a 20 |he terms| of.. * |
|00000f30| 65 69 74 68 65 72 20 74 | 68 65 20 47 4e 55 20 47 |either t|he GNU G|
|00000f40| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00000f50| 63 65 6e 73 65 20 56 65 | 72 73 69 6f 6e 20 32 20 |cense Ve|rsion 2 |
|00000f60| 6f 72 20 6c 61 74 65 72 | 20 28 74 68 65 20 22 47 |or later| (the "G|
|00000f70| 50 4c 22 29 2c 20 6f 72 | 0d 0a 20 2a 20 74 68 65 |PL"), or|.. * the|
|00000f80| 20 47 4e 55 20 4c 65 73 | 73 65 72 20 47 65 6e 65 | GNU Les|ser Gene|
|00000f90| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00000fa0| 73 65 20 56 65 72 73 69 | 6f 6e 20 32 2e 31 20 6f |se Versi|on 2.1 o|
|00000fb0| 72 20 6c 61 74 65 72 20 | 28 74 68 65 20 22 4c 47 |r later |(the "LG|
|00000fc0| 50 4c 22 29 2c 0d 0a 20 | 2a 20 69 6e 20 77 68 69 |PL"),.. |* in whi|
|00000fd0| 63 68 20 63 61 73 65 20 | 74 68 65 20 70 72 6f 76 |ch case |the prov|
|00000fe0| 69 73 69 6f 6e 73 20 6f | 66 20 74 68 65 20 47 50 |isions o|f the GP|
|00000ff0| 4c 20 6f 72 20 74 68 65 | 20 4c 47 50 4c 20 61 72 |L or the| LGPL ar|
|00001000| 65 20 61 70 70 6c 69 63 | 61 62 6c 65 20 69 6e 73 |e applic|able ins|
|00001010| 74 65 61 64 0d 0a 20 2a | 20 6f 66 20 74 68 6f 73 |tead.. *| of thos|
|00001020| 65 20 61 62 6f 76 65 2e | 20 49 66 20 79 6f 75 20 |e above.| If you |
|00001030| 77 69 73 68 20 74 6f 20 | 61 6c 6c 6f 77 20 75 73 |wish to |allow us|
|00001040| 65 20 6f 66 20 79 6f 75 | 72 20 76 65 72 73 69 6f |e of you|r versio|
|00001050| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 6f |n of thi|s file o|
|00001060| 6e 6c 79 0d 0a 20 2a 20 | 75 6e 64 65 72 20 74 68 |nly.. * |under th|
|00001070| 65 20 74 65 72 6d 73 20 | 6f 66 20 65 69 74 68 65 |e terms |of eithe|
|00001080| 72 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |r the GP|L or the|
|00001090| 20 4c 47 50 4c 2c 20 61 | 6e 64 20 6e 6f 74 20 74 | LGPL, a|nd not t|
|000010a0| 6f 20 61 6c 6c 6f 77 20 | 6f 74 68 65 72 73 20 74 |o allow |others t|
|000010b0| 6f 0d 0a 20 2a 20 75 73 | 65 20 79 6f 75 72 20 76 |o.. * us|e your v|
|000010c0| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|000010d0| 69 6c 65 20 75 6e 64 65 | 72 20 74 68 65 20 74 65 |ile unde|r the te|
|000010e0| 72 6d 73 20 6f 66 20 74 | 68 65 20 4d 50 4c 2c 20 |rms of t|he MPL, |
|000010f0| 69 6e 64 69 63 61 74 65 | 20 79 6f 75 72 0d 0a 20 |indicate| your.. |
|00001100| 2a 20 64 65 63 69 73 69 | 6f 6e 20 62 79 20 64 65 |* decisi|on by de|
|00001110| 6c 65 74 69 6e 67 20 74 | 68 65 20 70 72 6f 76 69 |leting t|he provi|
|00001120| 73 69 6f 6e 73 20 61 62 | 6f 76 65 20 61 6e 64 20 |sions ab|ove and |
|00001130| 72 65 70 6c 61 63 65 20 | 74 68 65 6d 20 77 69 74 |replace |them wit|
|00001140| 68 20 74 68 65 20 6e 6f | 74 69 63 65 0d 0a 20 2a |h the no|tice.. *|
|00001150| 20 61 6e 64 20 6f 74 68 | 65 72 20 70 72 6f 76 69 | and oth|er provi|
|00001160| 73 69 6f 6e 73 20 72 65 | 71 75 69 72 65 64 20 62 |sions re|quired b|
|00001170| 79 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |y the GP|L or the|
|00001180| 20 4c 47 50 4c 2e 20 49 | 66 20 79 6f 75 20 64 6f | LGPL. I|f you do|
|00001190| 20 6e 6f 74 20 64 65 6c | 65 74 65 0d 0a 20 2a 20 | not del|ete.. * |
|000011a0| 74 68 65 20 70 72 6f 76 | 69 73 69 6f 6e 73 20 61 |the prov|isions a|
|000011b0| 62 6f 76 65 2c 20 61 20 | 72 65 63 69 70 69 65 6e |bove, a |recipien|
|000011c0| 74 20 6d 61 79 20 75 73 | 65 20 79 6f 75 72 20 76 |t may us|e your v|
|000011d0| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|000011e0| 69 6c 65 20 75 6e 64 65 | 72 0d 0a 20 2a 20 74 68 |ile unde|r.. * th|
|000011f0| 65 20 74 65 72 6d 73 20 | 6f 66 20 61 6e 79 20 6f |e terms |of any o|
|00001200| 6e 65 20 6f 66 20 74 68 | 65 20 4d 50 4c 2c 20 74 |ne of th|e MPL, t|
|00001210| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00001220| 50 4c 2e 0d 0a 20 2a 0d | 0a 20 2a 20 2a 2a 2a 2a |PL... *.|. * ****|
|00001230| 2a 20 45 4e 44 20 4c 49 | 43 45 4e 53 45 20 42 4c |* END LI|CENSE BL|
|00001240| 4f 43 4b 20 2a 2a 2a 2a | 2a 20 2a 2f 0d 0a 63 6f |OCK ****|* */..co|
|00001250| 6e 73 74 20 6e 73 50 4b | 31 31 54 6f 6b 65 6e 44 |nst nsPK|11TokenD|
|00001260| 42 20 3d 20 22 40 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |B = "@mo|zilla.or|
|00001270| 67 2f 73 65 63 75 72 69 | 74 79 2f 70 6b 31 31 74 |g/securi|ty/pk11t|
|00001280| 6f 6b 65 6e 64 62 3b 31 | 22 3b 0d 0a 63 6f 6e 73 |okendb;1|";..cons|
|00001290| 74 20 6e 73 49 50 4b 31 | 31 54 6f 6b 65 6e 44 42 |t nsIPK1|1TokenDB|
|000012a0| 20 3d 20 43 6f 6d 70 6f | 6e 65 6e 74 73 2e 69 6e | = Compo|nents.in|
|000012b0| 74 65 72 66 61 63 65 73 | 2e 6e 73 49 50 4b 31 31 |terfaces|.nsIPK11|
|000012c0| 54 6f 6b 65 6e 44 42 3b | 0d 0a 63 6f 6e 73 74 20 |TokenDB;|..const |
|000012d0| 6e 73 49 44 69 61 6c 6f | 67 50 61 72 61 6d 42 6c |nsIDialo|gParamBl|
|000012e0| 6f 63 6b 20 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |ock = Co|mponents|
|000012f0| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 44 |.interfa|ces.nsID|
|00001300| 69 61 6c 6f 67 50 61 72 | 61 6d 42 6c 6f 63 6b 3b |ialogPar|amBlock;|
|00001310| 0d 0a 63 6f 6e 73 74 20 | 6e 73 50 4b 43 53 31 31 |..const |nsPKCS11|
|00001320| 4d 6f 64 75 6c 65 44 42 | 20 3d 20 22 40 6d 6f 7a |ModuleDB| = "@moz|
|00001330| 69 6c 6c 61 2e 6f 72 67 | 2f 73 65 63 75 72 69 74 |illa.org|/securit|
|00001340| 79 2f 70 6b 63 73 31 31 | 6d 6f 64 75 6c 65 64 62 |y/pkcs11|moduledb|
|00001350| 3b 31 22 3b 0d 0a 63 6f | 6e 73 74 20 6e 73 49 50 |;1";..co|nst nsIP|
|00001360| 4b 43 53 31 31 4d 6f 64 | 75 6c 65 44 42 20 3d 20 |KCS11Mod|uleDB = |
|00001370| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 69 6e 74 65 72 |Componen|ts.inter|
|00001380| 66 61 63 65 73 2e 6e 73 | 49 50 4b 43 53 31 31 4d |faces.ns|IPKCS11M|
|00001390| 6f 64 75 6c 65 44 42 3b | 0d 0a 63 6f 6e 73 74 20 |oduleDB;|..const |
|000013a0| 6e 73 49 50 4b 43 53 31 | 31 53 6c 6f 74 20 3d 20 |nsIPKCS1|1Slot = |
|000013b0| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 69 6e 74 65 72 |Componen|ts.inter|
|000013c0| 66 61 63 65 73 2e 6e 73 | 49 50 4b 43 53 31 31 53 |faces.ns|IPKCS11S|
|000013d0| 6c 6f 74 3b 0d 0a 63 6f | 6e 73 74 20 6e 73 49 50 |lot;..co|nst nsIP|
|000013e0| 4b 31 31 54 6f 6b 65 6e | 20 3d 20 43 6f 6d 70 6f |K11Token| = Compo|
|000013f0| 6e 65 6e 74 73 2e 69 6e | 74 65 72 66 61 63 65 73 |nents.in|terfaces|
|00001400| 2e 6e 73 49 50 4b 31 31 | 54 6f 6b 65 6e 3b 0d 0a |.nsIPK11|Token;..|
|00001410| 0d 0a 0d 0a 76 61 72 20 | 70 61 72 61 6d 73 3b 0d |....var |params;.|
|00001420| 0a 76 61 72 20 74 6f 6b | 65 6e 4e 61 6d 65 3d 22 |.var tok|enName="|
|00001430| 22 3b 0d 0a 76 61 72 20 | 70 77 31 3b 0d 0a 0d 0a |";..var |pw1;....|
|00001440| 66 75 6e 63 74 69 6f 6e | 20 6f 6e 4c 6f 61 64 28 |function| onLoad(|
|00001450| 29 0d 0a 7b 0d 0a 20 20 | 64 6f 63 75 6d 65 6e 74 |)..{.. |document|
|00001460| 2e 64 6f 63 75 6d 65 6e | 74 45 6c 65 6d 65 6e 74 |.documen|tElement|
|00001470| 2e 67 65 74 42 75 74 74 | 6f 6e 28 22 61 63 63 65 |.getButt|on("acce|
|00001480| 70 74 22 29 2e 64 69 73 | 61 62 6c 65 64 20 3d 20 |pt").dis|abled = |
|00001490| 74 72 75 65 3b 0d 0a 0d | 0a 20 20 70 77 31 20 3d |true;...|. pw1 =|
|000014a0| 20 64 6f 63 75 6d 65 6e | 74 2e 67 65 74 45 6c 65 | documen|t.getEle|
|000014b0| 6d 65 6e 74 42 79 49 64 | 28 22 70 77 31 22 29 3b |mentById|("pw1");|
|000014c0| 0d 0a 20 20 74 72 79 20 | 7b 0d 0a 20 20 20 20 20 |.. try |{.. |
|000014d0| 70 61 72 61 6d 73 20 3d | 20 77 69 6e 64 6f 77 2e |params =| window.|
|000014e0| 61 72 67 75 6d 65 6e 74 | 73 5b 30 5d 2e 51 75 65 |argument|s[0].Que|
|000014f0| 72 79 49 6e 74 65 72 66 | 61 63 65 28 6e 73 49 44 |ryInterf|ace(nsID|
|00001500| 69 61 6c 6f 67 50 61 72 | 61 6d 42 6c 6f 63 6b 29 |ialogPar|amBlock)|
|00001510| 3b 0d 0a 20 20 20 20 20 | 74 6f 6b 65 6e 4e 61 6d |;.. |tokenNam|
|00001520| 65 20 3d 20 70 61 72 61 | 6d 73 2e 47 65 74 53 74 |e = para|ms.GetSt|
|00001530| 72 69 6e 67 28 31 29 3b | 0d 0a 20 20 7d 20 63 61 |ring(1);|.. } ca|
|00001540| 74 63 68 28 65 78 63 65 | 70 74 69 6f 6e 29 20 7b |tch(exce|ption) {|
|00001550| 0d 0a 20 20 20 20 20 20 | 2f 2f 20 74 68 69 73 20 |.. |// this |
|00001560| 73 68 6f 75 6c 64 20 6e | 6f 74 20 68 61 70 70 65 |should n|ot happe|
|00001570| 6e 2e 0d 0a 20 20 20 20 | 20 20 2f 2f 20 70 72 65 |n... | // pre|
|00001580| 76 69 6f 75 73 6c 79 20 | 77 65 20 68 61 64 20 73 |viously |we had s|
|00001590| 65 6c 66 2e 6e 61 6d 65 | 2c 20 62 75 74 20 73 65 |elf.name|, but se|
|000015a0| 6c 66 2e 6e 61 6d 65 20 | 77 61 73 20 61 20 62 61 |lf.name |was a ba|
|000015b0| 64 20 69 64 65 61 0d 0a | 20 20 20 20 20 20 2f 2f |d idea..| //|
|000015c0| 20 61 73 20 77 69 6e 64 | 6f 77 20 6e 61 6d 65 20 | as wind|ow name |
|000015d0| 6d 75 73 74 20 62 65 20 | 61 20 73 75 62 73 65 74 |must be |a subset|
|000015e0| 20 6f 66 20 61 73 63 69 | 69 2c 20 61 6e 64 20 74 | of asci|i, and t|
|000015f0| 68 65 20 63 6f 64 65 20 | 77 61 73 0d 0a 20 20 20 |he code |was.. |
|00001600| 20 20 20 2f 2f 20 70 72 | 65 76 69 6f 75 73 6c 79 | // pr|eviously|
|00001610| 20 74 72 79 69 6e 67 20 | 74 6f 20 61 73 73 69 67 | trying |to assig|
|00001620| 6e 20 75 6e 69 63 6f 64 | 65 20 74 6f 20 74 68 65 |n unicod|e to the|
|00001630| 20 77 69 6e 64 6f 77 27 | 73 20 6e 61 6d 65 2e 0d | window'|s name..|
|00001640| 0a 20 20 20 20 20 20 2f | 2f 20 49 20 63 68 65 63 |. /|/ I chec|
|00001650| 6b 65 64 20 61 6c 6c 20 | 74 68 65 20 70 6c 61 63 |ked all |the plac|
|00001660| 65 73 20 77 68 65 72 65 | 20 77 65 20 67 65 74 20 |es where| we get |
|00001670| 61 20 70 61 73 73 77 6f | 72 64 20 70 72 6f 6d 70 |a passwo|rd promp|
|00001680| 74 20 61 6e 64 0d 0a 20 | 20 20 20 20 20 2f 2f 20 |t and.. | // |
|00001690| 61 6c 6c 20 6f 66 20 74 | 68 65 6d 20 70 61 73 73 |all of t|hem pass|
|000016a0| 20 61 6e 20 61 72 67 75 | 6d 65 6e 74 20 61 73 20 | an argu|ment as |
|000016b0| 70 61 72 74 20 6f 66 20 | 74 68 69 73 20 70 61 74 |part of |this pat|
|000016c0| 63 68 2e 0d 0a 20 20 20 | 20 20 20 74 6f 6b 65 6e |ch... | token|
|000016d0| 4e 61 6d 65 3d 22 22 3b | 0d 0a 20 20 7d 0d 0a 20 |Name="";|.. }.. |
|000016e0| 20 20 20 20 20 0d 0a 0d | 0a 20 20 69 66 28 74 6f | ...|. if(to|
|000016f0| 6b 65 6e 4e 61 6d 65 3d | 3d 22 22 29 20 7b 0d 0a |kenName=|="") {..|
|00001700| 20 20 20 20 20 76 61 72 | 20 73 65 63 74 6f 6b 64 | var| sectokd|
|00001710| 62 20 3d 20 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 63 |b = Comp|onents.c|
|00001720| 6c 61 73 73 65 73 5b 6e | 73 50 4b 31 31 54 6f 6b |lasses[n|sPK11Tok|
|00001730| 65 6e 44 42 5d 2e 67 65 | 74 53 65 72 76 69 63 65 |enDB].ge|tService|
|00001740| 28 6e 73 49 50 4b 31 31 | 54 6f 6b 65 6e 44 42 29 |(nsIPK11|TokenDB)|
|00001750| 3b 0d 0a 20 20 20 20 20 | 76 61 72 20 74 6f 6b 65 |;.. |var toke|
|00001760| 6e 4c 69 73 74 20 3d 20 | 73 65 63 74 6f 6b 64 62 |nList = |sectokdb|
|00001770| 2e 6c 69 73 74 54 6f 6b | 65 6e 73 28 29 3b 0d 0a |.listTok|ens();..|
|00001780| 20 20 20 20 20 76 61 72 | 20 65 6e 75 6d 45 6c 65 | var| enumEle|
|00001790| 6d 65 6e 74 3b 0d 0a 20 | 20 20 20 20 76 61 72 20 |ment;.. | var |
|000017a0| 69 3d 30 3b 0d 0a 20 20 | 20 20 20 76 61 72 20 6d |i=0;.. | var m|
|000017b0| 65 6e 75 20 3d 20 64 6f | 63 75 6d 65 6e 74 2e 67 |enu = do|cument.g|
|000017c0| 65 74 45 6c 65 6d 65 6e | 74 42 79 49 64 28 22 74 |etElemen|tById("t|
|000017d0| 6f 6b 65 6e 4d 65 6e 75 | 22 29 3b 0d 0a 20 20 20 |okenMenu|");.. |
|000017e0| 20 20 74 72 79 20 7b 0d | 0a 20 20 20 20 20 20 20 | try {.|. |
|000017f0| 20 66 6f 72 20 28 20 3b | 20 21 74 6f 6b 65 6e 4c | for ( ;| !tokenL|
|00001800| 69 73 74 2e 69 73 44 6f | 6e 65 28 29 3b 20 74 6f |ist.isDo|ne(); to|
|00001810| 6b 65 6e 4c 69 73 74 2e | 6e 65 78 74 28 29 29 20 |kenList.|next()) |
|00001820| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 65 6e |{.. | en|
|00001830| 75 6d 45 6c 65 6d 65 6e | 74 20 3d 20 74 6f 6b 65 |umElemen|t = toke|
|00001840| 6e 4c 69 73 74 2e 63 75 | 72 72 65 6e 74 49 74 65 |nList.cu|rrentIte|
|00001850| 6d 28 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |m();.. | |
|00001860| 20 76 61 72 20 74 6f 6b | 65 6e 20 3d 20 65 6e 75 | var tok|en = enu|
|00001870| 6d 45 6c 65 6d 65 6e 74 | 2e 51 75 65 72 79 49 6e |mElement|.QueryIn|
|00001880| 74 65 72 66 61 63 65 28 | 6e 73 49 50 4b 31 31 54 |terface(|nsIPK11T|
|00001890| 6f 6b 65 6e 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |oken);..| |
|000018a0| 20 20 20 69 66 28 74 6f | 6b 65 6e 2e 6e 65 65 64 | if(to|ken.need|
|000018b0| 73 4c 6f 67 69 6e 28 29 | 20 7c 7c 20 21 28 74 6f |sLogin()| || !(to|
|000018c0| 6b 65 6e 2e 6e 65 65 64 | 73 55 73 65 72 49 6e 69 |ken.need|sUserIni|
|000018d0| 74 29 29 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 20 |t)) {.. | |
|000018e0| 20 20 20 20 20 76 61 72 | 20 6d 65 6e 75 49 74 65 | var| menuIte|
|000018f0| 6d 4e 6f 64 65 20 3d 20 | 64 6f 63 75 6d 65 6e 74 |mNode = |document|
|00001900| 2e 63 72 65 61 74 65 45 | 6c 65 6d 65 6e 74 28 22 |.createE|lement("|
|00001910| 6d 65 6e 75 69 74 65 6d | 22 29 3b 0d 0a 20 20 20 |menuitem|");.. |
|00001920| 20 20 20 20 20 20 20 20 | 20 20 20 6d 65 6e 75 49 | | menuI|
|00001930| 74 65 6d 4e 6f 64 65 2e | 73 65 74 41 74 74 72 69 |temNode.|setAttri|
|00001940| 62 75 74 65 28 22 76 61 | 6c 75 65 22 2c 20 74 6f |bute("va|lue", to|
|00001950| 6b 65 6e 2e 74 6f 6b 65 | 6e 4e 61 6d 65 29 3b 0d |ken.toke|nName);.|
|00001960| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d |. | m|
|00001970| 65 6e 75 49 74 65 6d 4e | 6f 64 65 2e 73 65 74 41 |enuItemN|ode.setA|
|00001980| 74 74 72 69 62 75 74 65 | 28 22 6c 61 62 65 6c 22 |ttribute|("label"|
|00001990| 2c 20 74 6f 6b 65 6e 2e | 74 6f 6b 65 6e 4e 61 6d |, token.|tokenNam|
|000019a0| 65 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |e);.. | |
|000019b0| 20 20 20 6d 65 6e 75 2e | 66 69 72 73 74 43 68 69 | menu.|firstChi|
|000019c0| 6c 64 2e 61 70 70 65 6e | 64 43 68 69 6c 64 28 6d |ld.appen|dChild(m|
|000019d0| 65 6e 75 49 74 65 6d 4e | 6f 64 65 29 3b 0d 0a 20 |enuItemN|ode);.. |
|000019e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 | | if |
|000019f0| 28 69 20 3d 3d 20 30 29 | 20 7b 0d 0a 20 20 20 20 |(i == 0)| {.. |
|00001a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6d 65 6e | | men|
|00001a10| 75 2e 73 65 6c 65 63 74 | 65 64 49 74 65 6d 20 3d |u.select|edItem =|
|00001a20| 20 6d 65 6e 75 49 74 65 | 6d 4e 6f 64 65 3b 0d 0a | menuIte|mNode;..|
|00001a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a40| 20 74 6f 6b 65 6e 4e 61 | 6d 65 20 3d 20 74 6f 6b | tokenNa|me = tok|
|00001a50| 65 6e 2e 74 6f 6b 65 6e | 4e 61 6d 65 3b 0d 0a 20 |en.token|Name;.. |
|00001a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7d 0d 0a | | }..|
|00001a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 2b | | i+|
|00001a80| 2b 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 7d |+;.. | }|
|00001a90| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 20 20 20 |.. | }.. |
|00001aa0| 20 20 7d 63 61 74 63 68 | 28 65 78 63 65 70 74 69 | }catch|(excepti|
|00001ab0| 6f 6e 29 7b 7d 0d 0a 20 | 20 7d 20 65 6c 73 65 20 |on){}.. | } else |
|00001ac0| 7b 0d 0a 20 20 20 20 76 | 61 72 20 73 65 6c 20 3d |{.. v|ar sel =|
|00001ad0| 20 64 6f 63 75 6d 65 6e | 74 2e 67 65 74 45 6c 65 | documen|t.getEle|
|00001ae0| 6d 65 6e 74 42 79 49 64 | 28 22 74 6f 6b 65 6e 4d |mentById|("tokenM|
|00001af0| 65 6e 75 22 29 3b 0d 0a | 20 20 20 20 73 65 6c 2e |enu");..| sel.|
|00001b00| 73 65 74 41 74 74 72 69 | 62 75 74 65 28 22 68 69 |setAttri|bute("hi|
|00001b10| 64 64 65 6e 22 2c 20 22 | 74 72 75 65 22 29 3b 0d |dden", "|true");.|
|00001b20| 0a 20 20 20 20 76 61 72 | 20 74 61 67 20 3d 20 64 |. var| tag = d|
|00001b30| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|00001b40| 6e 74 42 79 49 64 28 22 | 74 6f 6b 65 6e 4e 61 6d |ntById("|tokenNam|
|00001b50| 65 22 29 3b 0d 0a 20 20 | 20 20 74 61 67 2e 73 65 |e");.. | tag.se|
|00001b60| 74 41 74 74 72 69 62 75 | 74 65 28 22 76 61 6c 75 |tAttribu|te("valu|
|00001b70| 65 22 2c 74 6f 6b 65 6e | 4e 61 6d 65 29 3b 0d 0a |e",token|Name);..|
|00001b80| 20 20 7d 0d 0a 09 20 09 | 20 0d 0a 20 20 70 72 6f | }... .| .. pro|
|00001b90| 63 65 73 73 28 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |cess();.|.}....fu|
|00001ba0| 6e 63 74 69 6f 6e 20 6f | 6e 4d 65 6e 75 43 68 61 |nction o|nMenuCha|
|00001bb0| 6e 67 65 28 29 0d 0a 7b | 0d 0a 20 20 20 2f 2f 67 |nge()..{|.. //g|
|00001bc0| 65 74 20 74 68 65 20 73 | 65 6c 65 63 74 65 64 20 |et the s|elected |
|00001bd0| 74 6f 6b 65 6e 0d 0a 20 | 20 20 76 61 72 20 6c 69 |token.. | var li|
|00001be0| 73 74 20 3d 20 64 6f 63 | 75 6d 65 6e 74 2e 67 65 |st = doc|ument.ge|
|00001bf0| 74 45 6c 65 6d 65 6e 74 | 42 79 49 64 28 22 74 6f |tElement|ById("to|
|00001c00| 6b 65 6e 4d 65 6e 75 22 | 29 3b 0d 0a 20 20 20 74 |kenMenu"|);.. t|
|00001c10| 6f 6b 65 6e 4e 61 6d 65 | 20 3d 20 6c 69 73 74 2e |okenName| = list.|
|00001c20| 76 61 6c 75 65 3b 0d 0a | 0d 0a 20 20 20 70 72 6f |value;..|.. pro|
|00001c30| 63 65 73 73 28 29 3b 0d | 0a 7d 0d 0a 0d 0a 0d 0a |cess();.|.}......|
|00001c40| 66 75 6e 63 74 69 6f 6e | 20 70 72 6f 63 65 73 73 |function| process|
|00001c50| 28 29 0d 0a 7b 0d 0a 20 | 20 20 76 61 72 20 73 65 |()..{.. | var se|
|00001c60| 63 6d 6f 64 64 62 20 3d | 20 43 6f 6d 70 6f 6e 65 |cmoddb =| Compone|
|00001c70| 6e 74 73 2e 63 6c 61 73 | 73 65 73 5b 6e 73 50 4b |nts.clas|ses[nsPK|
|00001c80| 43 53 31 31 4d 6f 64 75 | 6c 65 44 42 5d 2e 67 65 |CS11Modu|leDB].ge|
|00001c90| 74 53 65 72 76 69 63 65 | 28 6e 73 49 50 4b 43 53 |tService|(nsIPKCS|
|00001ca0| 31 31 4d 6f 64 75 6c 65 | 44 42 29 3b 0d 0a 20 20 |11Module|DB);.. |
|00001cb0| 20 76 61 72 20 62 75 6e | 64 6c 65 20 3d 20 73 72 | var bun|dle = sr|
|00001cc0| 47 65 74 53 74 72 42 75 | 6e 64 6c 65 28 22 63 68 |GetStrBu|ndle("ch|
|00001cd0| 72 6f 6d 65 3a 2f 2f 70 | 69 70 70 6b 69 2f 6c 6f |rome://p|ippki/lo|
|00001ce0| 63 61 6c 65 2f 70 69 70 | 70 6b 69 2e 70 72 6f 70 |cale/pip|pki.prop|
|00001cf0| 65 72 74 69 65 73 22 29 | 3b 0d 0a 0d 0a 20 20 20 |erties")|;.... |
|00001d00| 2f 2f 20 49 66 20 74 68 | 65 20 74 6f 6b 65 6e 20 |// If th|e token |
|00001d10| 69 73 20 75 6e 69 74 69 | 61 6c 69 7a 65 64 2c 20 |is uniti|alized, |
|00001d20| 64 6f 6e 27 74 20 75 73 | 65 20 74 68 65 20 6f 6c |don't us|e the ol|
|00001d30| 64 20 70 61 73 73 77 6f | 72 64 20 62 6f 78 2e 0d |d passwo|rd box..|
|00001d40| 0a 20 20 20 2f 2f 20 4f | 74 68 65 72 77 69 73 65 |. // O|therwise|
|00001d50| 2c 20 64 6f 2e 0d 0a 0d | 0a 20 20 20 76 61 72 20 |, do....|. var |
|00001d60| 73 6c 6f 74 20 3d 20 73 | 65 63 6d 6f 64 64 62 2e |slot = s|ecmoddb.|
|00001d70| 66 69 6e 64 53 6c 6f 74 | 42 79 4e 61 6d 65 28 74 |findSlot|ByName(t|
|00001d80| 6f 6b 65 6e 4e 61 6d 65 | 29 3b 0d 0a 20 20 20 69 |okenName|);.. i|
|00001d90| 66 20 28 73 6c 6f 74 29 | 20 7b 0d 0a 20 20 20 20 |f (slot)| {.. |
|00001da0| 20 76 61 72 20 6f 6c 64 | 70 77 62 6f 78 20 3d 20 | var old|pwbox = |
|00001db0| 64 6f 63 75 6d 65 6e 74 | 2e 67 65 74 45 6c 65 6d |document|.getElem|
|00001dc0| 65 6e 74 42 79 49 64 28 | 22 6f 6c 64 70 77 22 29 |entById(|"oldpw")|
|00001dd0| 3b 0d 0a 20 20 20 20 20 | 76 61 72 20 6d 73 67 42 |;.. |var msgB|
|00001de0| 6f 78 20 3d 20 64 6f 63 | 75 6d 65 6e 74 2e 67 65 |ox = doc|ument.ge|
|00001df0| 74 45 6c 65 6d 65 6e 74 | 42 79 49 64 28 22 6d 65 |tElement|ById("me|
|00001e00| 73 73 61 67 65 22 29 3b | 0d 0a 20 20 20 20 20 76 |ssage");|.. v|
|00001e10| 61 72 20 73 74 61 74 75 | 73 20 3d 20 73 6c 6f 74 |ar statu|s = slot|
|00001e20| 2e 73 74 61 74 75 73 3b | 0d 0a 20 20 20 20 20 69 |.status;|.. i|
|00001e30| 66 20 28 73 74 61 74 75 | 73 20 3d 3d 20 6e 73 49 |f (statu|s == nsI|
|00001e40| 50 4b 43 53 31 31 53 6c | 6f 74 2e 53 4c 4f 54 5f |PKCS11Sl|ot.SLOT_|
|00001e50| 55 4e 49 4e 49 54 49 41 | 4c 49 5a 45 44 0d 0a 20 |UNINITIA|LIZED.. |
|00001e60| 20 20 20 20 20 20 20 20 | 7c 7c 20 73 74 61 74 75 | ||| statu|
|00001e70| 73 20 3d 3d 20 6e 73 49 | 50 4b 43 53 31 31 53 6c |s == nsI|PKCS11Sl|
|00001e80| 6f 74 2e 53 4c 4f 54 5f | 52 45 41 44 59 29 20 7b |ot.SLOT_|READY) {|
|00001e90| 0d 0a 20 20 20 20 20 20 | 0d 0a 20 20 20 20 20 20 |.. |.. |
|00001ea0| 20 6f 6c 64 70 77 62 6f | 78 2e 73 65 74 41 74 74 | oldpwbo|x.setAtt|
|00001eb0| 72 69 62 75 74 65 28 22 | 68 69 64 64 65 6e 22 2c |ribute("|hidden",|
|00001ec0| 20 22 74 72 75 65 22 29 | 3b 0d 0a 20 20 20 20 20 | "true")|;.. |
|00001ed0| 20 20 6d 73 67 42 6f 78 | 2e 73 65 74 41 74 74 72 | msgBox|.setAttr|
|00001ee0| 69 62 75 74 65 28 22 76 | 61 6c 75 65 22 2c 20 62 |ibute("v|alue", b|
|00001ef0| 75 6e 64 6c 65 2e 47 65 | 74 53 74 72 69 6e 67 46 |undle.Ge|tStringF|
|00001f00| 72 6f 6d 4e 61 6d 65 28 | 22 70 61 73 73 77 6f 72 |romName(|"passwor|
|00001f10| 64 5f 6e 6f 74 5f 73 65 | 74 22 29 29 3b 20 0d 0a |d_not_se|t")); ..|
|00001f20| 20 20 20 20 20 20 20 6d | 73 67 42 6f 78 2e 73 65 | m|sgBox.se|
|00001f30| 74 41 74 74 72 69 62 75 | 74 65 28 22 68 69 64 64 |tAttribu|te("hidd|
|00001f40| 65 6e 22 2c 20 22 66 61 | 6c 73 65 22 29 3b 0d 0a |en", "fa|lse");..|
|00001f50| 0d 0a 20 20 20 20 20 20 | 20 69 66 20 28 73 74 61 |.. | if (sta|
|00001f60| 74 75 73 20 3d 3d 20 6e | 73 49 50 4b 43 53 31 31 |tus == n|sIPKCS11|
|00001f70| 53 6c 6f 74 2e 53 4c 4f | 54 5f 52 45 41 44 59 29 |Slot.SLO|T_READY)|
|00001f80| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 6f 6c 64 | {.. | old|
|00001f90| 70 77 62 6f 78 2e 73 65 | 74 41 74 74 72 69 62 75 |pwbox.se|tAttribu|
|00001fa0| 74 65 28 22 69 6e 69 74 | 65 64 22 2c 20 22 65 6d |te("init|ed", "em|
|00001fb0| 70 74 79 22 29 3b 0d 0a | 20 20 20 20 20 20 20 7d |pty");..| }|
|00001fc0| 20 65 6c 73 65 20 7b 0d | 0a 20 20 20 20 20 20 20 | else {.|. |
|00001fd0| 20 20 6f 6c 64 70 77 62 | 6f 78 2e 73 65 74 41 74 | oldpwb|ox.setAt|
|00001fe0| 74 72 69 62 75 74 65 28 | 22 69 6e 69 74 65 64 22 |tribute(|"inited"|
|00001ff0| 2c 20 22 74 72 75 65 22 | 29 3b 0d 0a 20 20 20 20 |, "true"|);.. |
|00002000| 20 20 20 7d 0d 0a 20 20 | 20 20 20 20 0d 0a 20 20 | }.. | .. |
|00002010| 20 20 20 20 20 2f 2f 20 | 53 65 6c 65 63 74 20 66 | // |Select f|
|00002020| 69 72 73 74 20 70 61 73 | 73 77 6f 72 64 20 66 69 |irst pas|sword fi|
|00002030| 65 6c 64 0d 0a 20 20 20 | 20 20 20 20 64 6f 63 75 |eld.. | docu|
|00002040| 6d 65 6e 74 2e 67 65 74 | 45 6c 65 6d 65 6e 74 42 |ment.get|ElementB|
|00002050| 79 49 64 28 27 70 77 31 | 27 29 2e 66 6f 63 75 73 |yId('pw1|').focus|
|00002060| 28 29 3b 0d 0a 20 20 20 | 20 0d 0a 20 20 20 20 20 |();.. | .. |
|00002070| 7d 20 65 6c 73 65 20 7b | 0d 0a 20 20 20 20 20 20 |} else {|.. |
|00002080| 20 2f 2f 20 53 65 6c 65 | 63 74 20 6f 6c 64 20 70 | // Sele|ct old p|
|00002090| 61 73 73 77 6f 72 64 20 | 66 69 65 6c 64 0d 0a 20 |assword |field.. |
|000020a0| 20 20 20 20 20 20 6f 6c | 64 70 77 62 6f 78 2e 73 | ol|dpwbox.s|
|000020b0| 65 74 41 74 74 72 69 62 | 75 74 65 28 22 68 69 64 |etAttrib|ute("hid|
|000020c0| 64 65 6e 22 2c 20 22 66 | 61 6c 73 65 22 29 3b 0d |den", "f|alse");.|
|000020d0| 0a 20 20 20 20 20 20 20 | 6d 73 67 42 6f 78 2e 73 |. |msgBox.s|
|000020e0| 65 74 41 74 74 72 69 62 | 75 74 65 28 22 68 69 64 |etAttrib|ute("hid|
|000020f0| 64 65 6e 22 2c 20 22 74 | 72 75 65 22 29 3b 0d 0a |den", "t|rue");..|
|00002100| 20 20 20 20 20 20 20 6f | 6c 64 70 77 62 6f 78 2e | o|ldpwbox.|
|00002110| 73 65 74 41 74 74 72 69 | 62 75 74 65 28 22 69 6e |setAttri|bute("in|
|00002120| 69 74 65 64 22 2c 20 22 | 66 61 6c 73 65 22 29 3b |ited", "|false");|
|00002130| 0d 0a 20 20 20 20 20 20 | 20 6f 6c 64 70 77 62 6f |.. | oldpwbo|
|00002140| 78 2e 66 6f 63 75 73 28 | 29 3b 0d 0a 20 20 20 20 |x.focus(|);.. |
|00002150| 20 7d 0d 0a 20 20 20 7d | 0d 0a 0d 0a 20 20 69 66 | }.. }|.... if|
|00002160| 20 28 70 61 72 61 6d 73 | 29 20 7b 0d 0a 20 20 20 | (params|) {.. |
|00002170| 20 2f 2f 20 52 65 74 75 | 72 6e 20 76 61 6c 75 65 | // Retu|rn value|
|00002180| 20 30 20 6d 65 61 6e 73 | 20 22 63 61 6e 63 65 6c | 0 means| "cancel|
|00002190| 65 64 22 0d 0a 20 20 20 | 20 70 61 72 61 6d 73 2e |ed".. | params.|
|000021a0| 53 65 74 49 6e 74 28 31 | 2c 20 30 29 3b 0d 0a 20 |SetInt(1|, 0);.. |
|000021b0| 20 7d 0d 0a 20 20 0d 0a | 20 20 63 68 65 63 6b 50 | }.. ..| checkP|
|000021c0| 61 73 73 77 6f 72 64 73 | 28 29 3b 0d 0a 7d 0d 0a |asswords|();..}..|
|000021d0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 6f 6e 50 31 32 |..functi|on onP12|
|000021e0| 4c 6f 61 64 28 64 69 73 | 61 62 6c 65 4f 6b 42 75 |Load(dis|ableOkBu|
|000021f0| 74 74 6f 6e 29 0d 0a 7b | 0d 0a 20 20 64 6f 63 75 |tton)..{|.. docu|
|00002200| 6d 65 6e 74 2e 64 6f 63 | 75 6d 65 6e 74 45 6c 65 |ment.doc|umentEle|
|00002210| 6d 65 6e 74 2e 67 65 74 | 42 75 74 74 6f 6e 28 22 |ment.get|Button("|
|00002220| 61 63 63 65 70 74 22 29 | 2e 64 69 73 61 62 6c 65 |accept")|.disable|
|00002230| 64 20 3d 20 64 69 73 61 | 62 6c 65 4f 6b 42 75 74 |d = disa|bleOkBut|
|00002240| 74 6f 6e 3b 0d 0a 20 20 | 70 77 31 20 3d 20 64 6f |ton;.. |pw1 = do|
|00002250| 63 75 6d 65 6e 74 2e 67 | 65 74 45 6c 65 6d 65 6e |cument.g|etElemen|
|00002260| 74 42 79 49 64 28 22 70 | 77 31 22 29 3b 0d 0a 20 |tById("p|w1");.. |
|00002270| 20 70 61 72 61 6d 73 20 | 3d 20 77 69 6e 64 6f 77 | params |= window|
|00002280| 2e 61 72 67 75 6d 65 6e | 74 73 5b 30 5d 2e 51 75 |.argumen|ts[0].Qu|
|00002290| 65 72 79 49 6e 74 65 72 | 66 61 63 65 28 6e 73 49 |eryInter|face(nsI|
|000022a0| 44 69 61 6c 6f 67 50 61 | 72 61 6d 42 6c 6f 63 6b |DialogPa|ramBlock|
|000022b0| 29 3b 0d 0a 20 20 2f 2f | 20 53 65 6c 65 63 74 20 |);.. //| Select |
|000022c0| 66 69 72 73 74 20 70 61 | 73 73 77 6f 72 64 20 66 |first pa|ssword f|
|000022d0| 69 65 6c 64 0d 0a 20 20 | 64 6f 63 75 6d 65 6e 74 |ield.. |document|
|000022e0| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|000022f0| 27 70 77 31 27 29 2e 66 | 6f 63 75 73 28 29 3b 0d |'pw1').f|ocus();.|
|00002300| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 73 |.}....fu|nction s|
|00002310| 65 74 50 61 73 73 77 6f | 72 64 28 29 0d 0a 7b 0d |etPasswo|rd()..{.|
|00002320| 0a 20 20 76 61 72 20 70 | 6b 31 31 64 62 20 3d 20 |. var p|k11db = |
|00002330| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 63 6c 61 73 73 |Componen|ts.class|
|00002340| 65 73 5b 6e 73 50 4b 31 | 31 54 6f 6b 65 6e 44 42 |es[nsPK1|1TokenDB|
|00002350| 5d 2e 67 65 74 53 65 72 | 76 69 63 65 28 6e 73 49 |].getSer|vice(nsI|
|00002360| 50 4b 31 31 54 6f 6b 65 | 6e 44 42 29 3b 0d 0a 20 |PK11Toke|nDB);.. |
|00002370| 20 76 61 72 20 74 6f 6b | 65 6e 20 3d 20 70 6b 31 | var tok|en = pk1|
|00002380| 31 64 62 2e 66 69 6e 64 | 54 6f 6b 65 6e 42 79 4e |1db.find|TokenByN|
|00002390| 61 6d 65 28 74 6f 6b 65 | 6e 4e 61 6d 65 29 3b 0d |ame(toke|nName);.|
|000023a0| 0a 0d 0a 20 20 76 61 72 | 20 6f 6c 64 70 77 62 6f |... var| oldpwbo|
|000023b0| 78 20 3d 20 64 6f 63 75 | 6d 65 6e 74 2e 67 65 74 |x = docu|ment.get|
|000023c0| 45 6c 65 6d 65 6e 74 42 | 79 49 64 28 22 6f 6c 64 |ElementB|yId("old|
|000023d0| 70 77 22 29 3b 0d 0a 20 | 20 76 61 72 20 69 6e 69 |pw");.. | var ini|
|000023e0| 74 70 77 20 3d 20 6f 6c | 64 70 77 62 6f 78 2e 67 |tpw = ol|dpwbox.g|
|000023f0| 65 74 41 74 74 72 69 62 | 75 74 65 28 22 69 6e 69 |etAttrib|ute("ini|
|00002400| 74 65 64 22 29 3b 0d 0a | 20 20 76 61 72 20 62 75 |ted");..| var bu|
|00002410| 6e 64 6c 65 20 3d 20 73 | 72 47 65 74 53 74 72 42 |ndle = s|rGetStrB|
|00002420| 75 6e 64 6c 65 28 22 63 | 68 72 6f 6d 65 3a 2f 2f |undle("c|hrome://|
|00002430| 70 69 70 70 6b 69 2f 6c | 6f 63 61 6c 65 2f 70 69 |pippki/l|ocale/pi|
|00002440| 70 70 6b 69 2e 70 72 6f | 70 65 72 74 69 65 73 22 |ppki.pro|perties"|
|00002450| 29 3b 0d 0a 20 20 0d 0a | 20 20 76 61 72 20 73 75 |);.. ..| var su|
|00002460| 63 63 65 73 73 20 3d 20 | 66 61 6c 73 65 3b 0d 0a |ccess = |false;..|
|00002470| 20 20 0d 0a 20 20 69 66 | 20 28 69 6e 69 74 70 77 | .. if| (initpw|
|00002480| 20 3d 3d 20 22 66 61 6c | 73 65 22 20 7c 7c 20 69 | == "fal|se" || i|
|00002490| 6e 69 74 70 77 20 3d 3d | 20 22 65 6d 70 74 79 22 |nitpw ==| "empty"|
|000024a0| 29 20 7b 0d 0a 20 20 20 | 20 74 72 79 20 7b 0d 0a |) {.. | try {..|
|000024b0| 20 20 20 20 20 20 76 61 | 72 20 6f 6c 64 70 77 20 | va|r oldpw |
|000024c0| 3d 20 22 22 3b 0d 0a 20 | 20 20 20 20 20 76 61 72 |= "";.. | var|
|000024d0| 20 70 61 73 73 6f 6b 20 | 3d 20 30 3b 0d 0a 20 20 | passok |= 0;.. |
|000024e0| 20 20 20 20 0d 0a 20 20 | 20 20 20 20 69 66 20 28 | .. | if (|
|000024f0| 69 6e 69 74 70 77 20 3d | 3d 20 22 65 6d 70 74 79 |initpw =|= "empty|
|00002500| 22 29 20 7b 0d 0a 20 20 | 20 20 20 20 20 20 70 61 |") {.. | pa|
|00002510| 73 73 6f 6b 20 3d 20 31 | 3b 0d 0a 20 20 20 20 20 |ssok = 1|;.. |
|00002520| 20 7d 20 65 6c 73 65 20 | 7b 0d 0a 20 20 20 20 20 | } else |{.. |
|00002530| 20 20 20 6f 6c 64 70 77 | 20 3d 20 6f 6c 64 70 77 | oldpw| = oldpw|
|00002540| 62 6f 78 2e 76 61 6c 75 | 65 3b 0d 0a 20 20 20 20 |box.valu|e;.. |
|00002550| 20 20 20 20 70 61 73 73 | 6f 6b 20 3d 20 74 6f 6b | pass|ok = tok|
|00002560| 65 6e 2e 63 68 65 63 6b | 50 61 73 73 77 6f 72 64 |en.check|Password|
|00002570| 28 6f 6c 64 70 77 29 3b | 0d 0a 20 20 20 20 20 20 |(oldpw);|.. |
|00002580| 7d 0d 0a 20 20 20 20 20 | 20 0d 0a 20 20 20 20 20 |}.. | .. |
|00002590| 20 69 66 20 28 70 61 73 | 73 6f 6b 29 20 7b 0d 0a | if (pas|sok) {..|
|000025a0| 20 20 20 20 20 20 20 20 | 69 66 20 28 69 6e 69 74 | |if (init|
|000025b0| 70 77 20 3d 3d 20 22 65 | 6d 70 74 79 22 20 26 26 |pw == "e|mpty" &&|
|000025c0| 20 70 77 31 2e 76 61 6c | 75 65 20 3d 3d 20 22 22 | pw1.val|ue == ""|
|000025d0| 29 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 2f |) {.. | /|
|000025e0| 2f 20 54 68 69 73 20 6d | 61 6b 65 73 20 6e 6f 20 |/ This m|akes no |
|000025f0| 73 65 6e 73 65 20 74 68 | 61 74 20 77 65 20 61 72 |sense th|at we ar|
|00002600| 72 69 76 65 20 68 65 72 | 65 2c 20 0d 0a 20 20 20 |rive her|e, .. |
|00002610| 20 20 20 20 20 20 20 2f | 2f 20 77 65 20 72 65 61 | /|/ we rea|
|00002620| 63 68 65 64 20 61 20 63 | 61 73 65 20 74 68 61 74 |ched a c|ase that|
|00002630| 20 73 68 6f 75 6c 64 20 | 68 61 76 65 20 62 65 65 | should |have bee|
|00002640| 6e 20 70 72 65 76 65 6e | 74 65 64 20 62 79 20 63 |n preven|ted by c|
|00002650| 68 65 63 6b 50 61 73 73 | 77 6f 72 64 73 2e 0d 0a |heckPass|words...|
|00002660| 20 20 20 20 20 20 20 20 | 7d 20 65 6c 73 65 20 7b | |} else {|
|00002670| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 |.. | if (|
|00002680| 70 77 31 2e 76 61 6c 75 | 65 20 3d 3d 20 22 22 29 |pw1.valu|e == "")|
|00002690| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | {.. | |
|000026a0| 76 61 72 20 73 65 63 6d | 6f 64 64 62 20 3d 20 43 |var secm|oddb = C|
|000026b0| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 63 6c 61 73 73 65 |omponent|s.classe|
|000026c0| 73 5b 6e 73 50 4b 43 53 | 31 31 4d 6f 64 75 6c 65 |s[nsPKCS|11Module|
|000026d0| 44 42 5d 2e 67 65 74 53 | 65 72 76 69 63 65 28 6e |DB].getS|ervice(n|
|000026e0| 73 49 50 4b 43 53 31 31 | 4d 6f 64 75 6c 65 44 42 |sIPKCS11|ModuleDB|
|000026f0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |);.. | |
|00002700| 69 66 20 28 73 65 63 6d | 6f 64 64 62 2e 69 73 46 |if (secm|oddb.isF|
|00002710| 49 50 53 45 6e 61 62 6c | 65 64 29 20 7b 0d 0a 20 |IPSEnabl|ed) {.. |
|00002720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 20 | | // |
|00002730| 65 6d 70 74 79 20 70 61 | 73 73 77 6f 72 64 73 20 |empty pa|sswords |
|00002740| 61 72 65 20 6e 6f 74 20 | 61 6c 6c 6f 77 65 64 20 |are not |allowed |
|00002750| 69 6e 20 46 49 50 53 20 | 6d 6f 64 65 0d 0a 20 20 |in FIPS |mode.. |
|00002760| 20 20 20 20 20 20 20 20 | 20 20 20 20 61 6c 65 72 | | aler|
|00002770| 74 28 62 75 6e 64 6c 65 | 2e 47 65 74 53 74 72 69 |t(bundle|.GetStri|
|00002780| 6e 67 46 72 6f 6d 4e 61 | 6d 65 28 22 70 77 5f 63 |ngFromNa|me("pw_c|
|00002790| 68 61 6e 67 65 32 65 6d | 70 74 79 5f 69 6e 5f 66 |hange2em|pty_in_f|
|000027a0| 69 70 73 5f 6d 6f 64 65 | 22 29 29 3b 0d 0a 20 20 |ips_mode|"));.. |
|000027b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 70 61 73 73 | | pass|
|000027c0| 6f 6b 20 3d 20 30 3b 0d | 0a 20 20 20 20 20 20 20 |ok = 0;.|. |
|000027d0| 20 20 20 20 20 7d 0d 0a | 20 20 20 20 20 20 20 20 | }..| |
|000027e0| 20 20 7d 0d 0a 20 20 20 | 20 20 20 20 20 20 20 69 | }.. | i|
|000027f0| 66 20 28 70 61 73 73 6f | 6b 29 20 7b 0d 0a 20 20 |f (passo|k) {.. |
|00002800| 20 20 20 20 20 20 20 20 | 20 20 74 6f 6b 65 6e 2e | | token.|
|00002810| 63 68 61 6e 67 65 50 61 | 73 73 77 6f 72 64 28 6f |changePa|ssword(o|
|00002820| 6c 64 70 77 2c 20 70 77 | 31 2e 76 61 6c 75 65 29 |ldpw, pw|1.value)|
|00002830| 3b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 69 |;.. | i|
|00002840| 66 20 28 70 77 31 2e 76 | 61 6c 75 65 20 3d 3d 20 |f (pw1.v|alue == |
|00002850| 22 22 29 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 20 |"") {.. | |
|00002860| 20 20 20 20 20 61 6c 65 | 72 74 28 62 75 6e 64 6c | ale|rt(bundl|
|00002870| 65 2e 47 65 74 53 74 72 | 69 6e 67 46 72 6f 6d 4e |e.GetStr|ingFromN|
|00002880| 61 6d 65 28 22 70 77 5f | 65 72 61 73 65 64 5f 6f |ame("pw_|erased_o|
|00002890| 6b 22 29 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |k").. | |
|000028a0| 20 20 20 20 20 20 20 20 | 20 2b 20 22 20 22 0d 0a | | + " "..|
|000028b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028c0| 20 20 20 20 2b 20 62 75 | 6e 64 6c 65 2e 47 65 74 | + bu|ndle.Get|
|000028d0| 53 74 72 69 6e 67 46 72 | 6f 6d 4e 61 6d 65 28 22 |StringFr|omName("|
|000028e0| 70 77 5f 65 6d 70 74 79 | 5f 77 61 72 6e 69 6e 67 |pw_empty|_warning|
|000028f0| 22 29 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |"));.. | |
|00002900| 20 20 7d 20 65 6c 73 65 | 20 7b 0d 0a 20 20 20 20 | } else| {.. |
|00002910| 20 20 20 20 20 20 20 20 | 20 20 61 6c 65 72 74 28 | | alert(|
|00002920| 62 75 6e 64 6c 65 2e 47 | 65 74 53 74 72 69 6e 67 |bundle.G|etString|
|00002930| 46 72 6f 6d 4e 61 6d 65 | 28 22 70 77 5f 63 68 61 |FromName|("pw_cha|
|00002940| 6e 67 65 5f 6f 6b 22 29 | 29 3b 20 0d 0a 20 20 20 |nge_ok")|); .. |
|00002950| 20 20 20 20 20 20 20 20 | 20 7d 0d 0a 20 20 20 20 | | }.. |
|00002960| 20 20 20 20 20 20 20 20 | 73 75 63 63 65 73 73 20 | |success |
|00002970| 3d 20 74 72 75 65 3b 0d | 0a 20 20 20 20 20 20 20 |= true;.|. |
|00002980| 20 20 20 7d 0d 0a 20 20 | 20 20 20 20 20 20 7d 0d | }.. | }.|
|00002990| 0a 20 20 20 20 20 20 7d | 20 65 6c 73 65 20 7b 0d |. }| else {.|
|000029a0| 0a 20 20 20 20 20 20 20 | 20 6f 6c 64 70 77 62 6f |. | oldpwbo|
|000029b0| 78 2e 66 6f 63 75 73 28 | 29 3b 0d 0a 20 20 20 20 |x.focus(|);.. |
|000029c0| 20 20 20 20 6f 6c 64 70 | 77 62 6f 78 2e 73 65 74 | oldp|wbox.set|
|000029d0| 41 74 74 72 69 62 75 74 | 65 28 22 76 61 6c 75 65 |Attribut|e("value|
|000029e0| 22 2c 20 22 22 29 3b 0d | 0a 20 20 20 20 20 20 20 |", "");.|. |
|000029f0| 20 61 6c 65 72 74 28 62 | 75 6e 64 6c 65 2e 47 65 | alert(b|undle.Ge|
|00002a00| 74 53 74 72 69 6e 67 46 | 72 6f 6d 4e 61 6d 65 28 |tStringF|romName(|
|00002a10| 22 69 6e 63 6f 72 72 65 | 63 74 5f 70 77 22 29 29 |"incorre|ct_pw"))|
|00002a20| 3b 20 0d 0a 20 20 20 20 | 20 20 7d 0d 0a 20 20 20 |; .. | }.. |
|00002a30| 20 7d 20 63 61 74 63 68 | 20 28 65 29 20 7b 0d 0a | } catch| (e) {..|
|00002a40| 20 20 20 20 20 20 61 6c | 65 72 74 28 62 75 6e 64 | al|ert(bund|
|00002a50| 6c 65 2e 47 65 74 53 74 | 72 69 6e 67 46 72 6f 6d |le.GetSt|ringFrom|
|00002a60| 4e 61 6d 65 28 22 66 61 | 69 6c 65 64 5f 70 77 5f |Name("fa|iled_pw_|
|00002a70| 63 68 61 6e 67 65 22 29 | 29 3b 20 0d 0a 20 20 20 |change")|); .. |
|00002a80| 20 7d 0d 0a 20 20 7d 20 | 65 6c 73 65 20 7b 0d 0a | }.. } |else {..|
|00002a90| 20 20 20 20 74 6f 6b 65 | 6e 2e 69 6e 69 74 50 61 | toke|n.initPa|
|00002aa0| 73 73 77 6f 72 64 28 70 | 77 31 2e 76 61 6c 75 65 |ssword(p|w1.value|
|00002ab0| 29 3b 0d 0a 20 20 20 20 | 69 66 20 28 70 77 31 2e |);.. |if (pw1.|
|00002ac0| 76 61 6c 75 65 20 3d 3d | 20 22 22 29 20 7b 0d 0a |value ==| "") {..|
|00002ad0| 20 20 20 20 20 20 61 6c | 65 72 74 28 62 75 6e 64 | al|ert(bund|
|00002ae0| 6c 65 2e 47 65 74 53 74 | 72 69 6e 67 46 72 6f 6d |le.GetSt|ringFrom|
|00002af0| 4e 61 6d 65 28 22 70 77 | 5f 6e 6f 74 5f 77 61 6e |Name("pw|_not_wan|
|00002b00| 74 65 64 22 29 0d 0a 20 | 20 20 20 20 20 20 20 20 |ted").. | |
|00002b10| 20 20 20 2b 20 22 20 22 | 20 0d 0a 20 20 20 20 20 | + " "| .. |
|00002b20| 20 20 20 20 20 20 20 2b | 20 62 75 6e 64 6c 65 2e | +| bundle.|
|00002b30| 47 65 74 53 74 72 69 6e | 67 46 72 6f 6d 4e 61 6d |GetStrin|gFromNam|
|00002b40| 65 28 22 70 77 5f 65 6d | 70 74 79 5f 77 61 72 6e |e("pw_em|pty_warn|
|00002b50| 69 6e 67 22 29 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |ing"));.|. }..|
|00002b60| 20 20 20 20 73 75 63 63 | 65 73 73 20 3d 20 74 72 | succ|ess = tr|
|00002b70| 75 65 3b 0d 0a 20 20 7d | 0d 0a 0d 0a 20 20 69 66 |ue;.. }|.... if|
|00002b80| 20 28 73 75 63 63 65 73 | 73 20 26 26 20 70 61 72 | (succes|s && par|
|00002b90| 61 6d 73 29 0d 0a 20 20 | 20 20 2f 2f 20 52 65 74 |ams).. | // Ret|
|00002ba0| 75 72 6e 20 76 61 6c 75 | 65 20 31 20 6d 65 61 6e |urn valu|e 1 mean|
|00002bb0| 73 20 22 73 75 63 63 65 | 73 73 66 75 6c 6c 79 20 |s "succe|ssfully |
|00002bc0| 65 78 65 63 75 74 65 64 | 20 6f 6b 22 0d 0a 20 20 |executed| ok".. |
|00002bd0| 20 20 70 61 72 61 6d 73 | 2e 53 65 74 49 6e 74 28 | params|.SetInt(|
|00002be0| 31 2c 20 31 29 3b 0d 0a | 0d 0a 20 20 2f 2f 20 54 |1, 1);..|.. // T|
|00002bf0| 65 72 6d 69 6e 61 74 65 | 20 64 69 61 6c 6f 67 0d |erminate| dialog.|
|00002c00| 0a 20 20 72 65 74 75 72 | 6e 20 73 75 63 63 65 73 |. retur|n succes|
|00002c10| 73 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |s;..}...|.functio|
|00002c20| 6e 20 67 65 74 50 61 73 | 73 77 6f 72 64 28 29 0d |n getPas|sword().|
|00002c30| 0a 7b 0d 0a 20 20 2f 2f | 20 67 72 61 62 20 77 68 |.{.. //| grab wh|
|00002c40| 61 74 20 77 61 73 20 65 | 6e 74 65 72 65 64 0d 0a |at was e|ntered..|
|00002c50| 20 20 70 61 72 61 6d 73 | 2e 53 65 74 53 74 72 69 | params|.SetStri|
|00002c60| 6e 67 28 32 2c 20 70 77 | 31 2e 76 61 6c 75 65 29 |ng(2, pw|1.value)|
|00002c70| 3b 0d 0a 20 20 2f 2f 20 | 52 65 74 75 72 6e 20 76 |;.. // |Return v|
|00002c80| 61 6c 75 65 0d 0a 20 20 | 70 61 72 61 6d 73 2e 53 |alue.. |params.S|
|00002c90| 65 74 49 6e 74 28 31 2c | 20 31 29 3b 0d 0a 20 20 |etInt(1,| 1);.. |
|00002ca0| 2f 2f 20 54 65 72 6d 69 | 6e 61 74 65 20 64 69 61 |// Termi|nate dia|
|00002cb0| 6c 6f 67 0d 0a 20 20 72 | 65 74 75 72 6e 20 74 72 |log.. r|eturn tr|
|00002cc0| 75 65 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |ue;..}..|..functi|
|00002cd0| 6f 6e 20 73 65 74 50 31 | 32 50 61 73 73 77 6f 72 |on setP1|2Passwor|
|00002ce0| 64 28 29 0d 0a 7b 0d 0a | 20 20 2f 2f 20 67 72 61 |d()..{..| // gra|
|00002cf0| 62 20 77 68 61 74 20 77 | 61 73 20 65 6e 74 65 72 |b what w|as enter|
|00002d00| 65 64 0d 0a 20 20 70 61 | 72 61 6d 73 2e 53 65 74 |ed.. pa|rams.Set|
|00002d10| 53 74 72 69 6e 67 28 32 | 2c 20 70 77 31 2e 76 61 |String(2|, pw1.va|
|00002d20| 6c 75 65 29 3b 0d 0a 20 | 20 2f 2f 20 52 65 74 75 |lue);.. | // Retu|
|00002d30| 72 6e 20 76 61 6c 75 65 | 0d 0a 20 20 70 61 72 61 |rn value|.. para|
|00002d40| 6d 73 2e 53 65 74 49 6e | 74 28 31 2c 20 31 29 3b |ms.SetIn|t(1, 1);|
|00002d50| 0d 0a 20 20 2f 2f 20 54 | 65 72 6d 69 6e 61 74 65 |.. // T|erminate|
|00002d60| 20 64 69 61 6c 6f 67 0d | 0a 20 20 72 65 74 75 72 | dialog.|. retur|
|00002d70| 6e 20 74 72 75 65 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |n true;.|.}....fu|
|00002d80| 6e 63 74 69 6f 6e 20 73 | 65 74 50 61 73 73 77 6f |nction s|etPasswo|
|00002d90| 72 64 53 74 72 65 6e 67 | 74 68 28 29 0d 0a 7b 0d |rdStreng|th()..{.|
|00002da0| 0a 2f 2f 20 48 65 72 65 | 20 69 73 20 68 6f 77 20 |.// Here| is how |
|00002db0| 77 65 20 77 65 69 67 68 | 20 74 68 65 20 71 75 61 |we weigh| the qua|
|00002dc0| 6c 69 74 79 20 6f 66 20 | 74 68 65 20 70 61 73 73 |lity of |the pass|
|00002dd0| 77 6f 72 64 0d 0a 2f 2f | 20 6e 75 6d 62 65 72 20 |word..//| number |
|00002de0| 6f 66 20 63 68 61 72 61 | 63 74 65 72 73 0d 0a 2f |of chara|cters../|
|00002df0| 2f 20 6e 75 6d 62 65 72 | 73 0d 0a 2f 2f 20 6e 6f |/ number|s..// no|
|00002e00| 6e 2d 61 6c 70 68 61 2d | 6e 75 6d 65 72 69 63 20 |n-alpha-|numeric |
|00002e10| 63 68 61 72 73 0d 0a 2f | 2f 20 75 70 70 65 72 20 |chars../|/ upper |
|00002e20| 61 6e 64 20 6c 6f 77 65 | 72 20 63 61 73 65 20 63 |and lowe|r case c|
|00002e30| 68 61 72 61 63 74 65 72 | 73 0d 0a 0d 0a 20 20 76 |haracter|s.... v|
|00002e40| 61 72 20 70 77 3d 64 6f | 63 75 6d 65 6e 74 2e 67 |ar pw=do|cument.g|
|00002e50| 65 74 45 6c 65 6d 65 6e | 74 42 79 49 64 28 27 70 |etElemen|tById('p|
|00002e60| 77 31 27 29 2e 76 61 6c | 75 65 3b 0d 0a 2f 2f 20 |w1').val|ue;..// |
|00002e70| 20 61 6c 65 72 74 28 22 | 70 61 73 73 77 6f 72 64 | alert("|password|
|00002e80| 3d 27 22 20 2b 20 70 77 | 20 2b 22 27 22 29 3b 0d |='" + pw| +"'");.|
|00002e90| 0a 0d 0a 2f 2f 6c 65 6e | 67 74 68 20 6f 66 20 74 |...//len|gth of t|
|00002ea0| 68 65 20 70 61 73 73 77 | 6f 72 64 0d 0a 20 20 76 |he passw|ord.. v|
|00002eb0| 61 72 20 70 77 6c 65 6e | 67 74 68 3d 28 70 77 2e |ar pwlen|gth=(pw.|
|00002ec0| 6c 65 6e 67 74 68 29 3b | 0d 0a 20 20 69 66 20 28 |length);|.. if (|
|00002ed0| 70 77 6c 65 6e 67 74 68 | 3e 35 29 0d 0a 20 20 20 |pwlength|>5).. |
|00002ee0| 20 70 77 6c 65 6e 67 74 | 68 3d 35 3b 0d 0a 0d 0a | pwlengt|h=5;....|
|00002ef0| 0d 0a 2f 2f 75 73 65 20 | 6f 66 20 6e 75 6d 62 65 |..//use |of numbe|
|00002f00| 72 73 20 69 6e 20 74 68 | 65 20 70 61 73 73 77 6f |rs in th|e passwo|
|00002f10| 72 64 0d 0a 20 20 76 61 | 72 20 6e 75 6d 6e 75 6d |rd.. va|r numnum|
|00002f20| 65 72 69 63 20 3d 20 70 | 77 2e 72 65 70 6c 61 63 |eric = p|w.replac|
|00002f30| 65 20 28 2f 5b 30 2d 39 | 5d 2f 67 2c 20 22 22 29 |e (/[0-9|]/g, "")|
|00002f40| 3b 0d 0a 20 20 76 61 72 | 20 6e 75 6d 65 72 69 63 |;.. var| numeric|
|00002f50| 3d 28 70 77 2e 6c 65 6e | 67 74 68 20 2d 20 6e 75 |=(pw.len|gth - nu|
|00002f60| 6d 6e 75 6d 65 72 69 63 | 2e 6c 65 6e 67 74 68 29 |mnumeric|.length)|
|00002f70| 3b 0d 0a 20 20 69 66 20 | 28 6e 75 6d 65 72 69 63 |;.. if |(numeric|
|00002f80| 3e 33 29 0d 0a 20 20 20 | 20 6e 75 6d 65 72 69 63 |>3).. | numeric|
|00002f90| 3d 33 3b 0d 0a 0d 0a 2f | 2f 75 73 65 20 6f 66 20 |=3;..../|/use of |
|00002fa0| 73 79 6d 62 6f 6c 73 20 | 69 6e 20 74 68 65 20 70 |symbols |in the p|
|00002fb0| 61 73 73 77 6f 72 64 0d | 0a 20 20 76 61 72 20 73 |assword.|. var s|
|00002fc0| 79 6d 62 6f 6c 73 20 3d | 20 70 77 2e 72 65 70 6c |ymbols =| pw.repl|
|00002fd0| 61 63 65 20 28 2f 5c 57 | 2f 67 2c 20 22 22 29 3b |ace (/\W|/g, "");|
|00002fe0| 0d 0a 20 20 76 61 72 20 | 6e 75 6d 73 79 6d 62 6f |.. var |numsymbo|
|00002ff0| 6c 73 3d 28 70 77 2e 6c | 65 6e 67 74 68 20 2d 20 |ls=(pw.l|ength - |
|00003000| 73 79 6d 62 6f 6c 73 2e | 6c 65 6e 67 74 68 29 3b |symbols.|length);|
|00003010| 0d 0a 20 20 69 66 20 28 | 6e 75 6d 73 79 6d 62 6f |.. if (|numsymbo|
|00003020| 6c 73 3e 33 29 0d 0a 20 | 20 20 20 6e 75 6d 73 79 |ls>3).. | numsy|
|00003030| 6d 62 6f 6c 73 3d 33 3b | 0d 0a 0d 0a 2f 2f 75 73 |mbols=3;|....//us|
|00003040| 65 20 6f 66 20 75 70 70 | 65 72 63 61 73 65 20 69 |e of upp|ercase i|
|00003050| 6e 20 74 68 65 20 70 61 | 73 73 77 6f 72 64 0d 0a |n the pa|ssword..|
|00003060| 20 20 76 61 72 20 6e 75 | 6d 75 70 70 65 72 20 3d | var nu|mupper =|
|00003070| 20 70 77 2e 72 65 70 6c | 61 63 65 20 28 2f 5b 41 | pw.repl|ace (/[A|
|00003080| 2d 5a 5d 2f 67 2c 20 22 | 22 29 3b 0d 0a 20 20 76 |-Z]/g, "|");.. v|
|00003090| 61 72 20 75 70 70 65 72 | 3d 28 70 77 2e 6c 65 6e |ar upper|=(pw.len|
|000030a0| 67 74 68 20 2d 20 6e 75 | 6d 75 70 70 65 72 2e 6c |gth - nu|mupper.l|
|000030b0| 65 6e 67 74 68 29 3b 0d | 0a 20 20 69 66 20 28 75 |ength);.|. if (u|
|000030c0| 70 70 65 72 3e 33 29 0d | 0a 20 20 20 20 75 70 70 |pper>3).|. upp|
|000030d0| 65 72 3d 33 3b 0d 0a 0d | 0a 0d 0a 20 20 76 61 72 |er=3;...|... var|
|000030e0| 20 70 77 73 74 72 65 6e | 67 74 68 3d 28 28 70 77 | pwstren|gth=((pw|
|000030f0| 6c 65 6e 67 74 68 2a 31 | 30 29 2d 32 30 29 20 2b |length*1|0)-20) +|
|00003100| 20 28 6e 75 6d 65 72 69 | 63 2a 31 30 29 20 2b 20 | (numeri|c*10) + |
|00003110| 28 6e 75 6d 73 79 6d 62 | 6f 6c 73 2a 31 35 29 20 |(numsymb|ols*15) |
|00003120| 2b 20 28 75 70 70 65 72 | 2a 31 30 29 3b 0d 0a 0d |+ (upper|*10);...|
|00003130| 0a 20 20 2f 2f 20 6d 61 | 6b 65 20 73 75 72 65 20 |. // ma|ke sure |
|00003140| 77 65 27 72 65 20 67 69 | 76 65 20 61 20 76 61 6c |we're gi|ve a val|
|00003150| 75 65 20 62 65 74 77 65 | 65 6e 20 30 20 61 6e 64 |ue betwe|en 0 and|
|00003160| 20 31 30 30 0d 0a 20 20 | 69 66 20 28 20 70 77 73 | 100.. |if ( pws|
|00003170| 74 72 65 6e 67 74 68 20 | 3c 20 30 20 29 20 7b 0d |trength |< 0 ) {.|
|00003180| 0a 20 20 20 20 70 77 73 | 74 72 65 6e 67 74 68 20 |. pws|trength |
|00003190| 3d 20 30 3b 0d 0a 20 20 | 7d 0d 0a 20 20 0d 0a 20 |= 0;.. |}.. .. |
|000031a0| 20 69 66 20 28 20 70 77 | 73 74 72 65 6e 67 74 68 | if ( pw|strength|
|000031b0| 20 3e 20 31 30 30 20 29 | 20 7b 0d 0a 20 20 20 20 | > 100 )| {.. |
|000031c0| 70 77 73 74 72 65 6e 67 | 74 68 20 3d 20 31 30 30 |pwstreng|th = 100|
|000031d0| 3b 0d 0a 20 20 7d 0d 0a | 0d 0a 20 20 76 61 72 20 |;.. }..|.. var |
|000031e0| 6d 79 6d 65 74 65 72 3d | 64 6f 63 75 6d 65 6e 74 |mymeter=|document|
|000031f0| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00003200| 27 70 77 6d 65 74 65 72 | 27 29 3b 0d 0a 20 20 6d |'pwmeter|');.. m|
|00003210| 79 6d 65 74 65 72 2e 73 | 65 74 41 74 74 72 69 62 |ymeter.s|etAttrib|
|00003220| 75 74 65 28 22 76 61 6c | 75 65 22 2c 70 77 73 74 |ute("val|ue",pwst|
|00003230| 72 65 6e 67 74 68 29 3b | 0d 0a 0d 0a 20 20 72 65 |rength);|.... re|
|00003240| 74 75 72 6e 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |turn;..}|....func|
|00003250| 74 69 6f 6e 20 63 68 65 | 63 6b 50 61 73 73 77 6f |tion che|ckPasswo|
|00003260| 72 64 73 28 29 0d 0a 7b | 0d 0a 20 20 76 61 72 20 |rds()..{|.. var |
|00003270| 70 77 31 3d 64 6f 63 75 | 6d 65 6e 74 2e 67 65 74 |pw1=docu|ment.get|
|00003280| 45 6c 65 6d 65 6e 74 42 | 79 49 64 28 27 70 77 31 |ElementB|yId('pw1|
|00003290| 27 29 2e 76 61 6c 75 65 | 3b 0d 0a 20 20 76 61 72 |').value|;.. var|
|000032a0| 20 70 77 32 3d 64 6f 63 | 75 6d 65 6e 74 2e 67 65 | pw2=doc|ument.ge|
|000032b0| 74 45 6c 65 6d 65 6e 74 | 42 79 49 64 28 27 70 77 |tElement|ById('pw|
|000032c0| 32 27 29 2e 76 61 6c 75 | 65 3b 0d 0a 0d 0a 20 20 |2').valu|e;.... |
|000032d0| 76 61 72 20 6f 6c 64 70 | 77 62 6f 78 20 3d 20 64 |var oldp|wbox = d|
|000032e0| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|000032f0| 6e 74 42 79 49 64 28 22 | 6f 6c 64 70 77 22 29 3b |ntById("|oldpw");|
|00003300| 0d 0a 20 20 69 66 20 28 | 6f 6c 64 70 77 62 6f 78 |.. if (|oldpwbox|
|00003310| 29 20 7b 0d 0a 20 20 20 | 20 76 61 72 20 69 6e 69 |) {.. | var ini|
|00003320| 74 70 77 20 3d 20 6f 6c | 64 70 77 62 6f 78 2e 67 |tpw = ol|dpwbox.g|
|00003330| 65 74 41 74 74 72 69 62 | 75 74 65 28 22 69 6e 69 |etAttrib|ute("ini|
|00003340| 74 65 64 22 29 3b 0d 0a | 0d 0a 20 20 20 20 69 66 |ted");..|.. if|
|00003350| 20 28 69 6e 69 74 70 77 | 20 3d 3d 20 22 65 6d 70 | (initpw| == "emp|
|00003360| 74 79 22 20 26 26 20 70 | 77 31 20 3d 3d 20 22 22 |ty" && p|w1 == ""|
|00003370| 29 20 7b 0d 0a 20 20 20 | 20 20 20 2f 2f 20 54 68 |) {.. | // Th|
|00003380| 65 20 74 6f 6b 65 6e 20 | 68 61 73 20 61 6c 72 65 |e token |has alre|
|00003390| 61 64 79 20 62 65 65 6e | 20 69 6e 69 74 69 61 6c |ady been| initial|
|000033a0| 69 7a 65 64 2c 20 74 68 | 65 72 65 66 6f 72 65 20 |ized, th|erefore |
|000033b0| 74 68 69 73 20 64 69 61 | 6c 6f 67 0d 0a 20 20 20 |this dia|log.. |
|000033c0| 20 20 20 2f 2f 20 77 61 | 73 20 63 61 6c 6c 65 64 | // wa|s called|
|000033d0| 20 77 69 74 68 20 74 68 | 65 20 69 6e 74 65 6e 74 | with th|e intent|
|000033e0| 69 6f 6e 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |ion to c|hange th|
|000033f0| 65 20 70 61 73 73 77 6f | 72 64 2e 0d 0a 20 20 20 |e passwo|rd... |
|00003400| 20 20 20 2f 2f 20 54 68 | 65 20 74 6f 6b 65 6e 20 | // Th|e token |
|00003410| 63 75 72 72 65 6e 74 6c | 79 20 75 73 65 73 20 61 |currentl|y uses a|
|00003420| 6e 20 65 6d 70 74 79 20 | 70 61 73 73 77 6f 72 64 |n empty |password|
|00003430| 2e 0d 0a 20 20 20 20 20 | 20 2f 2f 20 57 65 20 77 |... | // We w|
|00003440| 69 6c 6c 20 6e 6f 74 20 | 61 6c 6c 6f 77 20 63 68 |ill not |allow ch|
|00003450| 61 6e 67 69 6e 67 20 74 | 68 65 20 70 61 73 73 77 |anging t|he passw|
|00003460| 6f 72 64 20 66 72 6f 6d | 20 65 6d 70 74 79 20 74 |ord from| empty t|
|00003470| 6f 20 65 6d 70 74 79 2e | 0d 0a 20 20 20 20 20 20 |o empty.|.. |
|00003480| 64 6f 63 75 6d 65 6e 74 | 2e 64 6f 63 75 6d 65 6e |document|.documen|
|00003490| 74 45 6c 65 6d 65 6e 74 | 2e 67 65 74 42 75 74 74 |tElement|.getButt|
|000034a0| 6f 6e 28 22 61 63 63 65 | 70 74 22 29 2e 64 69 73 |on("acce|pt").dis|
|000034b0| 61 62 6c 65 64 20 3d 20 | 74 72 75 65 3b 0d 0a 20 |abled = |true;.. |
|000034c0| 20 20 20 20 20 72 65 74 | 75 72 6e 3b 0d 0a 20 20 | ret|urn;.. |
|000034d0| 20 20 7d 0d 0a 20 20 7d | 0d 0a 0d 0a 20 20 64 6f | }.. }|.... do|
|000034e0| 63 75 6d 65 6e 74 2e 64 | 6f 63 75 6d 65 6e 74 45 |cument.d|ocumentE|
|000034f0| 6c 65 6d 65 6e 74 2e 67 | 65 74 42 75 74 74 6f 6e |lement.g|etButton|
|00003500| 28 22 61 63 63 65 70 74 | 22 29 2e 64 69 73 61 62 |("accept|").disab|
|00003510| 6c 65 64 20 3d 20 28 70 | 77 31 20 21 3d 20 70 77 |led = (p|w1 != pw|
|00003520| 32 29 3b 0d 0a 7d 0d 0a | 50 4b 03 04 0a 00 00 00 |2);..}..|PK......|
|00003530| 00 00 4a 5e 89 31 36 09 | 39 48 03 0e 00 00 03 0e |..J^.16.|9H......|
|00003540| 00 00 1f 00 00 00 63 6f | 6e 74 65 6e 74 2f 70 69 |......co|ntent/pi|
|00003550| 70 70 6b 69 2f 72 65 73 | 65 74 70 61 73 73 77 6f |ppki/res|etpasswo|
|00003560| 72 64 2e 6a 73 2f 2a 20 | 2a 2a 2a 2a 2a 20 42 45 |rd.js/* |***** BE|
|00003570| 47 49 4e 20 4c 49 43 45 | 4e 53 45 20 42 4c 4f 43 |GIN LICE|NSE BLOC|
|00003580| 4b 20 2a 2a 2a 2a 2a 0d | 0a 20 2a 20 56 65 72 73 |K *****.|. * Vers|
|00003590| 69 6f 6e 3a 20 4d 50 4c | 20 31 2e 31 2f 47 50 4c |ion: MPL| 1.1/GPL|
|000035a0| 20 32 2e 30 2f 4c 47 50 | 4c 20 32 2e 31 0d 0a 20 | 2.0/LGP|L 2.1.. |
|000035b0| 2a 0d 0a 20 2a 20 54 68 | 65 20 63 6f 6e 74 65 6e |*.. * Th|e conten|
|000035c0| 74 73 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |ts of th|is file |
|000035d0| 61 72 65 20 73 75 62 6a | 65 63 74 20 74 6f 20 74 |are subj|ect to t|
|000035e0| 68 65 20 4d 6f 7a 69 6c | 6c 61 20 50 75 62 6c 69 |he Mozil|la Publi|
|000035f0| 63 20 4c 69 63 65 6e 73 | 65 20 56 65 72 73 69 6f |c Licens|e Versio|
|00003600| 6e 0d 0a 20 2a 20 31 2e | 31 20 28 74 68 65 20 22 |n.. * 1.|1 (the "|
|00003610| 4c 69 63 65 6e 73 65 22 | 29 3b 20 79 6f 75 20 6d |License"|); you m|
|00003620| 61 79 20 6e 6f 74 20 75 | 73 65 20 74 68 69 73 20 |ay not u|se this |
|00003630| 66 69 6c 65 20 65 78 63 | 65 70 74 20 69 6e 20 63 |file exc|ept in c|
|00003640| 6f 6d 70 6c 69 61 6e 63 | 65 20 77 69 74 68 0d 0a |omplianc|e with..|
|00003650| 20 2a 20 74 68 65 20 4c | 69 63 65 6e 73 65 2e 20 | * the L|icense. |
|00003660| 59 6f 75 20 6d 61 79 20 | 6f 62 74 61 69 6e 20 61 |You may |obtain a|
|00003670| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 4c 69 63 | copy of| the Lic|
|00003680| 65 6e 73 65 20 61 74 0d | 0a 20 2a 20 68 74 74 70 |ense at.|. * http|
|00003690| 3a 2f 2f 77 77 77 2e 6d | 6f 7a 69 6c 6c 61 2e 6f |://www.m|ozilla.o|
|000036a0| 72 67 2f 4d 50 4c 2f 0d | 0a 20 2a 0d 0a 20 2a 20 |rg/MPL/.|. *.. * |
|000036b0| 53 6f 66 74 77 61 72 65 | 20 64 69 73 74 72 69 62 |Software| distrib|
|000036c0| 75 74 65 64 20 75 6e 64 | 65 72 20 74 68 65 20 4c |uted und|er the L|
|000036d0| 69 63 65 6e 73 65 20 69 | 73 20 64 69 73 74 72 69 |icense i|s distri|
|000036e0| 62 75 74 65 64 20 6f 6e | 20 61 6e 20 22 41 53 20 |buted on| an "AS |
|000036f0| 49 53 22 20 62 61 73 69 | 73 2c 0d 0a 20 2a 20 57 |IS" basi|s,.. * W|
|00003700| 49 54 48 4f 55 54 20 57 | 41 52 52 41 4e 54 59 20 |ITHOUT W|ARRANTY |
|00003710| 4f 46 20 41 4e 59 20 4b | 49 4e 44 2c 20 65 69 74 |OF ANY K|IND, eit|
|00003720| 68 65 72 20 65 78 70 72 | 65 73 73 20 6f 72 20 69 |her expr|ess or i|
|00003730| 6d 70 6c 69 65 64 2e 20 | 53 65 65 20 74 68 65 20 |mplied. |See the |
|00003740| 4c 69 63 65 6e 73 65 0d | 0a 20 2a 20 66 6f 72 20 |License.|. * for |
|00003750| 74 68 65 20 73 70 65 63 | 69 66 69 63 20 6c 61 6e |the spec|ific lan|
|00003760| 67 75 61 67 65 20 67 6f | 76 65 72 6e 69 6e 67 20 |guage go|verning |
|00003770| 72 69 67 68 74 73 20 61 | 6e 64 20 6c 69 6d 69 74 |rights a|nd limit|
|00003780| 61 74 69 6f 6e 73 20 75 | 6e 64 65 72 20 74 68 65 |ations u|nder the|
|00003790| 0d 0a 20 2a 20 4c 69 63 | 65 6e 73 65 2e 0d 0a 20 |.. * Lic|ense... |
|000037a0| 2a 0d 0a 20 2a 20 54 68 | 65 20 4f 72 69 67 69 6e |*.. * Th|e Origin|
|000037b0| 61 6c 20 43 6f 64 65 20 | 69 73 20 6d 6f 7a 69 6c |al Code |is mozil|
|000037c0| 6c 61 2e 6f 72 67 20 63 | 6f 64 65 2e 0d 0a 20 2a |la.org c|ode... *|
|000037d0| 0d 0a 20 2a 20 54 68 65 | 20 49 6e 69 74 69 61 6c |.. * The| Initial|
|000037e0| 20 44 65 76 65 6c 6f 70 | 65 72 20 6f 66 20 74 68 | Develop|er of th|
|000037f0| 65 20 4f 72 69 67 69 6e | 61 6c 20 43 6f 64 65 20 |e Origin|al Code |
|00003800| 69 73 0d 0a 20 2a 20 4e | 65 74 73 63 61 70 65 20 |is.. * N|etscape |
|00003810| 43 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 43 |Communic|ations C|
|00003820| 6f 72 70 6f 72 61 74 69 | 6f 6e 2e 0d 0a 20 2a 20 |orporati|on... * |
|00003830| 50 6f 72 74 69 6f 6e 73 | 20 63 72 65 61 74 65 64 |Portions| created|
|00003840| 20 62 79 20 74 68 65 20 | 49 6e 69 74 69 61 6c 20 | by the |Initial |
|00003850| 44 65 76 65 6c 6f 70 65 | 72 20 61 72 65 20 43 6f |Develope|r are Co|
|00003860| 70 79 72 69 67 68 74 20 | 28 43 29 20 32 30 30 31 |pyright |(C) 2001|
|00003870| 0d 0a 20 2a 20 74 68 65 | 20 49 6e 69 74 69 61 6c |.. * the| Initial|
|00003880| 20 44 65 76 65 6c 6f 70 | 65 72 2e 20 41 6c 6c 20 | Develop|er. All |
|00003890| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|000038a0| 0d 0a 20 2a 0d 0a 20 2a | 20 43 6f 6e 74 72 69 62 |.. *.. *| Contrib|
|000038b0| 75 74 6f 72 28 73 29 3a | 0d 0a 20 2a 0d 0a 20 2a |utor(s):|.. *.. *|
|000038c0| 20 41 6c 74 65 72 6e 61 | 74 69 76 65 6c 79 2c 20 | Alterna|tively, |
|000038d0| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|000038e0| 74 68 69 73 20 66 69 6c | 65 20 6d 61 79 20 62 65 |this fil|e may be|
|000038f0| 20 75 73 65 64 20 75 6e | 64 65 72 20 74 68 65 20 | used un|der the |
|00003900| 74 65 72 6d 73 20 6f 66 | 0d 0a 20 2a 20 65 69 74 |terms of|.. * eit|
|00003910| 68 65 72 20 74 68 65 20 | 47 4e 55 20 47 65 6e 65 |her the |GNU Gene|
|00003920| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00003930| 73 65 20 56 65 72 73 69 | 6f 6e 20 32 20 6f 72 20 |se Versi|on 2 or |
|00003940| 6c 61 74 65 72 20 28 74 | 68 65 20 22 47 50 4c 22 |later (t|he "GPL"|
|00003950| 29 2c 20 6f 72 0d 0a 20 | 2a 20 74 68 65 20 47 4e |), or.. |* the GN|
|00003960| 55 20 4c 65 73 73 65 72 | 20 47 65 6e 65 72 61 6c |U Lesser| General|
|00003970| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|00003980| 56 65 72 73 69 6f 6e 20 | 32 2e 31 20 6f 72 20 6c |Version |2.1 or l|
|00003990| 61 74 65 72 20 28 74 68 | 65 20 22 4c 47 50 4c 22 |ater (th|e "LGPL"|
|000039a0| 29 2c 0d 0a 20 2a 20 69 | 6e 20 77 68 69 63 68 20 |),.. * i|n which |
|000039b0| 63 61 73 65 20 74 68 65 | 20 70 72 6f 76 69 73 69 |case the| provisi|
|000039c0| 6f 6e 73 20 6f 66 20 74 | 68 65 20 47 50 4c 20 6f |ons of t|he GPL o|
|000039d0| 72 20 74 68 65 20 4c 47 | 50 4c 20 61 72 65 20 61 |r the LG|PL are a|
|000039e0| 70 70 6c 69 63 61 62 6c | 65 20 69 6e 73 74 65 61 |pplicabl|e instea|
|000039f0| 64 0d 0a 20 2a 20 6f 66 | 20 74 68 6f 73 65 20 61 |d.. * of| those a|
|00003a00| 62 6f 76 65 2e 20 49 66 | 20 79 6f 75 20 77 69 73 |bove. If| you wis|
|00003a10| 68 20 74 6f 20 61 6c 6c | 6f 77 20 75 73 65 20 6f |h to all|ow use o|
|00003a20| 66 20 79 6f 75 72 20 76 | 65 72 73 69 6f 6e 20 6f |f your v|ersion o|
|00003a30| 66 20 74 68 69 73 20 66 | 69 6c 65 20 6f 6e 6c 79 |f this f|ile only|
|00003a40| 0d 0a 20 2a 20 75 6e 64 | 65 72 20 74 68 65 20 74 |.. * und|er the t|
|00003a50| 65 72 6d 73 20 6f 66 20 | 65 69 74 68 65 72 20 74 |erms of |either t|
|00003a60| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00003a70| 50 4c 2c 20 61 6e 64 20 | 6e 6f 74 20 74 6f 20 61 |PL, and |not to a|
|00003a80| 6c 6c 6f 77 20 6f 74 68 | 65 72 73 20 74 6f 0d 0a |llow oth|ers to..|
|00003a90| 20 2a 20 75 73 65 20 79 | 6f 75 72 20 76 65 72 73 | * use y|our vers|
|00003aa0| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 66 69 6c 65 |ion of t|his file|
|00003ab0| 20 75 6e 64 65 72 20 74 | 68 65 20 74 65 72 6d 73 | under t|he terms|
|00003ac0| 20 6f 66 20 74 68 65 20 | 4d 50 4c 2c 20 69 6e 64 | of the |MPL, ind|
|00003ad0| 69 63 61 74 65 20 79 6f | 75 72 0d 0a 20 2a 20 64 |icate yo|ur.. * d|
|00003ae0| 65 63 69 73 69 6f 6e 20 | 62 79 20 64 65 6c 65 74 |ecision |by delet|
|00003af0| 69 6e 67 20 74 68 65 20 | 70 72 6f 76 69 73 69 6f |ing the |provisio|
|00003b00| 6e 73 20 61 62 6f 76 65 | 20 61 6e 64 20 72 65 70 |ns above| and rep|
|00003b10| 6c 61 63 65 20 74 68 65 | 6d 20 77 69 74 68 20 74 |lace the|m with t|
|00003b20| 68 65 20 6e 6f 74 69 63 | 65 0d 0a 20 2a 20 61 6e |he notic|e.. * an|
|00003b30| 64 20 6f 74 68 65 72 20 | 70 72 6f 76 69 73 69 6f |d other |provisio|
|00003b40| 6e 73 20 72 65 71 75 69 | 72 65 64 20 62 79 20 74 |ns requi|red by t|
|00003b50| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00003b60| 50 4c 2e 20 49 66 20 79 | 6f 75 20 64 6f 20 6e 6f |PL. If y|ou do no|
|00003b70| 74 20 64 65 6c 65 74 65 | 0d 0a 20 2a 20 74 68 65 |t delete|.. * the|
|00003b80| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 61 62 6f 76 | provisi|ons abov|
|00003b90| 65 2c 20 61 20 72 65 63 | 69 70 69 65 6e 74 20 6d |e, a rec|ipient m|
|00003ba0| 61 79 20 75 73 65 20 79 | 6f 75 72 20 76 65 72 73 |ay use y|our vers|
|00003bb0| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 66 69 6c 65 |ion of t|his file|
|00003bc0| 20 75 6e 64 65 72 0d 0a | 20 2a 20 74 68 65 20 74 | under..| * the t|
|00003bd0| 65 72 6d 73 20 6f 66 20 | 61 6e 79 20 6f 6e 65 20 |erms of |any one |
|00003be0| 6f 66 20 74 68 65 20 4d | 50 4c 2c 20 74 68 65 20 |of the M|PL, the |
|00003bf0| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2e |GPL or t|he LGPL.|
|00003c00| 0d 0a 20 2a 0d 0a 20 2a | 20 2a 2a 2a 2a 2a 20 45 |.. *.. *| ***** E|
|00003c10| 4e 44 20 4c 49 43 45 4e | 53 45 20 42 4c 4f 43 4b |ND LICEN|SE BLOCK|
|00003c20| 20 2a 2a 2a 2a 2a 20 2a | 2f 0d 0a 0d 0a 63 6f 6e | ***** *|/....con|
|00003c30| 73 74 20 6e 73 50 4b 31 | 31 54 6f 6b 65 6e 44 42 |st nsPK1|1TokenDB|
|00003c40| 20 3d 20 22 40 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 | = "@moz|illa.org|
|00003c50| 2f 73 65 63 75 72 69 74 | 79 2f 70 6b 31 31 74 6f |/securit|y/pk11to|
|00003c60| 6b 65 6e 64 62 3b 31 22 | 3b 0d 0a 63 6f 6e 73 74 |kendb;1"|;..const|
|00003c70| 20 6e 73 49 50 4b 31 31 | 54 6f 6b 65 6e 44 42 20 | nsIPK11|TokenDB |
|00003c80| 3d 20 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 69 6e 74 |= Compon|ents.int|
|00003c90| 65 72 66 61 63 65 73 2e | 6e 73 49 50 4b 31 31 54 |erfaces.|nsIPK11T|
|00003ca0| 6f 6b 65 6e 44 42 3b 0d | 0a 0d 0a 76 61 72 20 74 |okenDB;.|...var t|
|00003cb0| 6f 6b 65 6e 4e 61 6d 65 | 3b 0d 0a 0d 0a 66 75 6e |okenName|;....fun|
|00003cc0| 63 74 69 6f 6e 20 6f 6e | 4c 6f 61 64 28 29 0d 0a |ction on|Load()..|
|00003cd0| 7b 0d 0a 20 20 69 66 20 | 28 22 61 72 67 75 6d 65 |{.. if |("argume|
|00003ce0| 6e 74 73 22 20 69 6e 20 | 77 69 6e 64 6f 77 29 20 |nts" in |window) |
|00003cf0| 7b 0d 0a 20 20 20 20 76 | 61 72 20 70 61 72 61 6d |{.. v|ar param|
|00003d00| 73 20 3d 20 77 69 6e 64 | 6f 77 2e 61 72 67 75 6d |s = wind|ow.argum|
|00003d10| 65 6e 74 73 5b 30 5d 2e | 51 75 65 72 79 49 6e 74 |ents[0].|QueryInt|
|00003d20| 65 72 66 61 63 65 28 6e | 73 49 44 69 61 6c 6f 67 |erface(n|sIDialog|
|00003d30| 50 61 72 61 6d 42 6c 6f | 63 6b 29 3b 0d 0a 20 20 |ParamBlo|ck);.. |
|00003d40| 20 20 74 6f 6b 65 6e 4e | 61 6d 65 20 3d 20 70 61 | tokenN|ame = pa|
|00003d50| 72 61 6d 73 2e 47 65 74 | 53 74 72 69 6e 67 28 31 |rams.Get|String(1|
|00003d60| 29 3b 0d 0a 20 20 7d 20 | 65 6c 73 65 20 7b 0d 0a |);.. } |else {..|
|00003d70| 20 20 20 20 74 6f 6b 65 | 6e 4e 61 6d 65 20 3d 20 | toke|nName = |
|00003d80| 73 65 6c 66 2e 6e 61 6d | 65 3b 0d 0a 20 20 7d 0d |self.nam|e;.. }.|
|00003d90| 0a 0d 0a 20 20 76 61 72 | 20 6f 6b 42 75 74 74 6f |... var| okButto|
|00003da0| 6e 20 3d 20 64 6f 63 75 | 6d 65 6e 74 2e 64 6f 63 |n = docu|ment.doc|
|00003db0| 75 6d 65 6e 74 45 6c 65 | 6d 65 6e 74 2e 67 65 74 |umentEle|ment.get|
|00003dc0| 42 75 74 74 6f 6e 28 22 | 61 63 63 65 70 74 22 29 |Button("|accept")|
|00003dd0| 3b 0d 0a 20 20 76 61 72 | 20 63 61 6e 63 65 6c 42 |;.. var| cancelB|
|00003de0| 75 74 74 6f 6e 20 3d 20 | 64 6f 63 75 6d 65 6e 74 |utton = |document|
|00003df0| 2e 64 6f 63 75 6d 65 6e | 74 45 6c 65 6d 65 6e 74 |.documen|tElement|
|00003e00| 2e 67 65 74 42 75 74 74 | 6f 6e 28 22 63 61 6e 63 |.getButt|on("canc|
|00003e10| 65 6c 22 29 3b 0d 0a 20 | 20 0d 0a 20 20 6f 6b 42 |el");.. | .. okB|
|00003e20| 75 74 74 6f 6e 2e 72 65 | 6d 6f 76 65 41 74 74 72 |utton.re|moveAttr|
|00003e30| 69 62 75 74 65 28 22 64 | 65 66 61 75 6c 74 22 29 |ibute("d|efault")|
|00003e40| 3b 0d 0a 20 20 63 61 6e | 63 65 6c 42 75 74 74 6f |;.. can|celButto|
|00003e50| 6e 2e 73 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |n.setAtt|ribute("|
|00003e60| 64 65 66 61 75 6c 74 22 | 2c 20 22 74 72 75 65 22 |default"|, "true"|
|00003e70| 29 3b 0d 0a 20 20 63 61 | 6e 63 65 6c 42 75 74 74 |);.. ca|ncelButt|
|00003e80| 6f 6e 2e 66 6f 63 75 73 | 28 29 3b 0d 0a 7d 0d 0a |on.focus|();..}..|
|00003e90| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 72 65 73 65 74 |..functi|on reset|
|00003ea0| 50 61 73 73 77 6f 72 64 | 28 29 0d 0a 7b 0d 0a 20 |Password|()..{.. |
|00003eb0| 20 76 61 72 20 70 6b 31 | 31 64 62 20 3d 20 43 6f | var pk1|1db = Co|
|00003ec0| 6d 70 6f 6e 65 6e 74 73 | 2e 63 6c 61 73 73 65 73 |mponents|.classes|
|00003ed0| 5b 6e 73 50 4b 31 31 54 | 6f 6b 65 6e 44 42 5d 2e |[nsPK11T|okenDB].|
|00003ee0| 67 65 74 53 65 72 76 69 | 63 65 28 6e 73 49 50 4b |getServi|ce(nsIPK|
|00003ef0| 31 31 54 6f 6b 65 6e 44 | 42 29 3b 0d 0a 20 20 76 |11TokenD|B);.. v|
|00003f00| 61 72 20 74 6f 6b 65 6e | 20 3d 20 70 6b 31 31 64 |ar token| = pk11d|
|00003f10| 62 2e 66 69 6e 64 54 6f | 6b 65 6e 42 79 4e 61 6d |b.findTo|kenByNam|
|00003f20| 65 28 74 6f 6b 65 6e 4e | 61 6d 65 29 3b 0d 0a 20 |e(tokenN|ame);.. |
|00003f30| 20 74 6f 6b 65 6e 2e 72 | 65 73 65 74 28 29 3b 0d | token.r|eset();.|
|00003f40| 0a 0d 0a 20 20 76 61 72 | 20 70 72 65 66 20 3d 20 |... var| pref = |
|00003f50| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 63 6c 61 73 73 |Componen|ts.class|
|00003f60| 65 73 5b 27 40 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |es['@moz|illa.org|
|00003f70| 2f 70 72 65 66 65 72 65 | 6e 63 65 73 2d 73 65 72 |/prefere|nces-ser|
|00003f80| 76 69 63 65 3b 31 27 5d | 2e 67 65 74 53 65 72 76 |vice;1']|.getServ|
|00003f90| 69 63 65 28 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 69 |ice(Comp|onents.i|
|00003fa0| 6e 74 65 72 66 61 63 65 | 73 2e 6e 73 49 50 72 65 |nterface|s.nsIPre|
|00003fb0| 66 53 65 72 76 69 63 65 | 29 3b 0d 0a 20 20 69 66 |fService|);.. if|
|00003fc0| 20 28 70 72 65 66 29 20 | 7b 0d 0a 20 20 20 20 70 | (pref) |{.. p|
|00003fd0| 72 65 66 20 3d 20 70 72 | 65 66 2e 67 65 74 42 72 |ref = pr|ef.getBr|
|00003fe0| 61 6e 63 68 28 6e 75 6c | 6c 29 3b 0d 0a 20 20 20 |anch(nul|l);.. |
|00003ff0| 20 74 72 79 20 7b 0d 0a | 20 20 20 20 20 20 69 66 | try {..| if|
|00004000| 20 28 70 72 65 66 2e 67 | 65 74 42 6f 6f 6c 50 72 | (pref.g|etBoolPr|
|00004010| 65 66 28 22 77 61 6c 6c | 65 74 2e 63 72 79 70 74 |ef("wall|et.crypt|
|00004020| 6f 22 29 29 20 7b 0d 0a | 20 20 20 20 20 20 20 20 |o")) {..| |
|00004030| 2f 2f 20 64 61 74 61 20 | 69 6e 20 77 61 6c 6c 65 |// data |in walle|
|00004040| 74 20 69 73 20 65 6e 63 | 72 79 70 74 65 64 2c 20 |t is enc|rypted, |
|00004050| 63 6c 65 61 72 20 69 74 | 0d 0a 20 20 20 20 20 20 |clear it|.. |
|00004060| 20 20 76 61 72 20 77 61 | 6c 6c 65 74 20 3d 20 43 | var wa|llet = C|
|00004070| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 63 6c 61 73 73 65 |omponent|s.classe|
|00004080| 73 5b 27 40 6d 6f 7a 69 | 6c 6c 61 2e 6f 72 67 2f |s['@mozi|lla.org/|
|00004090| 77 61 6c 6c 65 74 2f 77 | 61 6c 6c 65 74 2d 73 65 |wallet/w|allet-se|
|000040a0| 72 76 69 63 65 3b 31 27 | 5d 3b 0d 0a 20 20 20 20 |rvice;1'|];.. |
|000040b0| 20 20 20 20 69 66 20 28 | 77 61 6c 6c 65 74 29 20 | if (|wallet) |
|000040c0| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 77 61 6c |{.. | wal|
|000040d0| 6c 65 74 20 3d 20 77 61 | 6c 6c 65 74 2e 67 65 74 |let = wa|llet.get|
|000040e0| 53 65 72 76 69 63 65 28 | 43 6f 6d 70 6f 6e 65 6e |Service(|Componen|
|000040f0| 74 73 2e 69 6e 74 65 72 | 66 61 63 65 73 2e 6e 73 |ts.inter|faces.ns|
|00004100| 49 57 61 6c 6c 65 74 53 | 65 72 76 69 63 65 29 3b |IWalletS|ervice);|
|00004110| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 77 61 6c 6c |.. | wall|
|00004120| 65 74 2e 57 41 4c 4c 45 | 54 5f 44 65 6c 65 74 65 |et.WALLE|T_Delete|
|00004130| 41 6c 6c 28 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |All();..| |
|00004140| 7d 0d 0a 20 20 20 20 20 | 20 7d 0d 0a 20 20 20 20 |}.. | }.. |
|00004150| 7d 0d 0a 20 20 20 20 63 | 61 74 63 68 28 65 29 20 |}.. c|atch(e) |
|00004160| 7b 0d 0a 20 20 20 20 20 | 20 2f 2f 20 77 61 6c 6c |{.. | // wall|
|00004170| 65 74 2e 63 72 79 70 74 | 6f 20 70 72 65 66 20 69 |et.crypt|o pref i|
|00004180| 73 20 6d 69 73 73 69 6e | 67 0d 0a 20 20 20 20 7d |s missin|g.. }|
|00004190| 0d 0a 20 20 7d 0d 0a 0d | 0a 20 20 76 61 72 20 62 |.. }...|. var b|
|000041a0| 75 6e 64 6c 65 20 3d 20 | 64 6f 63 75 6d 65 6e 74 |undle = |document|
|000041b0| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|000041c0| 22 70 69 70 70 6b 69 5f | 62 75 6e 64 6c 65 22 29 |"pippki_|bundle")|
|000041d0| 3b 0d 0a 20 20 76 61 72 | 20 70 72 6f 6d 70 74 53 |;.. var| promptS|
|000041e0| 65 72 76 69 63 65 20 3d | 20 43 6f 6d 70 6f 6e 65 |ervice =| Compone|
|000041f0| 6e 74 73 2e 63 6c 61 73 | 73 65 73 5b 22 40 6d 6f |nts.clas|ses["@mo|
|00004200| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 65 6d 62 65 64 63 |zilla.or|g/embedc|
|00004210| 6f 6d 70 2f 70 72 6f 6d | 70 74 2d 73 65 72 76 69 |omp/prom|pt-servi|
|00004220| 63 65 3b 31 22 5d 2e 67 | 65 74 53 65 72 76 69 63 |ce;1"].g|etServic|
|00004230| 65 28 29 3b 0d 0a 20 20 | 70 72 6f 6d 70 74 53 65 |e();.. |promptSe|
|00004240| 72 76 69 63 65 20 3d 20 | 70 72 6f 6d 70 74 53 65 |rvice = |promptSe|
|00004250| 72 76 69 63 65 2e 51 75 | 65 72 79 49 6e 74 65 72 |rvice.Qu|eryInter|
|00004260| 66 61 63 65 28 43 6f 6d | 70 6f 6e 65 6e 74 73 2e |face(Com|ponents.|
|00004270| 69 6e 74 65 72 66 61 63 | 65 73 2e 6e 73 49 50 72 |interfac|es.nsIPr|
|00004280| 6f 6d 70 74 53 65 72 76 | 69 63 65 29 3b 0d 0a 20 |omptServ|ice);.. |
|00004290| 20 69 66 20 28 70 72 6f | 6d 70 74 53 65 72 76 69 | if (pro|mptServi|
|000042a0| 63 65 20 26 26 20 62 75 | 6e 64 6c 65 29 20 7b 0d |ce && bu|ndle) {.|
|000042b0| 0a 20 20 20 20 70 72 6f | 6d 70 74 53 65 72 76 69 |. pro|mptServi|
|000042c0| 63 65 2e 61 6c 65 72 74 | 28 77 69 6e 64 6f 77 2c |ce.alert|(window,|
|000042d0| 0d 0a 20 20 20 20 20 20 | 62 75 6e 64 6c 65 2e 67 |.. |bundle.g|
|000042e0| 65 74 53 74 72 69 6e 67 | 28 22 72 65 73 65 74 50 |etString|("resetP|
|000042f0| 61 73 73 77 6f 72 64 43 | 6f 6e 66 69 72 6d 61 74 |asswordC|onfirmat|
|00004300| 69 6f 6e 54 69 74 6c 65 | 22 29 2c 20 0d 0a 20 20 |ionTitle|"), .. |
|00004310| 20 20 20 20 62 75 6e 64 | 6c 65 2e 67 65 74 53 74 | bund|le.getSt|
|00004320| 72 69 6e 67 28 22 72 65 | 73 65 74 50 61 73 73 77 |ring("re|setPassw|
|00004330| 6f 72 64 43 6f 6e 66 69 | 72 6d 61 74 69 6f 6e 4d |ordConfi|rmationM|
|00004340| 65 73 73 61 67 65 22 29 | 29 3b 0d 0a 20 20 7d 0d |essage")|);.. }.|
|00004350| 0a 0d 0a 20 20 72 65 74 | 75 72 6e 20 74 72 75 65 |... ret|urn true|
|00004360| 3b 0d 0a 7d 0d 0a 0d 0a | 50 4b 03 04 0a 00 00 00 |;..}....|PK......|
|00004370| 00 00 50 40 99 30 04 f6 | 57 ea b9 0b 00 00 b9 0b |..P@.0..|W.......|
|00004380| 00 00 1e 00 00 00 63 6f | 6e 74 65 6e 74 2f 70 69 |......co|ntent/pi|
|00004390| 70 70 6b 69 2f 50 72 65 | 66 4f 76 65 72 6c 61 79 |ppki/Pre|fOverlay|
|000043a0| 2e 78 75 6c 3c 3f 78 6d | 6c 20 76 65 72 73 69 6f |.xul<?xm|l versio|
|000043b0| 6e 3d 22 31 2e 30 22 3f | 3e 0d 0a 3c 21 2d 2d 20 |n="1.0"?|>..<!-- |
|000043c0| 2a 2a 2a 2a 2a 20 42 45 | 47 49 4e 20 4c 49 43 45 |***** BE|GIN LICE|
|000043d0| 4e 53 45 20 42 4c 4f 43 | 4b 20 2a 2a 2a 2a 2a 0d |NSE BLOC|K *****.|
|000043e0| 0a 20 20 20 2d 20 56 65 | 72 73 69 6f 6e 3a 20 4d |. - Ve|rsion: M|
|000043f0| 50 4c 20 31 2e 31 2f 47 | 50 4c 20 32 2e 30 2f 4c |PL 1.1/G|PL 2.0/L|
|00004400| 47 50 4c 20 32 2e 31 0d | 0a 20 20 20 2d 0d 0a 20 |GPL 2.1.|. -.. |
|00004410| 20 20 2d 20 54 68 65 20 | 63 6f 6e 74 65 6e 74 73 | - The |contents|
|00004420| 20 6f 66 20 74 68 69 73 | 20 66 69 6c 65 20 61 72 | of this| file ar|
|00004430| 65 20 73 75 62 6a 65 63 | 74 20 74 6f 20 74 68 65 |e subjec|t to the|
|00004440| 20 4d 6f 7a 69 6c 6c 61 | 20 50 75 62 6c 69 63 20 | Mozilla| Public |
|00004450| 4c 69 63 65 6e 73 65 20 | 56 65 72 73 69 6f 6e 0d |License |Version.|
|00004460| 0a 20 20 20 2d 20 31 2e | 31 20 28 74 68 65 20 22 |. - 1.|1 (the "|
|00004470| 4c 69 63 65 6e 73 65 22 | 29 3b 20 79 6f 75 20 6d |License"|); you m|
|00004480| 61 79 20 6e 6f 74 20 75 | 73 65 20 74 68 69 73 20 |ay not u|se this |
|00004490| 66 69 6c 65 20 65 78 63 | 65 70 74 20 69 6e 20 63 |file exc|ept in c|
|000044a0| 6f 6d 70 6c 69 61 6e 63 | 65 20 77 69 74 68 0d 0a |omplianc|e with..|
|000044b0| 20 20 20 2d 20 74 68 65 | 20 4c 69 63 65 6e 73 65 | - the| License|
|000044c0| 2e 20 59 6f 75 20 6d 61 | 79 20 6f 62 74 61 69 6e |. You ma|y obtain|
|000044d0| 20 61 20 63 6f 70 79 20 | 6f 66 20 74 68 65 20 4c | a copy |of the L|
|000044e0| 69 63 65 6e 73 65 20 61 | 74 0d 0a 20 20 20 2d 20 |icense a|t.. - |
|000044f0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 6d 6f 7a 69 6c |http://w|ww.mozil|
|00004500| 6c 61 2e 6f 72 67 2f 4d | 50 4c 2f 0d 0a 20 20 20 |la.org/M|PL/.. |
|00004510| 2d 0d 0a 20 20 20 2d 20 | 53 6f 66 74 77 61 72 65 |-.. - |Software|
|00004520| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 75 6e 64 | distrib|uted und|
|00004530| 65 72 20 74 68 65 20 4c | 69 63 65 6e 73 65 20 69 |er the L|icense i|
|00004540| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 6f 6e |s distri|buted on|
|00004550| 20 61 6e 20 22 41 53 20 | 49 53 22 20 62 61 73 69 | an "AS |IS" basi|
|00004560| 73 2c 0d 0a 20 20 20 2d | 20 57 49 54 48 4f 55 54 |s,.. -| WITHOUT|
|00004570| 20 57 41 52 52 41 4e 54 | 59 20 4f 46 20 41 4e 59 | WARRANT|Y OF ANY|
|00004580| 20 4b 49 4e 44 2c 20 65 | 69 74 68 65 72 20 65 78 | KIND, e|ither ex|
|00004590| 70 72 65 73 73 20 6f 72 | 20 69 6d 70 6c 69 65 64 |press or| implied|
|000045a0| 2e 20 53 65 65 20 74 68 | 65 20 4c 69 63 65 6e 73 |. See th|e Licens|
|000045b0| 65 0d 0a 20 20 20 2d 20 | 66 6f 72 20 74 68 65 20 |e.. - |for the |
|000045c0| 73 70 65 63 69 66 69 63 | 20 6c 61 6e 67 75 61 67 |specific| languag|
|000045d0| 65 20 67 6f 76 65 72 6e | 69 6e 67 20 72 69 67 68 |e govern|ing righ|
|000045e0| 74 73 20 61 6e 64 20 6c | 69 6d 69 74 61 74 69 6f |ts and l|imitatio|
|000045f0| 6e 73 20 75 6e 64 65 72 | 20 74 68 65 0d 0a 20 20 |ns under| the.. |
|00004600| 20 2d 20 4c 69 63 65 6e | 73 65 2e 0d 0a 20 20 20 | - Licen|se... |
|00004610| 2d 0d 0a 20 20 20 2d 20 | 54 68 65 20 4f 72 69 67 |-.. - |The Orig|
|00004620| 69 6e 61 6c 20 43 6f 64 | 65 20 69 73 20 6d 6f 7a |inal Cod|e is moz|
|00004630| 69 6c 6c 61 2e 6f 72 67 | 20 63 6f 64 65 2e 0d 0a |illa.org| code...|
|00004640| 20 20 20 2d 0d 0a 20 20 | 20 2d 20 54 68 65 20 49 | -.. | - The I|
|00004650| 6e 69 74 69 61 6c 20 44 | 65 76 65 6c 6f 70 65 72 |nitial D|eveloper|
|00004660| 20 6f 66 20 74 68 65 20 | 4f 72 69 67 69 6e 61 6c | of the |Original|
|00004670| 20 43 6f 64 65 20 69 73 | 0d 0a 20 20 20 2d 20 4e | Code is|.. - N|
|00004680| 65 74 73 63 61 70 65 20 | 43 6f 6d 6d 75 6e 69 63 |etscape |Communic|
|00004690| 61 74 69 6f 6e 73 20 43 | 6f 72 70 2e 0d 0a 20 20 |ations C|orp... |
|000046a0| 20 2d 20 50 6f 72 74 69 | 6f 6e 73 20 63 72 65 61 | - Porti|ons crea|
|000046b0| 74 65 64 20 62 79 20 74 | 68 65 20 49 6e 69 74 69 |ted by t|he Initi|
|000046c0| 61 6c 20 44 65 76 65 6c | 6f 70 65 72 20 61 72 65 |al Devel|oper are|
|000046d0| 20 43 6f 70 79 72 69 67 | 68 74 20 28 43 29 20 32 | Copyrig|ht (C) 2|
|000046e0| 30 30 31 0d 0a 20 20 20 | 2d 20 74 68 65 20 49 6e |001.. |- the In|
|000046f0| 69 74 69 61 6c 20 44 65 | 76 65 6c 6f 70 65 72 2e |itial De|veloper.|
|00004700| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|00004710| 72 76 65 64 2e 0d 0a 20 | 20 20 2d 0d 0a 20 20 20 |rved... | -.. |
|00004720| 2d 20 43 6f 6e 74 72 69 | 62 75 74 6f 72 28 73 29 |- Contri|butor(s)|
|00004730| 3a 0d 0a 20 20 20 2d 20 | 20 20 54 65 72 72 79 20 |:.. - | Terry |
|00004740| 48 61 79 65 73 20 3c 74 | 68 61 79 65 73 40 6e 65 |Hayes <t|hayes@ne|
|00004750| 74 73 63 61 70 65 2e 63 | 6f 6d 3e 0d 0a 20 20 20 |tscape.c|om>.. |
|00004760| 2d 0d 0a 20 20 20 2d 20 | 41 6c 74 65 72 6e 61 74 |-.. - |Alternat|
|00004770| 69 76 65 6c 79 2c 20 74 | 68 65 20 63 6f 6e 74 65 |ively, t|he conte|
|00004780| 6e 74 73 20 6f 66 20 74 | 68 69 73 20 66 69 6c 65 |nts of t|his file|
|00004790| 20 6d 61 79 20 62 65 20 | 75 73 65 64 20 75 6e 64 | may be |used und|
|000047a0| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 0d |er the t|erms of.|
|000047b0| 0a 20 20 20 2d 20 65 69 | 74 68 65 72 20 74 68 65 |. - ei|ther the|
|000047c0| 20 47 4e 55 20 47 65 6e | 65 72 61 6c 20 50 75 62 | GNU Gen|eral Pub|
|000047d0| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 56 65 72 73 |lic Lice|nse Vers|
|000047e0| 69 6f 6e 20 32 20 6f 72 | 20 6c 61 74 65 72 20 28 |ion 2 or| later (|
|000047f0| 74 68 65 20 22 47 50 4c | 22 29 2c 20 6f 72 0d 0a |the "GPL|"), or..|
|00004800| 20 20 20 2d 20 74 68 65 | 20 47 4e 55 20 4c 65 73 | - the| GNU Les|
|00004810| 73 65 72 20 47 65 6e 65 | 72 61 6c 20 50 75 62 6c |ser Gene|ral Publ|
|00004820| 69 63 20 4c 69 63 65 6e | 73 65 20 56 65 72 73 69 |ic Licen|se Versi|
|00004830| 6f 6e 20 32 2e 31 20 6f | 72 20 6c 61 74 65 72 20 |on 2.1 o|r later |
|00004840| 28 74 68 65 20 22 4c 47 | 50 4c 22 29 2c 0d 0a 20 |(the "LG|PL"),.. |
|00004850| 20 20 2d 20 69 6e 20 77 | 68 69 63 68 20 63 61 73 | - in w|hich cas|
|00004860| 65 20 74 68 65 20 70 72 | 6f 76 69 73 69 6f 6e 73 |e the pr|ovisions|
|00004870| 20 6f 66 20 74 68 65 20 | 47 50 4c 20 6f 72 20 74 | of the |GPL or t|
|00004880| 68 65 20 4c 47 50 4c 20 | 61 72 65 20 61 70 70 6c |he LGPL |are appl|
|00004890| 69 63 61 62 6c 65 20 69 | 6e 73 74 65 61 64 0d 0a |icable i|nstead..|
|000048a0| 20 20 20 2d 20 6f 66 20 | 74 68 6f 73 65 20 61 62 | - of |those ab|
|000048b0| 6f 76 65 2e 20 49 66 20 | 79 6f 75 20 77 69 73 68 |ove. If |you wish|
|000048c0| 20 74 6f 20 61 6c 6c 6f | 77 20 75 73 65 20 6f 66 | to allo|w use of|
|000048d0| 20 79 6f 75 72 20 76 65 | 72 73 69 6f 6e 20 6f 66 | your ve|rsion of|
|000048e0| 20 74 68 69 73 20 66 69 | 6c 65 20 6f 6e 6c 79 0d | this fi|le only.|
|000048f0| 0a 20 20 20 2d 20 75 6e | 64 65 72 20 74 68 65 20 |. - un|der the |
|00004900| 74 65 72 6d 73 20 6f 66 | 20 65 69 74 68 65 72 20 |terms of| either |
|00004910| 74 68 65 20 47 50 4c 20 | 6f 72 20 74 68 65 20 4c |the GPL |or the L|
|00004920| 47 50 4c 2c 20 61 6e 64 | 20 6e 6f 74 20 74 6f 20 |GPL, and| not to |
|00004930| 61 6c 6c 6f 77 20 6f 74 | 68 65 72 73 20 74 6f 0d |allow ot|hers to.|
|00004940| 0a 20 20 20 2d 20 75 73 | 65 20 79 6f 75 72 20 76 |. - us|e your v|
|00004950| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|00004960| 69 6c 65 20 75 6e 64 65 | 72 20 74 68 65 20 74 65 |ile unde|r the te|
|00004970| 72 6d 73 20 6f 66 20 74 | 68 65 20 4d 50 4c 2c 20 |rms of t|he MPL, |
|00004980| 69 6e 64 69 63 61 74 65 | 20 79 6f 75 72 0d 0a 20 |indicate| your.. |
|00004990| 20 20 2d 20 64 65 63 69 | 73 69 6f 6e 20 62 79 20 | - deci|sion by |
|000049a0| 64 65 6c 65 74 69 6e 67 | 20 74 68 65 20 70 72 6f |deleting| the pro|
|000049b0| 76 69 73 69 6f 6e 73 20 | 61 62 6f 76 65 20 61 6e |visions |above an|
|000049c0| 64 20 72 65 70 6c 61 63 | 65 20 74 68 65 6d 20 77 |d replac|e them w|
|000049d0| 69 74 68 20 74 68 65 20 | 6e 6f 74 69 63 65 0d 0a |ith the |notice..|
|000049e0| 20 20 20 2d 20 61 6e 64 | 20 6f 74 68 65 72 20 70 | - and| other p|
|000049f0| 72 6f 76 69 73 69 6f 6e | 73 20 72 65 71 75 69 72 |rovision|s requir|
|00004a00| 65 64 20 62 79 20 74 68 | 65 20 47 50 4c 20 6f 72 |ed by th|e GPL or|
|00004a10| 20 74 68 65 20 4c 47 50 | 4c 2e 20 49 66 20 79 6f | the LGP|L. If yo|
|00004a20| 75 20 64 6f 20 6e 6f 74 | 20 64 65 6c 65 74 65 0d |u do not| delete.|
|00004a30| 0a 20 20 20 2d 20 74 68 | 65 20 70 72 6f 76 69 73 |. - th|e provis|
|00004a40| 69 6f 6e 73 20 61 62 6f | 76 65 2c 20 61 20 72 65 |ions abo|ve, a re|
|00004a50| 63 69 70 69 65 6e 74 20 | 6d 61 79 20 75 73 65 20 |cipient |may use |
|00004a60| 79 6f 75 72 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |your ver|sion of |
|00004a70| 74 68 69 73 20 66 69 6c | 65 20 75 6e 64 65 72 0d |this fil|e under.|
|00004a80| 0a 20 20 20 2d 20 74 68 | 65 20 74 65 72 6d 73 20 |. - th|e terms |
|00004a90| 6f 66 20 61 6e 79 20 6f | 6e 65 20 6f 66 20 74 68 |of any o|ne of th|
|00004aa0| 65 20 4d 50 4c 2c 20 74 | 68 65 20 47 50 4c 20 6f |e MPL, t|he GPL o|
|00004ab0| 72 20 74 68 65 20 4c 47 | 50 4c 2e 0d 0a 20 20 20 |r the LG|PL... |
|00004ac0| 2d 0d 0a 20 20 20 2d 20 | 2a 2a 2a 2a 2a 20 45 4e |-.. - |***** EN|
|00004ad0| 44 20 4c 49 43 45 4e 53 | 45 20 42 4c 4f 43 4b 20 |D LICENS|E BLOCK |
|00004ae0| 2a 2a 2a 2a 2a 20 2d 2d | 3e 0d 0a 0d 0a 3c 21 2d |***** --|>....<!-|
|00004af0| 2d 20 54 68 69 73 20 66 | 69 6c 65 20 6f 76 65 72 |- This f|ile over|
|00004b00| 6c 61 79 73 20 22 63 68 | 72 6f 6d 65 3a 2f 2f 63 |lays "ch|rome://c|
|00004b10| 6f 6d 6d 75 6e 69 63 61 | 74 6f 72 2f 63 6f 6e 74 |ommunica|tor/cont|
|00004b20| 65 6e 74 2f 70 72 65 66 | 2f 70 72 65 66 74 72 65 |ent/pref|/preftre|
|00004b30| 65 2e 78 75 6c 22 20 2d | 2d 3e 0d 0a 0d 0a 3c 21 |e.xul" -|->....<!|
|00004b40| 44 4f 43 54 59 50 45 20 | 6f 76 65 72 6c 61 79 20 |DOCTYPE |overlay |
|00004b50| 53 59 53 54 45 4d 20 22 | 63 68 72 6f 6d 65 3a 2f |SYSTEM "|chrome:/|
|00004b60| 2f 70 69 70 70 6b 69 2f | 6c 6f 63 61 6c 65 2f 50 |/pippki/|locale/P|
|00004b70| 72 65 66 4f 76 65 72 6c | 61 79 2e 64 74 64 22 3e |refOverl|ay.dtd">|
|00004b80| 0d 0a 0d 0a 3c 6f 76 65 | 72 6c 61 79 20 69 64 3d |....<ove|rlay id=|
|00004b90| 22 70 69 70 50 72 65 66 | 4f 76 65 72 6c 61 79 49 |"pipPref|OverlayI|
|00004ba0| 44 22 0d 0a 20 20 20 20 | 20 20 20 20 20 78 6d 6c |D".. | xml|
|00004bb0| 6e 73 3d 22 68 74 74 70 | 3a 2f 2f 77 77 77 2e 6d |ns="http|://www.m|
|00004bc0| 6f 7a 69 6c 6c 61 2e 6f | 72 67 2f 6b 65 79 6d 61 |ozilla.o|rg/keyma|
|00004bd0| 73 74 65 72 2f 67 61 74 | 65 6b 65 65 70 65 72 2f |ster/gat|ekeeper/|
|00004be0| 74 68 65 72 65 2e 69 73 | 2e 6f 6e 6c 79 2e 78 75 |there.is|.only.xu|
|00004bf0| 6c 22 3e 0d 0a 0d 0a 20 | 20 3c 74 72 65 65 63 68 |l">.... | <treech|
|00004c00| 69 6c 64 72 65 6e 20 69 | 64 3d 22 73 65 63 75 72 |ildren i|d="secur|
|00004c10| 69 74 79 43 68 69 6c 64 | 72 65 6e 22 3e 0d 0a 20 |ityChild|ren">.. |
|00004c20| 20 20 20 3c 74 72 65 65 | 69 74 65 6d 20 69 64 3d | <tree|item id=|
|00004c30| 22 6d 61 73 74 65 72 70 | 61 73 73 49 74 65 6d 22 |"masterp|assItem"|
|00004c40| 3e 0d 0a 20 20 20 20 20 | 20 3c 74 72 65 65 72 6f |>.. | <treero|
|00004c50| 77 3e 0d 0a 20 20 20 20 | 20 20 20 20 3c 74 72 65 |w>.. | <tre|
|00004c60| 65 63 65 6c 6c 20 75 72 | 6c 3d 22 63 68 72 6f 6d |ecell ur|l="chrom|
|00004c70| 65 3a 2f 2f 70 69 70 70 | 6b 69 2f 63 6f 6e 74 65 |e://pipp|ki/conte|
|00004c80| 6e 74 2f 70 72 65 66 2d | 6d 61 73 74 65 72 70 61 |nt/pref-|masterpa|
|00004c90| 73 73 2e 78 75 6c 22 0d | 0a 20 20 20 20 20 20 20 |ss.xul".|. |
|00004ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|00004cb0| 61 62 65 6c 3d 22 26 6d | 61 73 74 65 72 70 61 73 |abel="&m|asterpas|
|00004cc0| 73 2e 6c 61 62 65 6c 3b | 22 2f 3e 0d 0a 20 20 20 |s.label;|"/>.. |
|00004cd0| 20 20 20 3c 2f 74 72 65 | 65 72 6f 77 3e 0d 0a 20 | </tre|erow>.. |
|00004ce0| 20 20 20 3c 2f 74 72 65 | 65 69 74 65 6d 3e 0d 0a | </tre|eitem>..|
|00004cf0| 20 20 20 20 3c 74 72 65 | 65 69 74 65 6d 20 69 64 | <tre|eitem id|
|00004d00| 3d 22 73 73 6c 49 74 65 | 6d 22 3e 0d 0a 20 20 20 |="sslIte|m">.. |
|00004d10| 20 20 20 3c 74 72 65 65 | 72 6f 77 3e 0d 0a 20 20 | <tree|row>.. |
|00004d20| 20 20 20 20 20 20 3c 74 | 72 65 65 63 65 6c 6c 20 | <t|reecell |
|00004d30| 75 72 6c 3d 22 63 68 72 | 6f 6d 65 3a 2f 2f 70 69 |url="chr|ome://pi|
|00004d40| 70 70 6b 69 2f 63 6f 6e | 74 65 6e 74 2f 70 72 65 |ppki/con|tent/pre|
|00004d50| 66 2d 73 73 6c 2e 78 75 | 6c 22 0d 0a 20 20 20 20 |f-ssl.xu|l".. |
|00004d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d70| 20 20 6c 61 62 65 6c 3d | 22 26 73 73 6c 2e 6c 61 | label=|"&ssl.la|
|00004d80| 62 65 6c 3b 22 2f 3e 0d | 0a 20 20 20 20 20 20 3c |bel;"/>.|. <|
|00004d90| 2f 74 72 65 65 72 6f 77 | 3e 0d 0a 20 20 20 20 3c |/treerow|>.. <|
|00004da0| 2f 74 72 65 65 69 74 65 | 6d 3e 0d 0a 20 20 20 20 |/treeite|m>.. |
|00004db0| 3c 74 72 65 65 69 74 65 | 6d 20 69 64 3d 22 63 65 |<treeite|m id="ce|
|00004dc0| 72 74 49 74 65 6d 22 3e | 0d 0a 20 20 20 20 20 20 |rtItem">|.. |
|00004dd0| 3c 74 72 65 65 72 6f 77 | 3e 0d 0a 20 20 20 20 20 |<treerow|>.. |
|00004de0| 20 20 20 3c 74 72 65 65 | 63 65 6c 6c 20 75 72 6c | <tree|cell url|
|00004df0| 3d 22 63 68 72 6f 6d 65 | 3a 2f 2f 70 69 70 70 6b |="chrome|://pippk|
|00004e00| 69 2f 63 6f 6e 74 65 6e | 74 2f 70 72 65 66 2d 63 |i/conten|t/pref-c|
|00004e10| 65 72 74 73 2e 78 75 6c | 22 0d 0a 20 20 20 20 20 |erts.xul|".. |
|00004e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004e30| 20 6c 61 62 65 6c 3d 22 | 26 63 65 72 74 73 2e 6c | label="|&certs.l|
|00004e40| 61 62 65 6c 3b 22 2f 3e | 0d 0a 20 20 20 20 20 20 |abel;"/>|.. |
|00004e50| 3c 2f 74 72 65 65 72 6f | 77 3e 0d 0a 20 20 20 20 |</treero|w>.. |
|00004e60| 3c 2f 74 72 65 65 69 74 | 65 6d 3e 0d 0a 20 20 20 |</treeit|em>.. |
|00004e70| 20 3c 74 72 65 65 69 74 | 65 6d 20 69 64 3d 22 76 | <treeit|em id="v|
|00004e80| 61 6c 69 64 61 74 69 6f | 6e 49 74 65 6d 22 3e 0d |alidatio|nItem">.|
|00004e90| 0a 20 20 20 20 20 20 3c | 74 72 65 65 72 6f 77 3e |. <|treerow>|
|00004ea0| 0d 0a 20 20 20 20 20 20 | 20 20 3c 74 72 65 65 63 |.. | <treec|
|00004eb0| 65 6c 6c 20 75 72 6c 3d | 22 63 68 72 6f 6d 65 3a |ell url=|"chrome:|
|00004ec0| 2f 2f 70 69 70 70 6b 69 | 2f 63 6f 6e 74 65 6e 74 |//pippki|/content|
|00004ed0| 2f 70 72 65 66 2d 76 61 | 6c 69 64 61 74 69 6f 6e |/pref-va|lidation|
|00004ee0| 2e 78 75 6c 22 0d 0a 20 | 20 20 20 20 20 20 20 20 |.xul".. | |
|00004ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 61 62 | | lab|
|00004f00| 65 6c 3d 22 26 76 61 6c | 69 64 61 74 69 6f 6e 2e |el="&val|idation.|
|00004f10| 6c 61 62 65 6c 3b 22 2f | 3e 0d 0a 20 20 20 20 20 |label;"/|>.. |
|00004f20| 20 3c 2f 74 72 65 65 72 | 6f 77 3e 0d 0a 20 20 20 | </treer|ow>.. |
|00004f30| 20 3c 2f 74 72 65 65 69 | 74 65 6d 3e 0d 0a 20 20 | </treei|tem>.. |
|00004f40| 3c 2f 74 72 65 65 63 68 | 69 6c 64 72 65 6e 3e 0d |</treech|ildren>.|
|00004f50| 0a 3c 2f 6f 76 65 72 6c | 61 79 3e 0d 0a 50 4b 03 |.</overl|ay>..PK.|
|00004f60| 04 0a 00 00 00 00 00 50 | 40 99 30 77 48 1e 9c 9e |.......P|@.0wH...|
|00004f70| 0c 00 00 9e 0c 00 00 1f | 00 00 00 63 6f 6e 74 65 |........|...conte|
|00004f80| 6e 74 2f 70 69 70 70 6b | 69 2f 70 72 65 66 2d 73 |nt/pippk|i/pref-s|
|00004f90| 65 63 75 72 69 74 79 2e | 6a 73 2f 2a 20 2d 2a 2d |ecurity.|js/* -*-|
|00004fa0| 20 4d 6f 64 65 3a 20 43 | 2b 2b 3b 20 74 61 62 2d | Mode: C|++; tab-|
|00004fb0| 77 69 64 74 68 3a 20 32 | 3b 20 69 6e 64 65 6e 74 |width: 2|; indent|
|00004fc0| 2d 74 61 62 73 2d 6d 6f | 64 65 3a 20 6e 69 6c 3b |-tabs-mo|de: nil;|
|00004fd0| 20 63 2d 62 61 73 69 63 | 2d 6f 66 66 73 65 74 3a | c-basic|-offset:|
|00004fe0| 20 32 20 2d 2a 2d 0d 0a | 20 2a 0d 0a 20 2a 20 2a | 2 -*-..| *.. * *|
|00004ff0| 2a 2a 2a 2a 20 42 45 47 | 49 4e 20 4c 49 43 45 4e |**** BEG|IN LICEN|
|00005000| 53 45 20 42 4c 4f 43 4b | 20 2a 2a 2a 2a 2a 0d 0a |SE BLOCK| *****..|
|00005010| 20 2a 20 56 65 72 73 69 | 6f 6e 3a 20 4d 50 4c 20 | * Versi|on: MPL |
|00005020| 31 2e 31 2f 47 50 4c 20 | 32 2e 30 2f 4c 47 50 4c |1.1/GPL |2.0/LGPL|
|00005030| 20 32 2e 31 0d 0a 20 2a | 0d 0a 20 2a 20 54 68 65 | 2.1.. *|.. * The|
|00005040| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|00005050| 73 20 66 69 6c 65 20 61 | 72 65 20 73 75 62 6a 65 |s file a|re subje|
|00005060| 63 74 20 74 6f 20 74 68 | 65 20 4d 6f 7a 69 6c 6c |ct to th|e Mozill|
|00005070| 61 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |a Public| License|
|00005080| 20 56 65 72 73 69 6f 6e | 0d 0a 20 2a 20 31 2e 31 | Version|.. * 1.1|
|00005090| 20 28 74 68 65 20 22 4c | 69 63 65 6e 73 65 22 29 | (the "L|icense")|
|000050a0| 3b 20 79 6f 75 20 6d 61 | 79 20 6e 6f 74 20 75 73 |; you ma|y not us|
|000050b0| 65 20 74 68 69 73 20 66 | 69 6c 65 20 65 78 63 65 |e this f|ile exce|
|000050c0| 70 74 20 69 6e 20 63 6f | 6d 70 6c 69 61 6e 63 65 |pt in co|mpliance|
|000050d0| 20 77 69 74 68 0d 0a 20 | 2a 20 74 68 65 20 4c 69 | with.. |* the Li|
|000050e0| 63 65 6e 73 65 2e 20 59 | 6f 75 20 6d 61 79 20 6f |cense. Y|ou may o|
|000050f0| 62 74 61 69 6e 20 61 20 | 63 6f 70 79 20 6f 66 20 |btain a |copy of |
|00005100| 74 68 65 20 4c 69 63 65 | 6e 73 65 20 61 74 0d 0a |the Lice|nse at..|
|00005110| 20 2a 20 68 74 74 70 3a | 2f 2f 77 77 77 2e 6d 6f | * http:|//www.mo|
|00005120| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 4d 50 4c 2f 0d 0a |zilla.or|g/MPL/..|
|00005130| 20 2a 0d 0a 20 2a 20 53 | 6f 66 74 77 61 72 65 20 | *.. * S|oftware |
|00005140| 64 69 73 74 72 69 62 75 | 74 65 64 20 75 6e 64 65 |distribu|ted unde|
|00005150| 72 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 69 73 |r the Li|cense is|
|00005160| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 6f 6e 20 | distrib|uted on |
|00005170| 61 6e 20 22 41 53 20 49 | 53 22 20 62 61 73 69 73 |an "AS I|S" basis|
|00005180| 2c 0d 0a 20 2a 20 57 49 | 54 48 4f 55 54 20 57 41 |,.. * WI|THOUT WA|
|00005190| 52 52 41 4e 54 59 20 4f | 46 20 41 4e 59 20 4b 49 |RRANTY O|F ANY KI|
|000051a0| 4e 44 2c 20 65 69 74 68 | 65 72 20 65 78 70 72 65 |ND, eith|er expre|
|000051b0| 73 73 20 6f 72 20 69 6d | 70 6c 69 65 64 2e 20 53 |ss or im|plied. S|
|000051c0| 65 65 20 74 68 65 20 4c | 69 63 65 6e 73 65 0d 0a |ee the L|icense..|
|000051d0| 20 2a 20 66 6f 72 20 74 | 68 65 20 73 70 65 63 69 | * for t|he speci|
|000051e0| 66 69 63 20 6c 61 6e 67 | 75 61 67 65 20 67 6f 76 |fic lang|uage gov|
|000051f0| 65 72 6e 69 6e 67 20 72 | 69 67 68 74 73 20 61 6e |erning r|ights an|
|00005200| 64 20 6c 69 6d 69 74 61 | 74 69 6f 6e 73 20 75 6e |d limita|tions un|
|00005210| 64 65 72 20 74 68 65 0d | 0a 20 2a 20 4c 69 63 65 |der the.|. * Lice|
|00005220| 6e 73 65 2e 0d 0a 20 2a | 0d 0a 20 2a 20 54 68 65 |nse... *|.. * The|
|00005230| 20 4f 72 69 67 69 6e 61 | 6c 20 43 6f 64 65 20 69 | Origina|l Code i|
|00005240| 73 20 6d 6f 7a 69 6c 6c | 61 2e 6f 72 67 20 63 6f |s mozill|a.org co|
|00005250| 64 65 2e 0d 0a 20 2a 0d | 0a 20 2a 20 54 68 65 20 |de... *.|. * The |
|00005260| 49 6e 69 74 69 61 6c 20 | 44 65 76 65 6c 6f 70 65 |Initial |Develope|
|00005270| 72 20 6f 66 20 74 68 65 | 20 4f 72 69 67 69 6e 61 |r of the| Origina|
|00005280| 6c 20 43 6f 64 65 20 69 | 73 0d 0a 20 2a 20 4e 65 |l Code i|s.. * Ne|
|00005290| 74 73 63 61 70 65 20 43 | 6f 6d 6d 75 6e 69 63 61 |tscape C|ommunica|
|000052a0| 74 69 6f 6e 73 20 43 6f | 72 70 6f 72 61 74 69 6f |tions Co|rporatio|
|000052b0| 6e 2e 0d 0a 20 2a 20 50 | 6f 72 74 69 6f 6e 73 20 |n... * P|ortions |
|000052c0| 63 72 65 61 74 65 64 20 | 62 79 20 74 68 65 20 49 |created |by the I|
|000052d0| 6e 69 74 69 61 6c 20 44 | 65 76 65 6c 6f 70 65 72 |nitial D|eveloper|
|000052e0| 20 61 72 65 20 43 6f 70 | 79 72 69 67 68 74 20 28 | are Cop|yright (|
|000052f0| 43 29 20 31 39 39 38 0d | 0a 20 2a 20 74 68 65 20 |C) 1998.|. * the |
|00005300| 49 6e 69 74 69 61 6c 20 | 44 65 76 65 6c 6f 70 65 |Initial |Develope|
|00005310| 72 2e 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |r. All R|ights Re|
|00005320| 73 65 72 76 65 64 2e 0d | 0a 20 2a 0d 0a 20 2a 20 |served..|. *.. * |
|00005330| 43 6f 6e 74 72 69 62 75 | 74 6f 72 28 73 29 3a 0d |Contribu|tor(s):.|
|00005340| 0a 20 2a 20 20 20 4a 61 | 76 69 65 72 20 44 65 6c |. * Ja|vier Del|
|00005350| 67 61 64 69 6c 6c 6f 20 | 3c 6a 61 76 69 40 6e 65 |gadillo |<javi@ne|
|00005360| 74 73 63 61 70 65 2e 63 | 6f 6d 3e 0d 0a 20 2a 0d |tscape.c|om>.. *.|
|00005370| 0a 20 2a 20 41 6c 74 65 | 72 6e 61 74 69 76 65 6c |. * Alte|rnativel|
|00005380| 79 2c 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 |y, the c|ontents |
|00005390| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 6d 61 79 |of this |file may|
|000053a0| 20 62 65 20 75 73 65 64 | 20 75 6e 64 65 72 20 74 | be used| under t|
|000053b0| 68 65 20 74 65 72 6d 73 | 20 6f 66 0d 0a 20 2a 20 |he terms| of.. * |
|000053c0| 65 69 74 68 65 72 20 74 | 68 65 20 47 4e 55 20 47 |either t|he GNU G|
|000053d0| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|000053e0| 63 65 6e 73 65 20 56 65 | 72 73 69 6f 6e 20 32 20 |cense Ve|rsion 2 |
|000053f0| 6f 72 20 6c 61 74 65 72 | 20 28 74 68 65 20 22 47 |or later| (the "G|
|00005400| 50 4c 22 29 2c 20 6f 72 | 0d 0a 20 2a 20 74 68 65 |PL"), or|.. * the|
|00005410| 20 47 4e 55 20 4c 65 73 | 73 65 72 20 47 65 6e 65 | GNU Les|ser Gene|
|00005420| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00005430| 73 65 20 56 65 72 73 69 | 6f 6e 20 32 2e 31 20 6f |se Versi|on 2.1 o|
|00005440| 72 20 6c 61 74 65 72 20 | 28 74 68 65 20 22 4c 47 |r later |(the "LG|
|00005450| 50 4c 22 29 2c 0d 0a 20 | 2a 20 69 6e 20 77 68 69 |PL"),.. |* in whi|
|00005460| 63 68 20 63 61 73 65 20 | 74 68 65 20 70 72 6f 76 |ch case |the prov|
|00005470| 69 73 69 6f 6e 73 20 6f | 66 20 74 68 65 20 47 50 |isions o|f the GP|
|00005480| 4c 20 6f 72 20 74 68 65 | 20 4c 47 50 4c 20 61 72 |L or the| LGPL ar|
|00005490| 65 20 61 70 70 6c 69 63 | 61 62 6c 65 20 69 6e 73 |e applic|able ins|
|000054a0| 74 65 61 64 0d 0a 20 2a | 20 6f 66 20 74 68 6f 73 |tead.. *| of thos|
|000054b0| 65 20 61 62 6f 76 65 2e | 20 49 66 20 79 6f 75 20 |e above.| If you |
|000054c0| 77 69 73 68 20 74 6f 20 | 61 6c 6c 6f 77 20 75 73 |wish to |allow us|
|000054d0| 65 20 6f 66 20 79 6f 75 | 72 20 76 65 72 73 69 6f |e of you|r versio|
|000054e0| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 6f |n of thi|s file o|
|000054f0| 6e 6c 79 0d 0a 20 2a 20 | 75 6e 64 65 72 20 74 68 |nly.. * |under th|
|00005500| 65 20 74 65 72 6d 73 20 | 6f 66 20 65 69 74 68 65 |e terms |of eithe|
|00005510| 72 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |r the GP|L or the|
|00005520| 20 4c 47 50 4c 2c 20 61 | 6e 64 20 6e 6f 74 20 74 | LGPL, a|nd not t|
|00005530| 6f 20 61 6c 6c 6f 77 20 | 6f 74 68 65 72 73 20 74 |o allow |others t|
|00005540| 6f 0d 0a 20 2a 20 75 73 | 65 20 79 6f 75 72 20 76 |o.. * us|e your v|
|00005550| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|00005560| 69 6c 65 20 75 6e 64 65 | 72 20 74 68 65 20 74 65 |ile unde|r the te|
|00005570| 72 6d 73 20 6f 66 20 74 | 68 65 20 4d 50 4c 2c 20 |rms of t|he MPL, |
|00005580| 69 6e 64 69 63 61 74 65 | 20 79 6f 75 72 0d 0a 20 |indicate| your.. |
|00005590| 2a 20 64 65 63 69 73 69 | 6f 6e 20 62 79 20 64 65 |* decisi|on by de|
|000055a0| 6c 65 74 69 6e 67 20 74 | 68 65 20 70 72 6f 76 69 |leting t|he provi|
|000055b0| 73 69 6f 6e 73 20 61 62 | 6f 76 65 20 61 6e 64 20 |sions ab|ove and |
|000055c0| 72 65 70 6c 61 63 65 20 | 74 68 65 6d 20 77 69 74 |replace |them wit|
|000055d0| 68 20 74 68 65 20 6e 6f | 74 69 63 65 0d 0a 20 2a |h the no|tice.. *|
|000055e0| 20 61 6e 64 20 6f 74 68 | 65 72 20 70 72 6f 76 69 | and oth|er provi|
|000055f0| 73 69 6f 6e 73 20 72 65 | 71 75 69 72 65 64 20 62 |sions re|quired b|
|00005600| 79 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |y the GP|L or the|
|00005610| 20 4c 47 50 4c 2e 20 49 | 66 20 79 6f 75 20 64 6f | LGPL. I|f you do|
|00005620| 20 6e 6f 74 20 64 65 6c | 65 74 65 0d 0a 20 2a 20 | not del|ete.. * |
|00005630| 74 68 65 20 70 72 6f 76 | 69 73 69 6f 6e 73 20 61 |the prov|isions a|
|00005640| 62 6f 76 65 2c 20 61 20 | 72 65 63 69 70 69 65 6e |bove, a |recipien|
|00005650| 74 20 6d 61 79 20 75 73 | 65 20 79 6f 75 72 20 76 |t may us|e your v|
|00005660| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|00005670| 69 6c 65 20 75 6e 64 65 | 72 0d 0a 20 2a 20 74 68 |ile unde|r.. * th|
|00005680| 65 20 74 65 72 6d 73 20 | 6f 66 20 61 6e 79 20 6f |e terms |of any o|
|00005690| 6e 65 20 6f 66 20 74 68 | 65 20 4d 50 4c 2c 20 74 |ne of th|e MPL, t|
|000056a0| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|000056b0| 50 4c 2e 0d 0a 20 2a 0d | 0a 20 2a 20 2a 2a 2a 2a |PL... *.|. * ****|
|000056c0| 2a 20 45 4e 44 20 4c 49 | 43 45 4e 53 45 20 42 4c |* END LI|CENSE BL|
|000056d0| 4f 43 4b 20 2a 2a 2a 2a | 2a 20 2a 2f 0d 0a 0d 0a |OCK ****|* */....|
|000056e0| 66 75 6e 63 74 69 6f 6e | 20 6f 70 65 6e 43 65 72 |function| openCer|
|000056f0| 74 4d 61 6e 61 67 65 72 | 28 29 0d 0a 7b 0d 0a 20 |tManager|()..{.. |
|00005700| 20 20 20 2f 2f 63 68 65 | 63 6b 20 66 6f 72 20 61 | //che|ck for a|
|00005710| 6e 20 65 78 69 73 74 69 | 6e 67 20 63 65 72 74 4d |n existi|ng certM|
|00005720| 61 6e 61 67 65 72 20 77 | 69 6e 64 6f 77 20 61 6e |anager w|indow an|
|00005730| 64 20 66 6f 63 75 73 20 | 69 74 3b 20 69 74 27 73 |d focus |it; it's|
|00005740| 20 6e 6f 74 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | not app|lication|
|00005750| 20 6d 6f 64 61 6c 0d 0a | 20 20 20 20 63 6f 6e 73 | modal..| cons|
|00005760| 74 20 6b 57 69 6e 64 6f | 77 4d 65 64 69 61 74 6f |t kWindo|wMediato|
|00005770| 72 43 6f 6e 74 72 61 63 | 74 49 44 20 3d 20 22 40 |rContrac|tID = "@|
|00005780| 6d 6f 7a 69 6c 6c 61 2e | 6f 72 67 2f 61 70 70 73 |mozilla.|org/apps|
|00005790| 68 65 6c 6c 2f 77 69 6e | 64 6f 77 2d 6d 65 64 69 |hell/win|dow-medi|
|000057a0| 61 74 6f 72 3b 31 22 3b | 0d 0a 20 20 20 20 63 6f |ator;1";|.. co|
|000057b0| 6e 73 74 20 6b 57 69 6e | 64 6f 77 4d 65 64 69 61 |nst kWin|dowMedia|
|000057c0| 74 6f 72 49 49 44 20 3d | 20 43 6f 6d 70 6f 6e 65 |torIID =| Compone|
|000057d0| 6e 74 73 2e 69 6e 74 65 | 72 66 61 63 65 73 2e 6e |nts.inte|rfaces.n|
|000057e0| 73 49 57 69 6e 64 6f 77 | 4d 65 64 69 61 74 6f 72 |sIWindow|Mediator|
|000057f0| 3b 0d 0a 20 20 20 20 63 | 6f 6e 73 74 20 6b 57 69 |;.. c|onst kWi|
|00005800| 6e 64 6f 77 4d 65 64 69 | 61 74 6f 72 20 3d 20 43 |ndowMedi|ator = C|
|00005810| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 63 6c 61 73 73 65 |omponent|s.classe|
|00005820| 73 5b 6b 57 69 6e 64 6f | 77 4d 65 64 69 61 74 6f |s[kWindo|wMediato|
|00005830| 72 43 6f 6e 74 72 61 63 | 74 49 44 5d 2e 67 65 74 |rContrac|tID].get|
|00005840| 53 65 72 76 69 63 65 28 | 6b 57 69 6e 64 6f 77 4d |Service(|kWindowM|
|00005850| 65 64 69 61 74 6f 72 49 | 49 44 29 3b 0d 0a 20 20 |ediatorI|ID);.. |
|00005860| 20 20 76 61 72 20 6c 61 | 73 74 43 65 72 74 4d 61 | var la|stCertMa|
|00005870| 6e 61 67 65 72 20 3d 20 | 6b 57 69 6e 64 6f 77 4d |nager = |kWindowM|
|00005880| 65 64 69 61 74 6f 72 2e | 67 65 74 4d 6f 73 74 52 |ediator.|getMostR|
|00005890| 65 63 65 6e 74 57 69 6e | 64 6f 77 28 22 6d 6f 7a |ecentWin|dow("moz|
|000058a0| 69 6c 6c 61 3a 63 65 72 | 74 6d 61 6e 61 67 65 72 |illa:cer|tmanager|
|000058b0| 22 29 3b 0d 0a 20 20 20 | 20 69 66 20 28 6c 61 73 |");.. | if (las|
|000058c0| 74 43 65 72 74 4d 61 6e | 61 67 65 72 29 0d 0a 20 |tCertMan|ager).. |
|000058d0| 20 20 20 20 20 6c 61 73 | 74 43 65 72 74 4d 61 6e | las|tCertMan|
|000058e0| 61 67 65 72 2e 66 6f 63 | 75 73 28 29 3b 0d 0a 20 |ager.foc|us();.. |
|000058f0| 20 20 20 65 6c 73 65 20 | 7b 0d 0a 20 20 20 20 20 | else |{.. |
|00005900| 20 77 69 6e 64 6f 77 2e | 6f 70 65 6e 28 27 63 68 | window.|open('ch|
|00005910| 72 6f 6d 65 3a 2f 2f 70 | 69 70 70 6b 69 2f 63 6f |rome://p|ippki/co|
|00005920| 6e 74 65 6e 74 2f 63 65 | 72 74 4d 61 6e 61 67 65 |ntent/ce|rtManage|
|00005930| 72 2e 78 75 6c 27 2c 20 | 20 22 22 2c 0d 0a 20 20 |r.xul', | "",.. |
|00005940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005950| 27 63 68 72 6f 6d 65 2c | 63 65 6e 74 65 72 73 63 |'chrome,|centersc|
|00005960| 72 65 65 6e 2c 72 65 73 | 69 7a 61 62 6c 65 2c 64 |reen,res|izable,d|
|00005970| 69 61 6c 6f 67 27 29 3b | 0d 0a 20 20 20 20 7d 0d |ialog');|.. }.|
|00005980| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 6f |.}....fu|nction o|
|00005990| 70 65 6e 44 65 76 69 63 | 65 4d 61 6e 61 67 65 72 |penDevic|eManager|
|000059a0| 28 29 0d 0a 7b 0d 0a 20 | 20 20 20 2f 2f 63 68 65 |()..{.. | //che|
|000059b0| 63 6b 20 66 6f 72 20 61 | 6e 20 65 78 69 73 74 69 |ck for a|n existi|
|000059c0| 6e 67 20 64 65 76 69 63 | 65 4d 61 6e 67 65 72 20 |ng devic|eManger |
|000059d0| 77 69 6e 64 6f 77 20 61 | 6e 64 20 66 6f 63 75 73 |window a|nd focus|
|000059e0| 20 69 74 3b 20 69 74 27 | 73 20 6e 6f 74 20 61 70 | it; it'|s not ap|
|000059f0| 70 6c 69 63 61 74 69 6f | 6e 20 6d 6f 64 61 6c 0d |plicatio|n modal.|
|00005a00| 0a 20 20 20 20 63 6f 6e | 73 74 20 6b 57 69 6e 64 |. con|st kWind|
|00005a10| 6f 77 4d 65 64 69 61 74 | 6f 72 43 6f 6e 74 72 61 |owMediat|orContra|
|00005a20| 63 74 49 44 20 3d 20 22 | 40 6d 6f 7a 69 6c 6c 61 |ctID = "|@mozilla|
|00005a30| 2e 6f 72 67 2f 61 70 70 | 73 68 65 6c 6c 2f 77 69 |.org/app|shell/wi|
|00005a40| 6e 64 6f 77 2d 6d 65 64 | 69 61 74 6f 72 3b 31 22 |ndow-med|iator;1"|
|00005a50| 3b 0d 0a 20 20 20 20 63 | 6f 6e 73 74 20 6b 57 69 |;.. c|onst kWi|
|00005a60| 6e 64 6f 77 4d 65 64 69 | 61 74 6f 72 49 49 44 20 |ndowMedi|atorIID |
|00005a70| 3d 20 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 69 6e 74 |= Compon|ents.int|
|00005a80| 65 72 66 61 63 65 73 2e | 6e 73 49 57 69 6e 64 6f |erfaces.|nsIWindo|
|00005a90| 77 4d 65 64 69 61 74 6f | 72 3b 0d 0a 20 20 20 20 |wMediato|r;.. |
|00005aa0| 63 6f 6e 73 74 20 6b 57 | 69 6e 64 6f 77 4d 65 64 |const kW|indowMed|
|00005ab0| 69 61 74 6f 72 20 3d 20 | 43 6f 6d 70 6f 6e 65 6e |iator = |Componen|
|00005ac0| 74 73 2e 63 6c 61 73 73 | 65 73 5b 6b 57 69 6e 64 |ts.class|es[kWind|
|00005ad0| 6f 77 4d 65 64 69 61 74 | 6f 72 43 6f 6e 74 72 61 |owMediat|orContra|
|00005ae0| 63 74 49 44 5d 2e 67 65 | 74 53 65 72 76 69 63 65 |ctID].ge|tService|
|00005af0| 28 6b 57 69 6e 64 6f 77 | 4d 65 64 69 61 74 6f 72 |(kWindow|Mediator|
|00005b00| 49 49 44 29 3b 0d 0a 20 | 20 20 20 76 61 72 20 6c |IID);.. | var l|
|00005b10| 61 73 74 43 65 72 74 4d | 61 6e 61 67 65 72 20 3d |astCertM|anager =|
|00005b20| 20 6b 57 69 6e 64 6f 77 | 4d 65 64 69 61 74 6f 72 | kWindow|Mediator|
|00005b30| 2e 67 65 74 4d 6f 73 74 | 52 65 63 65 6e 74 57 69 |.getMost|RecentWi|
|00005b40| 6e 64 6f 77 28 22 6d 6f | 7a 69 6c 6c 61 3a 64 65 |ndow("mo|zilla:de|
|00005b50| 76 69 63 65 6d 61 6e 61 | 67 65 72 22 29 3b 0d 0a |vicemana|ger");..|
|00005b60| 20 20 20 20 69 66 20 28 | 6c 61 73 74 43 65 72 74 | if (|lastCert|
|00005b70| 4d 61 6e 61 67 65 72 29 | 0d 0a 20 20 20 20 20 20 |Manager)|.. |
|00005b80| 6c 61 73 74 43 65 72 74 | 4d 61 6e 61 67 65 72 2e |lastCert|Manager.|
|00005b90| 66 6f 63 75 73 28 29 3b | 0d 0a 20 20 20 20 65 6c |focus();|.. el|
|00005ba0| 73 65 20 7b 0d 0a 20 20 | 20 20 20 20 77 69 6e 64 |se {.. | wind|
|00005bb0| 6f 77 2e 6f 70 65 6e 28 | 27 63 68 72 6f 6d 65 3a |ow.open(|'chrome:|
|00005bc0| 2f 2f 70 69 70 70 6b 69 | 2f 63 6f 6e 74 65 6e 74 |//pippki|/content|
|00005bd0| 2f 64 65 76 69 63 65 5f | 6d 61 6e 61 67 65 72 2e |/device_|manager.|
|00005be0| 78 75 6c 27 2c 20 20 22 | 64 65 76 6d 67 72 22 2c |xul', "|devmgr",|
|00005bf0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00005c00| 20 20 20 20 27 63 68 72 | 6f 6d 65 2c 63 65 6e 74 | 'chr|ome,cent|
|00005c10| 65 72 73 63 72 65 65 6e | 2c 72 65 73 69 7a 61 62 |erscreen|,resizab|
|00005c20| 6c 65 2c 64 69 61 6c 6f | 67 27 29 3b 0d 0a 20 20 |le,dialo|g');.. |
|00005c30| 20 20 7d 0d 0a 7d 0d 0a | 50 4b 03 04 0a 00 00 00 | }..}..|PK......|
|00005c40| 00 00 83 55 6a 32 f8 8a | 5f bc 3e 11 00 00 3e 11 |...Uj2..|_.>...>.|
|00005c50| 00 00 1b 00 00 00 63 6f | 6e 74 65 6e 74 2f 70 69 |......co|ntent/pi|
|00005c60| 70 70 6b 69 2f 70 72 65 | 66 2d 73 73 6c 2e 78 75 |ppki/pre|f-ssl.xu|
|00005c70| 6c 3c 3f 78 6d 6c 20 76 | 65 72 73 69 6f 6e 3d 22 |l<?xml v|ersion="|
|00005c80| 31 2e 30 22 3f 3e 20 0d | 0a 3c 21 2d 2d 20 2a 2a |1.0"?> .|.<!-- **|
|00005c90| 2a 2a 2a 20 42 45 47 49 | 4e 20 4c 49 43 45 4e 53 |*** BEGI|N LICENS|
|00005ca0| 45 20 42 4c 4f 43 4b 20 | 2a 2a 2a 2a 2a 0d 0a 20 |E BLOCK |*****.. |
|00005cb0| 20 20 2d 20 56 65 72 73 | 69 6f 6e 3a 20 4d 50 4c | - Vers|ion: MPL|
|00005cc0| 20 31 2e 31 2f 47 50 4c | 20 32 2e 30 2f 4c 47 50 | 1.1/GPL| 2.0/LGP|
|00005cd0| 4c 20 32 2e 31 0d 0a 20 | 20 20 2d 0d 0a 20 20 20 |L 2.1.. | -.. |
|00005ce0| 2d 20 54 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |- The co|ntents o|
|00005cf0| 66 20 74 68 69 73 20 66 | 69 6c 65 20 61 72 65 20 |f this f|ile are |
|00005d00| 73 75 62 6a 65 63 74 20 | 74 6f 20 74 68 65 20 4d |subject |to the M|
|00005d10| 6f 7a 69 6c 6c 61 20 50 | 75 62 6c 69 63 20 4c 69 |ozilla P|ublic Li|
|00005d20| 63 65 6e 73 65 20 56 65 | 72 73 69 6f 6e 0d 0a 20 |cense Ve|rsion.. |
|00005d30| 20 20 2d 20 31 2e 31 20 | 28 74 68 65 20 22 4c 69 | - 1.1 |(the "Li|
|00005d40| 63 65 6e 73 65 22 29 3b | 20 79 6f 75 20 6d 61 79 |cense");| you may|
|00005d50| 20 6e 6f 74 20 75 73 65 | 20 74 68 69 73 20 66 69 | not use| this fi|
|00005d60| 6c 65 20 65 78 63 65 70 | 74 20 69 6e 20 63 6f 6d |le excep|t in com|
|00005d70| 70 6c 69 61 6e 63 65 20 | 77 69 74 68 0d 0a 20 20 |pliance |with.. |
|00005d80| 20 2d 20 74 68 65 20 4c | 69 63 65 6e 73 65 2e 20 | - the L|icense. |
|00005d90| 59 6f 75 20 6d 61 79 20 | 6f 62 74 61 69 6e 20 61 |You may |obtain a|
|00005da0| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 4c 69 63 | copy of| the Lic|
|00005db0| 65 6e 73 65 20 61 74 0d | 0a 20 20 20 2d 20 68 74 |ense at.|. - ht|
|00005dc0| 74 70 3a 2f 2f 77 77 77 | 2e 6d 6f 7a 69 6c 6c 61 |tp://www|.mozilla|
|00005dd0| 2e 6f 72 67 2f 4d 50 4c | 2f 0d 0a 20 20 20 2d 0d |.org/MPL|/.. -.|
|00005de0| 0a 20 20 20 2d 20 53 6f | 66 74 77 61 72 65 20 64 |. - So|ftware d|
|00005df0| 69 73 74 72 69 62 75 74 | 65 64 20 75 6e 64 65 72 |istribut|ed under|
|00005e00| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 20 69 73 20 | the Lic|ense is |
|00005e10| 64 69 73 74 72 69 62 75 | 74 65 64 20 6f 6e 20 61 |distribu|ted on a|
|00005e20| 6e 20 22 41 53 20 49 53 | 22 20 62 61 73 69 73 2c |n "AS IS|" basis,|
|00005e30| 0d 0a 20 20 20 2d 20 57 | 49 54 48 4f 55 54 20 57 |.. - W|ITHOUT W|
|00005e40| 41 52 52 41 4e 54 59 20 | 4f 46 20 41 4e 59 20 4b |ARRANTY |OF ANY K|
|00005e50| 49 4e 44 2c 20 65 69 74 | 68 65 72 20 65 78 70 72 |IND, eit|her expr|
|00005e60| 65 73 73 20 6f 72 20 69 | 6d 70 6c 69 65 64 2e 20 |ess or i|mplied. |
|00005e70| 53 65 65 20 74 68 65 20 | 4c 69 63 65 6e 73 65 0d |See the |License.|
|00005e80| 0a 20 20 20 2d 20 66 6f | 72 20 74 68 65 20 73 70 |. - fo|r the sp|
|00005e90| 65 63 69 66 69 63 20 6c | 61 6e 67 75 61 67 65 20 |ecific l|anguage |
|00005ea0| 67 6f 76 65 72 6e 69 6e | 67 20 72 69 67 68 74 73 |governin|g rights|
|00005eb0| 20 61 6e 64 20 6c 69 6d | 69 74 61 74 69 6f 6e 73 | and lim|itations|
|00005ec0| 20 75 6e 64 65 72 20 74 | 68 65 0d 0a 20 20 20 2d | under t|he.. -|
|00005ed0| 20 4c 69 63 65 6e 73 65 | 2e 0d 0a 20 20 20 2d 0d | License|... -.|
|00005ee0| 0a 20 20 20 2d 20 54 68 | 65 20 4f 72 69 67 69 6e |. - Th|e Origin|
|00005ef0| 61 6c 20 43 6f 64 65 20 | 69 73 20 6d 6f 7a 69 6c |al Code |is mozil|
|00005f00| 6c 61 2e 6f 72 67 20 63 | 6f 64 65 2e 0d 0a 20 20 |la.org c|ode... |
|00005f10| 20 2d 0d 0a 20 20 20 2d | 20 54 68 65 20 49 6e 69 | -.. -| The Ini|
|00005f20| 74 69 61 6c 20 44 65 76 | 65 6c 6f 70 65 72 20 6f |tial Dev|eloper o|
|00005f30| 66 20 74 68 65 20 4f 72 | 69 67 69 6e 61 6c 20 43 |f the Or|iginal C|
|00005f40| 6f 64 65 20 69 73 0d 0a | 20 20 20 2d 20 4e 65 74 |ode is..| - Net|
|00005f50| 73 63 61 70 65 20 43 6f | 6d 6d 75 6e 69 63 61 74 |scape Co|mmunicat|
|00005f60| 69 6f 6e 73 20 43 6f 72 | 70 2e 0d 0a 20 20 20 2d |ions Cor|p... -|
|00005f70| 20 50 6f 72 74 69 6f 6e | 73 20 63 72 65 61 74 65 | Portion|s create|
|00005f80| 64 20 62 79 20 74 68 65 | 20 49 6e 69 74 69 61 6c |d by the| Initial|
|00005f90| 20 44 65 76 65 6c 6f 70 | 65 72 20 61 72 65 20 43 | Develop|er are C|
|00005fa0| 6f 70 79 72 69 67 68 74 | 20 28 43 29 20 32 30 30 |opyright| (C) 200|
|00005fb0| 31 0d 0a 20 20 20 2d 20 | 74 68 65 20 49 6e 69 74 |1.. - |the Init|
|00005fc0| 69 61 6c 20 44 65 76 65 | 6c 6f 70 65 72 2e 20 41 |ial Deve|loper. A|
|00005fd0| 6c 6c 20 52 69 67 68 74 | 73 20 52 65 73 65 72 76 |ll Right|s Reserv|
|00005fe0| 65 64 2e 0d 0a 20 20 20 | 2d 0d 0a 20 20 20 2d 20 |ed... |-.. - |
|00005ff0| 43 6f 6e 74 72 69 62 75 | 74 6f 72 28 73 29 3a 0d |Contribu|tor(s):.|
|00006000| 0a 20 20 20 2d 20 20 20 | 42 6f 62 20 4c 6f 72 64 |. - |Bob Lord|
|00006010| 20 3c 6c 6f 72 64 40 6e | 65 74 73 63 61 70 65 2e | <lord@n|etscape.|
|00006020| 63 6f 6d 3e 0d 0a 20 20 | 20 2d 20 20 20 54 65 72 |com>.. | - Ter|
|00006030| 72 79 20 48 61 79 65 73 | 20 3c 74 68 61 79 65 73 |ry Hayes| <thayes|
|00006040| 40 6e 65 74 73 63 61 70 | 65 2e 63 6f 6d 3e 0d 0a |@netscap|e.com>..|
|00006050| 20 20 20 2d 0d 0a 20 20 | 20 2d 20 41 6c 74 65 72 | -.. | - Alter|
|00006060| 6e 61 74 69 76 65 6c 79 | 2c 20 74 68 65 20 63 6f |natively|, the co|
|00006070| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 69 73 20 66 |ntents o|f this f|
|00006080| 69 6c 65 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |ile may |be used |
|00006090| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|000060a0| 6f 66 0d 0a 20 20 20 2d | 20 65 69 74 68 65 72 20 |of.. -| either |
|000060b0| 74 68 65 20 47 4e 55 20 | 47 65 6e 65 72 61 6c 20 |the GNU |General |
|000060c0| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 56 |Public L|icense V|
|000060d0| 65 72 73 69 6f 6e 20 32 | 20 6f 72 20 6c 61 74 65 |ersion 2| or late|
|000060e0| 72 20 28 74 68 65 20 22 | 47 50 4c 22 29 2c 20 6f |r (the "|GPL"), o|
|000060f0| 72 0d 0a 20 20 20 2d 20 | 74 68 65 20 47 4e 55 20 |r.. - |the GNU |
|00006100| 4c 65 73 73 65 72 20 47 | 65 6e 65 72 61 6c 20 50 |Lesser G|eneral P|
|00006110| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 56 65 |ublic Li|cense Ve|
|00006120| 72 73 69 6f 6e 20 32 2e | 31 20 6f 72 20 6c 61 74 |rsion 2.|1 or lat|
|00006130| 65 72 20 28 74 68 65 20 | 22 4c 47 50 4c 22 29 2c |er (the |"LGPL"),|
|00006140| 0d 0a 20 20 20 2d 20 69 | 6e 20 77 68 69 63 68 20 |.. - i|n which |
|00006150| 63 61 73 65 20 74 68 65 | 20 70 72 6f 76 69 73 69 |case the| provisi|
|00006160| 6f 6e 73 20 6f 66 20 74 | 68 65 20 47 50 4c 20 6f |ons of t|he GPL o|
|00006170| 72 20 74 68 65 20 4c 47 | 50 4c 20 61 72 65 20 61 |r the LG|PL are a|
|00006180| 70 70 6c 69 63 61 62 6c | 65 20 69 6e 73 74 65 61 |pplicabl|e instea|
|00006190| 64 0d 0a 20 20 20 2d 20 | 6f 66 20 74 68 6f 73 65 |d.. - |of those|
|000061a0| 20 61 62 6f 76 65 2e 20 | 49 66 20 79 6f 75 20 77 | above. |If you w|
|000061b0| 69 73 68 20 74 6f 20 61 | 6c 6c 6f 77 20 75 73 65 |ish to a|llow use|
|000061c0| 20 6f 66 20 79 6f 75 72 | 20 76 65 72 73 69 6f 6e | of your| version|
|000061d0| 20 6f 66 20 74 68 69 73 | 20 66 69 6c 65 20 6f 6e | of this| file on|
|000061e0| 6c 79 0d 0a 20 20 20 2d | 20 75 6e 64 65 72 20 74 |ly.. -| under t|
|000061f0| 68 65 20 74 65 72 6d 73 | 20 6f 66 20 65 69 74 68 |he terms| of eith|
|00006200| 65 72 20 74 68 65 20 47 | 50 4c 20 6f 72 20 74 68 |er the G|PL or th|
|00006210| 65 20 4c 47 50 4c 2c 20 | 61 6e 64 20 6e 6f 74 20 |e LGPL, |and not |
|00006220| 74 6f 20 61 6c 6c 6f 77 | 20 6f 74 68 65 72 73 20 |to allow| others |
|00006230| 74 6f 0d 0a 20 20 20 2d | 20 75 73 65 20 79 6f 75 |to.. -| use you|
|00006240| 72 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 69 |r versio|n of thi|
|00006250| 73 20 66 69 6c 65 20 75 | 6e 64 65 72 20 74 68 65 |s file u|nder the|
|00006260| 20 74 65 72 6d 73 20 6f | 66 20 74 68 65 20 4d 50 | terms o|f the MP|
|00006270| 4c 2c 20 69 6e 64 69 63 | 61 74 65 20 79 6f 75 72 |L, indic|ate your|
|00006280| 0d 0a 20 20 20 2d 20 64 | 65 63 69 73 69 6f 6e 20 |.. - d|ecision |
|00006290| 62 79 20 64 65 6c 65 74 | 69 6e 67 20 74 68 65 20 |by delet|ing the |
|000062a0| 70 72 6f 76 69 73 69 6f | 6e 73 20 61 62 6f 76 65 |provisio|ns above|
|000062b0| 20 61 6e 64 20 72 65 70 | 6c 61 63 65 20 74 68 65 | and rep|lace the|
|000062c0| 6d 20 77 69 74 68 20 74 | 68 65 20 6e 6f 74 69 63 |m with t|he notic|
|000062d0| 65 0d 0a 20 20 20 2d 20 | 61 6e 64 20 6f 74 68 65 |e.. - |and othe|
|000062e0| 72 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 72 65 71 |r provis|ions req|
|000062f0| 75 69 72 65 64 20 62 79 | 20 74 68 65 20 47 50 4c |uired by| the GPL|
|00006300| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2e 20 49 66 | or the |LGPL. If|
|00006310| 20 79 6f 75 20 64 6f 20 | 6e 6f 74 20 64 65 6c 65 | you do |not dele|
|00006320| 74 65 0d 0a 20 20 20 2d | 20 74 68 65 20 70 72 6f |te.. -| the pro|
|00006330| 76 69 73 69 6f 6e 73 20 | 61 62 6f 76 65 2c 20 61 |visions |above, a|
|00006340| 20 72 65 63 69 70 69 65 | 6e 74 20 6d 61 79 20 75 | recipie|nt may u|
|00006350| 73 65 20 79 6f 75 72 20 | 76 65 72 73 69 6f 6e 20 |se your |version |
|00006360| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 75 6e 64 |of this |file und|
|00006370| 65 72 0d 0a 20 20 20 2d | 20 74 68 65 20 74 65 72 |er.. -| the ter|
|00006380| 6d 73 20 6f 66 20 61 6e | 79 20 6f 6e 65 20 6f 66 |ms of an|y one of|
|00006390| 20 74 68 65 20 4d 50 4c | 2c 20 74 68 65 20 47 50 | the MPL|, the GP|
|000063a0| 4c 20 6f 72 20 74 68 65 | 20 4c 47 50 4c 2e 0d 0a |L or the| LGPL...|
|000063b0| 20 20 20 2d 0d 0a 20 20 | 20 2d 20 2a 2a 2a 2a 2a | -.. | - *****|
|000063c0| 20 45 4e 44 20 4c 49 43 | 45 4e 53 45 20 42 4c 4f | END LIC|ENSE BLO|
|000063d0| 43 4b 20 2a 2a 2a 2a 2a | 20 2d 2d 3e 0d 0a 0d 0a |CK *****| -->....|
|000063e0| 3c 3f 78 6d 6c 2d 73 74 | 79 6c 65 73 68 65 65 74 |<?xml-st|ylesheet|
|000063f0| 20 68 72 65 66 3d 22 63 | 68 72 6f 6d 65 3a 2f 2f | href="c|hrome://|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.