home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 July & August / PCWorld_2005-07-08_cd.bin / komunikace / netscape / nsb-install-8-0.exe / chrome / pippki.jar < prev    next >
PKZip Archive  |  2005-05-19  |  282.5 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

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

You can browse this item here: pippki.jar

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, Nov 25 2004 15:23:24, uncompressed size 3958, method=store default
99% file Zip archive, with extra data prepended default
98% file data default
100% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% detectItEasy Archive: Zip(1.0)[100.0%,74 files] default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 3958, uncompressed size: 3958, name: content/pippki/changepassword.xul default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 ec 7a 79 31 d0 96 |PK......|...zy1..|
|00000010| 75 c4 76 0f 00 00 76 0f | 00 00 21 00 15 00 63 6f |u.v...v.|..!...co|
|00000020| 6e 74 65 6e 74 2f 70 69 | 70 70 6b 69 2f 63 68 61 |ntent/pi|ppki/cha|
|00000030| 6e 67 65 70 61 73 73 77 | 6f 72 64 2e 78 75 6c 55 |ngepassw|ord.xulU|
|00000040| 54 09 00 03 6c 69 a6 41 | 6e d3 8c 42 55 78 04 00 |T...li.A|n..BUx..|
|00000050| eb 03 01 02 3c 3f 78 6d | 6c 20 76 65 72 73 69 6f |....<?xm|l versio|
|00000060| 6e 3d 22 31 2e 30 22 3f | 3e 0d 0a 3c 21 2d 2d 20 |n="1.0"?|>..<!-- |
|00000070| 0d 0a 20 20 20 2d 20 54 | 68 65 20 63 6f 6e 74 65 |.. - T|he conte|
|00000080| 6e 74 73 20 6f 66 20 74 | 68 69 73 20 66 69 6c 65 |nts of t|his file|
|00000090| 20 61 72 65 20 73 75 62 | 6a 65 63 74 20 74 6f 20 | are sub|ject to |
|000000a0| 74 68 65 20 4d 6f 7a 69 | 6c 6c 61 20 50 75 62 6c |the Mozi|lla Publ|
|000000b0| 69 63 0d 0a 20 20 20 2d | 20 4c 69 63 65 6e 73 65 |ic.. -| License|
|000000c0| 20 56 65 72 73 69 6f 6e | 20 31 2e 31 20 28 74 68 | Version| 1.1 (th|
|000000d0| 65 20 22 4c 69 63 65 6e | 73 65 22 29 3b 20 79 6f |e "Licen|se"); yo|
|000000e0| 75 20 6d 61 79 20 6e 6f | 74 20 75 73 65 20 74 68 |u may no|t use th|
|000000f0| 69 73 20 66 69 6c 65 0d | 0a 20 20 20 2d 20 65 78 |is file.|. - ex|
|00000100| 63 65 70 74 20 69 6e 20 | 63 6f 6d 70 6c 69 61 6e |cept in |complian|
|00000110| 63 65 20 77 69 74 68 20 | 74 68 65 20 4c 69 63 65 |ce with |the Lice|
|00000120| 6e 73 65 2e 20 59 6f 75 | 20 6d 61 79 20 6f 62 74 |nse. You| may obt|
|00000130| 61 69 6e 20 61 20 63 6f | 70 79 20 6f 66 0d 0a 20 |ain a co|py of.. |
|00000140| 20 20 2d 20 74 68 65 20 | 4c 69 63 65 6e 73 65 20 | - the |License |
|00000150| 61 74 20 68 74 74 70 3a | 2f 2f 77 77 77 2e 6d 6f |at http:|//www.mo|
|00000160| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 4d 50 4c 2f 0d 0a |zilla.or|g/MPL/..|
|00000170| 20 20 20 2d 20 0d 0a 20 | 20 20 2d 20 53 6f 66 74 | - .. | - Soft|
|00000180| 77 61 72 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |ware dis|tributed|
|00000190| 20 75 6e 64 65 72 20 74 | 68 65 20 4c 69 63 65 6e | under t|he Licen|
|000001a0| 73 65 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |se is di|stribute|
|000001b0| 64 20 6f 6e 20 61 6e 20 | 22 41 53 0d 0a 20 20 20 |d on an |"AS.. |
|000001c0| 2d 20 49 53 22 20 62 61 | 73 69 73 2c 20 57 49 54 |- IS" ba|sis, WIT|
|000001d0| 48 4f 55 54 20 57 41 52 | 52 41 4e 54 59 20 4f 46 |HOUT WAR|RANTY OF|
|000001e0| 20 41 4e 59 20 4b 49 4e | 44 2c 20 65 69 74 68 65 | ANY KIN|D, eithe|
|000001f0| 72 20 65 78 70 72 65 73 | 73 20 6f 72 0d 0a 20 20 |r expres|s or.. |
|00000200| 20 2d 20 69 6d 70 6c 69 | 65 64 2e 20 53 65 65 20 | - impli|ed. See |
|00000210| 74 68 65 20 4c 69 63 65 | 6e 73 65 20 66 6f 72 20 |the Lice|nse for |
|00000220| 74 68 65 20 73 70 65 63 | 69 66 69 63 20 6c 61 6e |the spec|ific lan|
|00000230| 67 75 61 67 65 20 67 6f | 76 65 72 6e 69 6e 67 0d |guage go|verning.|
|00000240| 0a 20 20 20 2d 20 72 69 | 67 68 74 73 20 61 6e 64 |. - ri|ghts and|
|00000250| 20 6c 69 6d 69 74 61 74 | 69 6f 6e 73 20 75 6e 64 | limitat|ions und|
|00000260| 65 72 20 74 68 65 20 4c | 69 63 65 6e 73 65 2e 0d |er the L|icense..|
|00000270| 0a 20 20 20 2d 20 0d 0a | 20 20 20 2d 20 54 68 65 |. - ..| - The|
|00000280| 20 4f 72 69 67 69 6e 61 | 6c 20 43 6f 64 65 20 69 | Origina|l Code i|
|00000290| 73 20 6d 6f 7a 69 6c 6c | 61 2e 6f 72 67 20 63 6f |s mozill|a.org co|
|000002a0| 64 65 2e 0d 0a 20 20 20 | 2d 20 0d 0a 20 20 20 2d |de... |- .. -|
|000002b0| 20 54 68 65 20 49 6e 69 | 74 69 61 6c 20 44 65 76 | The Ini|tial Dev|
|000002c0| 65 6c 6f 70 65 72 20 6f | 66 20 74 68 65 20 4f 72 |eloper o|f the Or|
|000002d0| 69 67 69 6e 61 6c 20 43 | 6f 64 65 20 69 73 20 4e |iginal C|ode is N|
|000002e0| 65 74 73 63 61 70 65 0d | 0a 20 20 20 2d 20 43 6f |etscape.|. - Co|
|000002f0| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 73 20 43 6f 72 |mmunicat|ions Cor|
|00000300| 70 2e 20 20 50 6f 72 74 | 69 6f 6e 73 20 63 72 65 |p. Port|ions cre|
|00000310| 61 74 65 64 20 62 79 20 | 4e 65 74 73 63 61 70 65 |ated by |Netscape|
|00000320| 20 61 72 65 0d 0a 20 20 | 20 2d 20 43 6f 70 79 72 | are.. | - Copyr|
|00000330| 69 67 68 74 20 28 43 29 | 20 32 30 30 31 20 4e 65 |ight (C)| 2001 Ne|
|00000340| 74 73 63 61 70 65 20 43 | 6f 6d 6d 75 6e 69 63 61 |tscape C|ommunica|
|00000350| 74 69 6f 6e 73 20 43 6f | 72 70 2e 20 20 41 6c 6c |tions Co|rp. All|
|00000360| 0d 0a 20 20 20 2d 20 52 | 69 67 68 74 73 20 52 65 |.. - R|ights Re|
|00000370| 73 65 72 76 65 64 2e 0d | 0a 20 20 20 2d 20 0d 0a |served..|. - ..|
|00000380| 20 20 20 2d 20 43 6f 6e | 74 72 69 62 75 74 6f 72 | - Con|tributor|
|00000390| 28 73 29 3a 0d 0a 20 20 | 20 2d 20 20 20 42 6f 62 |(s):.. | - Bob|
|000003a0| 20 4c 6f 72 64 20 3c 6c | 6f 72 64 40 6e 65 74 73 | Lord <l|ord@nets|
|000003b0| 63 61 70 65 2e 63 6f 6d | 3e 0d 0a 20 20 20 2d 20 |cape.com|>.. - |
|000003c0| 20 20 54 65 72 72 79 20 | 48 61 79 65 73 20 3c 74 | Terry |Hayes <t|
|000003d0| 68 61 79 65 73 40 6e 65 | 74 73 63 61 70 65 2e 63 |hayes@ne|tscape.c|
|000003e0| 6f 6d 3e 0d 0a 20 20 2d | 2d 3e 0d 0a 0d 0a 3c 3f |om>.. -|->....<?|
|000003f0| 78 6d 6c 2d 73 74 79 6c | 65 73 68 65 65 74 20 68 |xml-styl|esheet h|
|00000400| 72 65 66 3d 22 63 68 72 | 6f 6d 65 3a 2f 2f 67 6c |ref="chr|ome://gl|
|00000410| 6f 62 61 6c 2f 73 6b 69 | 6e 2f 22 20 74 79 70 65 |obal/ski|n/" type|
|00000420| 3d 22 74 65 78 74 2f 63 | 73 73 22 3f 3e 0d 0a 0d |="text/c|ss"?>...|
|00000430| 0a 3c 21 44 4f 43 54 59 | 50 45 20 77 69 6e 64 6f |.<!DOCTY|PE windo|
|00000440| 77 20 53 59 53 54 45 4d | 20 22 63 68 72 6f 6d 65 |w SYSTEM| "chrome|
|00000450| 3a 2f 2f 70 69 70 70 6b | 69 2f 6c 6f 63 61 6c 65 |://pippk|i/locale|
|00000460| 2f 70 69 70 70 6b 69 2e | 64 74 64 22 3e 0d 0a 0d |/pippki.|dtd">...|
|00000470| 0a 3c 77 69 6e 64 6f 77 | 20 69 64 3d 22 73 65 74 |.<window| id="set|
|00000480| 5f 70 61 73 73 77 6f 72 | 64 22 20 74 69 74 6c 65 |_passwor|d" title|
|00000490| 3d 22 26 73 65 74 50 61 | 73 73 77 6f 72 64 2e 74 |="&setPa|ssword.t|
|000004a0| 69 74 6c 65 3b 22 0d 0a | 20 20 78 6d 6c 6e 73 3d |itle;"..| xmlns=|
|000004b0| 22 68 74 74 70 3a 2f 2f | 77 77 77 2e 6d 6f 7a 69 |"http://|www.mozi|
|000004c0| 6c 6c 61 2e 6f 72 67 2f | 6b 65 79 6d 61 73 74 65 |lla.org/|keymaste|
|000004d0| 72 2f 67 61 74 65 6b 65 | 65 70 65 72 2f 74 68 65 |r/gateke|eper/the|
|000004e0| 72 65 2e 69 73 2e 6f 6e | 6c 79 2e 78 75 6c 22 20 |re.is.on|ly.xul" |
|000004f0| 20 20 20 20 20 0d 0a 20 | 20 6f 6e 6c 6f 61 64 3d | .. | onload=|
|00000500| 22 6f 6e 4c 6f 61 64 28 | 29 3b 22 3e 0d 0a 0d 0a |"onLoad(|);">....|
|00000510| 3c 73 63 72 69 70 74 20 | 74 79 70 65 3d 22 61 70 |<script |type="ap|
|00000520| 70 6c 69 63 61 74 69 6f | 6e 2f 78 2d 6a 61 76 61 |plicatio|n/x-java|
|00000530| 73 63 72 69 70 74 22 20 | 73 72 63 3d 22 63 68 72 |script" |src="chr|
|00000540| 6f 6d 65 3a 2f 2f 70 69 | 70 70 6b 69 2f 63 6f 6e |ome://pi|ppki/con|
|00000550| 74 65 6e 74 2f 70 61 73 | 73 77 6f 72 64 2e 6a 73 |tent/pas|sword.js|
|00000560| 22 2f 3e 0d 0a 3c 73 63 | 72 69 70 74 20 74 79 70 |"/>..<sc|ript typ|
|00000570| 65 3d 22 61 70 70 6c 69 | 63 61 74 69 6f 6e 2f 78 |e="appli|cation/x|
|00000580| 2d 6a 61 76 61 73 63 72 | 69 70 74 22 20 73 72 63 |-javascr|ipt" src|
|00000590| 3d 22 63 68 72 6f 6d 65 | 3a 2f 2f 67 6c 6f 62 61 |="chrome|://globa|
|000005a0| 6c 2f 63 6f 6e 74 65 6e | 74 2f 73 74 72 72 65 73 |l/conten|t/strres|
|000005b0| 2e 6a 73 22 2f 3e 0d 0a | 3c 73 63 72 69 70 74 20 |.js"/>..|<script |
|000005c0| 74 79 70 65 3d 22 61 70 | 70 6c 69 63 61 74 69 6f |type="ap|plicatio|
|000005d0| 6e 2f 78 2d 6a 61 76 61 | 73 63 72 69 70 74 22 20 |n/x-java|script" |
|000005e0| 73 72 63 3d 22 63 68 72 | 6f 6d 65 3a 2f 2f 68 65 |src="chr|ome://he|
|000005f0| 6c 70 2f 63 6f 6e 74 65 | 6e 74 2f 63 6f 6e 74 65 |lp/conte|nt/conte|
|00000600| 78 74 48 65 6c 70 2e 6a | 73 22 2f 3e 0d 0a 0d 0a |xtHelp.j|s"/>....|
|00000610| 0d 0a 3c 76 62 6f 78 20 | 73 74 79 6c 65 3d 22 6d |..<vbox |style="m|
|00000620| 61 72 67 69 6e 3a 20 35 | 70 78 3b 22 20 66 6c 65 |argin: 5|px;" fle|
|00000630| 78 3d 22 31 22 3e 0d 0a | 0d 0a 3c 68 62 6f 78 20 |x="1">..|..<hbox |
|00000640| 61 6c 69 67 6e 3d 22 63 | 65 6e 74 65 72 22 3e 0d |align="c|enter">.|
|00000650| 0a 20 20 3c 6c 61 62 65 | 6c 20 76 61 6c 75 65 3d |. <labe|l value=|
|00000660| 22 26 73 65 74 50 61 73 | 73 77 6f 72 64 2e 74 6f |"&setPas|sword.to|
|00000670| 6b 65 6e 4e 61 6d 65 2e | 6c 61 62 65 6c 3b 3a 20 |kenName.|label;: |
|00000680| 22 2f 3e 0d 0a 20 20 3c | 6c 61 62 65 6c 20 69 64 |"/>.. <|label id|
|00000690| 3d 22 74 6f 6b 65 6e 4e | 61 6d 65 22 20 2f 3e 0d |="tokenN|ame" />.|
|000006a0| 0a 20 20 3c 6d 65 6e 75 | 6c 69 73 74 20 69 64 3d |. <menu|list id=|
|000006b0| 22 74 6f 6b 65 6e 4d 65 | 6e 75 22 20 6f 6e 63 6f |"tokenMe|nu" onco|
|000006c0| 6d 6d 61 6e 64 3d 22 6f | 6e 4d 65 6e 75 43 68 61 |mmand="o|nMenuCha|
|000006d0| 6e 67 65 28 29 22 3e 0d | 0a 20 20 20 20 20 3c 6d |nge()">.|. <m|
|000006e0| 65 6e 75 70 6f 70 75 70 | 2f 3e 0d 0a 20 20 3c 2f |enupopup|/>.. </|
|000006f0| 6d 65 6e 75 6c 69 73 74 | 3e 0d 0a 3c 2f 68 62 6f |menulist|>..</hbo|
|00000700| 78 3e 0d 0a 0d 0a 0d 0a | 3c 21 2d 2d 0d 0a 20 20 |x>......|<!--.. |
|00000710| 20 20 3c 6d 65 6e 75 6c | 69 73 74 20 69 64 3d 22 | <menul|ist id="|
|00000720| 73 69 67 6e 65 72 4c 69 | 73 74 22 20 64 69 73 61 |signerLi|st" disa|
|00000730| 62 6c 65 64 3d 22 74 72 | 75 65 22 3e 0d 0a 20 20 |bled="tr|ue">.. |
|00000740| 20 20 20 20 3c 6d 65 6e | 75 70 6f 70 75 70 3e 0d | <men|upopup>.|
|00000750| 0a 20 20 20 20 20 20 20 | 20 3c 6d 65 6e 75 69 74 |. | <menuit|
|00000760| 65 6d 20 69 64 3d 22 74 | 6f 6b 65 6e 2d 6d 65 6e |em id="t|oken-men|
|00000770| 75 22 20 6c 61 62 65 6c | 3d 22 42 75 69 6c 74 2d |u" label|="Built-|
|00000780| 69 6e 20 70 72 69 76 61 | 74 65 20 6b 65 79 20 64 |in priva|te key d|
|00000790| 61 74 61 62 61 73 65 22 | 2f 3e 0d 0a 20 20 20 20 |atabase"|/>.. |
|000007a0| 20 20 20 20 3c 6d 65 6e | 75 69 74 65 6d 20 6c 61 | <men|uitem la|
|000007b0| 62 65 6c 3d 22 42 6f 62 | 20 4c 6f 72 64 27 73 20 |bel="Bob| Lord's |
|000007c0| 69 42 75 74 74 6f 6e 22 | 2f 3e 0d 0a 20 20 20 20 |iButton"|/>.. |
|000007d0| 20 20 3c 2f 6d 65 6e 75 | 70 6f 70 75 70 3e 0d 0a | </menu|popup>..|
|000007e0| 20 20 20 20 3c 2f 6d 65 | 6e 75 6c 69 73 74 3e 0d | </me|nulist>.|
|000007f0| 0a 2d 2d 3e 0d 0a 3c 73 | 65 70 61 72 61 74 6f 72 |.-->..<s|eparator|
|00000800| 2f 3e 0d 0a 0d 0a 3c 67 | 72 6f 75 70 62 6f 78 3e |/>....<g|roupbox>|
|00000810| 0d 0a 3c 67 72 69 64 3e | 0d 0a 20 3c 63 6f 6c 75 |..<grid>|.. <colu|
|00000820| 6d 6e 73 3e 0d 0a 20 20 | 20 3c 63 6f 6c 75 6d 6e |mns>.. | <column|
|00000830| 2f 3e 0d 0a 20 20 20 3c | 63 6f 6c 75 6d 6e 2f 3e |/>.. <|column/>|
|00000840| 20 0d 0a 20 3c 2f 63 6f | 6c 75 6d 6e 73 3e 0d 0a | .. </co|lumns>..|
|00000850| 20 3c 72 6f 77 73 3e 0d | 0a 20 20 20 3c 72 6f 77 | <rows>.|. <row|
|00000860| 3e 0d 0a 20 20 20 20 20 | 3c 6c 61 62 65 6c 20 76 |>.. |<label v|
|00000870| 61 6c 75 65 3d 22 26 73 | 65 74 50 61 73 73 77 6f |alue="&s|etPasswo|
|00000880| 72 64 2e 6f 6c 64 50 61 | 73 73 77 6f 72 64 2e 6c |rd.oldPa|ssword.l|
|00000890| 61 62 65 6c 3b 22 2f 3e | 20 0d 0a 20 20 20 20 20 |abel;"/>| .. |
|000008a0| 3c 74 65 78 74 62 6f 78 | 20 69 64 3d 22 6f 6c 64 |<textbox| id="old|
|000008b0| 70 77 22 20 74 79 70 65 | 3d 22 70 61 73 73 77 6f |pw" type|="passwo|
|000008c0| 72 64 22 2f 3e 0d 0a 20 | 20 20 20 20 3c 21 2d 2d |rd"/>.. | <!--|
|000008d0| 20 54 68 69 73 20 74 65 | 78 74 62 6f 78 20 69 73 | This te|xtbox is|
|000008e0| 20 69 6e 73 65 72 74 65 | 64 20 61 73 20 61 20 77 | inserte|d as a w|
|000008f0| 6f 72 6b 61 72 6f 75 6e | 64 20 74 6f 20 74 68 65 |orkaroun|d to the|
|00000900| 20 66 61 63 74 20 74 68 | 61 74 20 6d 61 6b 69 6e | fact th|at makin|
|00000910| 67 20 74 68 65 20 27 74 | 79 70 65 27 20 0d 0a 20 |g the 't|ype' .. |
|00000920| 20 20 20 20 20 20 20 20 | 20 26 20 27 64 69 73 61 | | & 'disa|
|00000930| 62 6c 65 64 27 20 70 72 | 6f 70 65 72 74 79 20 6f |bled' pr|operty o|
|00000940| 66 20 74 68 65 20 27 6f | 6c 64 70 77 27 20 74 65 |f the 'o|ldpw' te|
|00000950| 78 74 62 6f 78 20 74 6f | 67 67 6c 65 20 62 65 74 |xtbox to|ggle bet|
|00000960| 77 65 65 6e 20 5b 27 70 | 61 73 73 77 6f 72 64 27 |ween ['p|assword'|
|00000970| 20 26 20 0d 0a 20 20 20 | 20 20 20 20 20 20 20 27 | & .. | '|
|00000980| 66 61 6c 73 65 27 5d 20 | 61 6e 64 20 5b 27 74 65 |false'] |and ['te|
|00000990| 78 74 27 20 26 20 27 74 | 72 75 65 27 5d 20 2d 20 |xt' & 't|rue'] - |
|000009a0| 61 73 20 77 6f 75 6c 64 | 20 62 65 20 6e 65 63 65 |as would| be nece|
|000009b0| 73 73 61 72 79 20 69 66 | 20 74 68 65 20 6d 65 6e |ssary if| the men|
|000009c0| 75 20 68 61 73 20 6d 6f | 72 65 20 0d 0a 20 20 20 |u has mo|re .. |
|000009d0| 20 20 20 20 20 20 20 74 | 68 61 6e 20 6f 6e 65 20 | t|han one |
|000009e0| 74 6f 6b 65 6e 73 2c 20 | 73 6f 6d 65 20 69 6e 69 |tokens, |some ini|
|000009f0| 74 69 61 6c 69 7a 65 64 | 20 61 6e 64 20 73 6f 6d |tialized| and som|
|00000a00| 65 20 6e 6f 74 20 2d 20 | 64 6f 65 73 20 6e 6f 74 |e not - |does not|
|00000a10| 20 77 6f 72 6b 20 70 72 | 6f 70 65 72 6c 79 2e 20 | work pr|operly. |
|00000a20| 53 6f 2c 20 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |So, .. | |
|00000a30| 65 69 74 68 65 72 20 74 | 68 65 20 74 65 78 74 62 |either t|he textb|
|00000a40| 6f 78 20 27 6f 6c 64 70 | 77 27 20 6f 72 20 74 68 |ox 'oldp|w' or th|
|00000a50| 65 20 74 65 78 74 62 6f | 78 20 27 6d 65 73 73 61 |e textbo|x 'messa|
|00000a60| 67 65 27 20 77 6f 75 6c | 64 20 62 65 20 64 69 73 |ge' woul|d be dis|
|00000a70| 70 6c 61 79 65 64 2c 20 | 0d 0a 20 20 20 20 20 20 |played, |.. |
|00000a80| 20 20 20 20 64 65 70 65 | 6e 64 69 6e 67 20 6f 6e | depe|nding on|
|00000a90| 20 74 68 65 20 73 74 61 | 74 65 20 6f 66 20 74 68 | the sta|te of th|
|00000aa0| 65 20 74 6f 6b 65 6e 20 | 73 65 6c 65 63 74 65 64 |e token |selected|
|00000ab0| 20 0d 0a 20 20 20 20 20 | 2d 2d 3e 0d 0a 20 20 20 | .. |-->.. |
|00000ac0| 20 20 3c 74 65 78 74 62 | 6f 78 20 69 64 3d 22 6d | <textb|ox id="m|
|00000ad0| 65 73 73 61 67 65 22 20 | 64 69 73 61 62 6c 65 64 |essage" |disabled|
|00000ae0| 3d 22 74 72 75 65 22 20 | 2f 3e 0d 0a 20 20 20 3c |="true" |/>.. <|
|00000af0| 2f 72 6f 77 3e 0d 0a 20 | 20 20 3c 72 6f 77 3e 0d |/row>.. | <row>.|
|00000b00| 0a 20 20 20 20 20 3c 6c | 61 62 65 6c 20 76 61 6c |. <l|abel val|
|00000b10| 75 65 3d 22 26 73 65 74 | 50 61 73 73 77 6f 72 64 |ue="&set|Password|
|00000b20| 2e 6e 65 77 50 61 73 73 | 77 6f 72 64 2e 6c 61 62 |.newPass|word.lab|
|00000b30| 65 6c 3b 22 2f 3e 20 0d | 0a 20 20 20 20 20 3c 74 |el;"/> .|. <t|
|00000b40| 65 78 74 62 6f 78 20 69 | 64 3d 22 70 77 31 22 20 |extbox i|d="pw1" |
|00000b50| 74 79 70 65 3d 22 70 61 | 73 73 77 6f 72 64 22 20 |type="pa|ssword" |
|00000b60| 0d 0a 20 20 20 20 20 20 | 20 6f 6e 69 6e 70 75 74 |.. | oninput|
|00000b70| 3d 22 73 65 74 50 61 73 | 73 77 6f 72 64 53 74 72 |="setPas|swordStr|
|00000b80| 65 6e 67 74 68 28 29 3b | 20 63 68 65 63 6b 50 61 |ength();| checkPa|
|00000b90| 73 73 77 6f 72 64 73 28 | 29 3b 22 2f 3e 20 0d 0a |sswords(|);"/> ..|
|00000ba0| 20 20 20 3c 2f 72 6f 77 | 3e 0d 0a 20 20 20 3c 72 | </row|>.. <r|
|00000bb0| 6f 77 3e 0d 0a 20 20 20 | 20 20 3c 6c 61 62 65 6c |ow>.. | <label|
|00000bc0| 20 76 61 6c 75 65 3d 22 | 26 73 65 74 50 61 73 73 | value="|&setPass|
|00000bd0| 77 6f 72 64 2e 72 65 65 | 6e 74 65 72 50 61 73 73 |word.ree|nterPass|
|00000be0| 77 6f 72 64 2e 6c 61 62 | 65 6c 3b 22 2f 3e 20 0d |word.lab|el;"/> .|
|00000bf0| 0a 20 20 20 20 20 3c 74 | 65 78 74 62 6f 78 20 69 |. <t|extbox i|
|00000c00| 64 3d 22 70 77 32 22 20 | 74 79 70 65 3d 22 70 61 |d="pw2" |type="pa|
|00000c10| 73 73 77 6f 72 64 22 20 | 6f 6e 69 6e 70 75 74 3d |ssword" |oninput=|
|00000c20| 22 63 68 65 63 6b 50 61 | 73 73 77 6f 72 64 73 28 |"checkPa|sswords(|
|00000c30| 29 3b 22 2f 3e 20 20 0d | 0a 20 20 20 3c 2f 72 6f |);"/> .|. </ro|
|00000c40| 77 3e 0d 0a 20 3c 2f 72 | 6f 77 73 3e 0d 0a 3c 2f |w>.. </r|ows>..</|
|00000c50| 67 72 69 64 3e 0d 0a 3c | 2f 67 72 6f 75 70 62 6f |grid>..<|/groupbo|
|00000c60| 78 3e 0d 0a 0d 0a 3c 67 | 72 6f 75 70 62 6f 78 3e |x>....<g|roupbox>|
|00000c70| 0d 0a 20 3c 63 61 70 74 | 69 6f 6e 20 6c 61 62 65 |.. <capt|ion labe|
|00000c80| 6c 3d 22 26 73 65 74 50 | 61 73 73 77 6f 72 64 2e |l="&setP|assword.|
|00000c90| 6d 65 74 65 72 2e 6c 61 | 62 65 6c 3b 22 2f 3e 0d |meter.la|bel;"/>.|
|00000ca0| 0a 20 3c 70 72 6f 67 72 | 65 73 73 6d 65 74 65 72 |. <progr|essmeter|
|00000cb0| 20 69 64 3d 22 70 77 6d | 65 74 65 72 22 20 6d 6f | id="pwm|eter" mo|
|00000cc0| 64 65 3d 22 64 65 74 65 | 72 6d 69 6e 65 64 22 20 |de="dete|rmined" |
|00000cd0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000ce0| 20 20 20 20 76 61 6c 75 | 65 3d 22 30 22 2f 3e 0d | valu|e="0"/>.|
|00000cf0| 0a 3c 2f 67 72 6f 75 70 | 62 6f 78 3e 0d 0a 0d 0a |.</group|box>....|
|00000d00| 3c 73 65 70 61 72 61 74 | 6f 72 2f 3e 0d 0a 0d 0a |<separat|or/>....|
|00000d10| 3c 6b 65 79 73 65 74 20 | 69 64 3d 22 6b 65 79 73 |<keyset |id="keys|
|00000d20| 22 3e 0d 0a 20 20 3c 6b | 65 79 20 69 64 3d 22 65 |">.. <k|ey id="e|
|00000d30| 6e 74 65 72 2d 6b 65 79 | 22 20 20 6b 65 79 63 6f |nter-key|" keyco|
|00000d40| 64 65 3d 22 56 4b 5f 45 | 4e 54 45 52 22 20 20 6f |de="VK_E|NTER" o|
|00000d50| 6e 63 6f 6d 6d 61 6e 64 | 3d 22 69 66 20 28 21 64 |ncommand|="if (!d|
|00000d60| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|00000d70| 6e 74 42 79 49 64 28 27 | 6f 6b 2d 62 75 74 74 6f |ntById('|ok-butto|
|00000d80| 6e 27 29 2e 64 69 73 61 | 62 6c 65 64 29 20 73 65 |n').disa|bled) se|
|00000d90| 74 50 61 73 73 77 6f 72 | 64 28 29 3b 22 2f 3e 0d |tPasswor|d();"/>.|
|00000da0| 0a 20 20 3c 6b 65 79 20 | 69 64 3d 22 72 65 74 75 |. <key |id="retu|
|00000db0| 72 6e 2d 6b 65 79 22 20 | 6b 65 79 63 6f 64 65 3d |rn-key" |keycode=|
|00000dc0| 22 56 4b 5f 52 45 54 55 | 52 4e 22 20 6f 6e 63 6f |"VK_RETU|RN" onco|
|00000dd0| 6d 6d 61 6e 64 3d 22 69 | 66 20 28 21 64 6f 63 75 |mmand="i|f (!docu|
|00000de0| 6d 65 6e 74 2e 67 65 74 | 45 6c 65 6d 65 6e 74 42 |ment.get|ElementB|
|00000df0| 79 49 64 28 27 6f 6b 2d | 62 75 74 74 6f 6e 27 29 |yId('ok-|button')|
|00000e00| 2e 64 69 73 61 62 6c 65 | 64 29 20 73 65 74 50 61 |.disable|d) setPa|
|00000e10| 73 73 77 6f 72 64 28 29 | 3b 22 2f 3e 0d 0a 20 20 |ssword()|;"/>.. |
|00000e20| 3c 6b 65 79 20 69 64 3d | 22 65 73 63 2d 6b 65 79 |<key id=|"esc-key|
|00000e30| 22 20 20 20 20 6b 65 79 | 63 6f 64 65 3d 22 56 4b |" key|code="VK|
|00000e40| 5f 45 53 43 41 50 45 22 | 20 6f 6e 63 6f 6d 6d 61 |_ESCAPE"| oncomma|
|00000e50| 6e 64 3d 22 77 69 6e 64 | 6f 77 2e 63 6c 6f 73 65 |nd="wind|ow.close|
|00000e60| 28 29 3b 22 2f 3e 0d 0a | 3c 2f 6b 65 79 73 65 74 |();"/>..|</keyset|
|00000e70| 3e 0d 0a 0d 0a 3c 68 62 | 6f 78 3e 0d 0a 3c 62 75 |>....<hb|ox>..<bu|
|00000e80| 74 74 6f 6e 20 69 64 3d | 22 6f 6b 2d 62 75 74 74 |tton id=|"ok-butt|
|00000e90| 6f 6e 22 20 6c 61 62 65 | 6c 3d 22 26 6f 6b 2e 6c |on" labe|l="&ok.l|
|00000ea0| 61 62 65 6c 3b 22 0d 0a | 20 20 20 20 20 20 20 20 |abel;"..| |
|00000eb0| 6f 6e 63 6f 6d 6d 61 6e | 64 3d 22 73 65 74 50 61 |oncomman|d="setPa|
|00000ec0| 73 73 77 6f 72 64 28 29 | 3b 22 20 64 69 73 61 62 |ssword()|;" disab|
|00000ed0| 6c 65 64 3d 22 74 72 75 | 65 22 20 64 65 66 61 75 |led="tru|e" defau|
|00000ee0| 6c 74 3d 22 74 72 75 65 | 22 2f 3e 0d 0a 3c 62 75 |lt="true|"/>..<bu|
|00000ef0| 74 74 6f 6e 20 69 64 3d | 22 63 61 6e 63 65 6c 2d |tton id=|"cancel-|
|00000f00| 62 75 74 74 6f 6e 22 20 | 6c 61 62 65 6c 3d 22 26 |button" |label="&|
|00000f10| 63 61 6e 63 65 6c 2e 6c | 61 62 65 6c 3b 22 0d 0a |cancel.l|abel;"..|
|00000f20| 20 20 20 20 20 20 20 20 | 6f 6e 63 6f 6d 6d 61 6e | |oncomman|
|00000f30| 64 3d 22 77 69 6e 64 6f | 77 2e 63 6c 6f 73 65 28 |d="windo|w.close(|
|00000f40| 29 3b 22 2f 3e 20 0d 0a | 3c 62 75 74 74 6f 6e 20 |);"/> ..|<button |
|00000f50| 69 64 3d 22 68 65 6c 70 | 2d 62 75 74 74 6f 6e 22 |id="help|-button"|
|00000f60| 20 6c 61 62 65 6c 3d 22 | 26 68 65 6c 70 2e 6c 61 | label="|&help.la|
|00000f70| 62 65 6c 3b 22 0d 0a 20 | 20 20 20 20 20 20 20 6f |bel;".. | o|
|00000f80| 6e 63 6f 6d 6d 61 6e 64 | 3d 22 6f 70 65 6e 48 65 |ncommand|="openHe|
|00000f90| 6c 70 28 27 63 68 61 6e | 67 65 5f 70 77 64 27 29 |lp('chan|ge_pwd')|
|00000fa0| 3b 22 2f 3e 20 0d 0a 3c | 2f 68 62 6f 78 3e 0d 0a |;"/> ..<|/hbox>..|
|00000fb0| 0d 0a 0d 0a 3c 2f 76 62 | 6f 78 3e 0d 0a 0d 0a 3c |....</vb|ox>....<|
|00000fc0| 2f 77 69 6e 64 6f 77 3e | 0d 0a 50 4b 03 04 0a 00 |/window>|..PK....|
|00000fd0| 00 00 00 00 ec 7a 79 31 | 47 74 93 8f f3 09 00 00 |.....zy1|Gt......|
|00000fe0| f3 09 00 00 1e 00 15 00 | 63 6f 6e 74 65 6e 74 2f |........|content/|
|00000ff0| 70 69 70 70 6b 69 2f 67 | 65 74 70 61 73 73 77 6f |pippki/g|etpasswo|
|00001000| 72 64 2e 78 75 6c 55 54 | 09 00 03 6c 69 a6 41 6e |rd.xulUT|...li.An|
|00001010| d3 8c 42 55 78 04 00 eb | 03 01 02 3c 3f 78 6d 6c |..BUx...|...<?xml|
|00001020| 20 76 65 72 73 69 6f 6e | 3d 22 31 2e 30 22 3f 3e | version|="1.0"?>|
|00001030| 0d 0a 3c 21 2d 2d 20 0d | 0a 20 20 20 2d 20 54 68 |..<!-- .|. - Th|
|00001040| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 74 68 |e conten|ts of th|
|00001050| 69 73 20 66 69 6c 65 20 | 61 72 65 20 73 75 62 6a |is file |are subj|
|00001060| 65 63 74 20 74 6f 20 74 | 68 65 20 4d 6f 7a 69 6c |ect to t|he Mozil|
|00001070| 6c 61 20 50 75 62 6c 69 | 63 0d 0a 20 20 20 2d 20 |la Publi|c.. - |
|00001080| 4c 69 63 65 6e 73 65 20 | 56 65 72 73 69 6f 6e 20 |License |Version |
|00001090| 31 2e 31 20 28 74 68 65 | 20 22 4c 69 63 65 6e 73 |1.1 (the| "Licens|
|000010a0| 65 22 29 3b 20 79 6f 75 | 20 6d 61 79 20 6e 6f 74 |e"); you| may not|
|000010b0| 20 75 73 65 20 74 68 69 | 73 20 66 69 6c 65 0d 0a | use thi|s file..|
|000010c0| 20 20 20 2d 20 65 78 63 | 65 70 74 20 69 6e 20 63 | - exc|ept in c|
|000010d0| 6f 6d 70 6c 69 61 6e 63 | 65 20 77 69 74 68 20 74 |omplianc|e with t|
|000010e0| 68 65 20 4c 69 63 65 6e | 73 65 2e 20 59 6f 75 20 |he Licen|se. You |
|000010f0| 6d 61 79 20 6f 62 74 61 | 69 6e 20 61 20 63 6f 70 |may obta|in a cop|
|00001100| 79 20 6f 66 0d 0a 20 20 | 20 2d 20 74 68 65 20 4c |y of.. | - the L|
|00001110| 69 63 65 6e 73 65 20 61 | 74 20 68 74 74 70 3a 2f |icense a|t http:/|
|00001120| 2f 77 77 77 2e 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |/www.moz|illa.org|
|00001130| 2f 4d 50 4c 2f 0d 0a 20 | 20 20 2d 20 0d 0a 20 20 |/MPL/.. | - .. |
|00001140| 20 2d 20 53 6f 66 74 77 | 61 72 65 20 64 69 73 74 | - Softw|are dist|
|00001150| 72 69 62 75 74 65 64 20 | 75 6e 64 65 72 20 74 68 |ributed |under th|
|00001160| 65 20 4c 69 63 65 6e 73 | 65 20 69 73 20 64 69 73 |e Licens|e is dis|
|00001170| 74 72 69 62 75 74 65 64 | 20 6f 6e 20 61 6e 20 22 |tributed| on an "|
|00001180| 41 53 0d 0a 20 20 20 2d | 20 49 53 22 20 62 61 73 |AS.. -| IS" bas|
|00001190| 69 73 2c 20 57 49 54 48 | 4f 55 54 20 57 41 52 52 |is, WITH|OUT WARR|
|000011a0| 41 4e 54 59 20 4f 46 20 | 41 4e 59 20 4b 49 4e 44 |ANTY OF |ANY KIND|
|000011b0| 2c 20 65 69 74 68 65 72 | 20 65 78 70 72 65 73 73 |, either| express|
|000011c0| 20 6f 72 0d 0a 20 20 20 | 2d 20 69 6d 70 6c 69 65 | or.. |- implie|
|000011d0| 64 2e 20 53 65 65 20 74 | 68 65 20 4c 69 63 65 6e |d. See t|he Licen|
|000011e0| 73 65 20 66 6f 72 20 74 | 68 65 20 73 70 65 63 69 |se for t|he speci|
|000011f0| 66 69 63 20 6c 61 6e 67 | 75 61 67 65 20 67 6f 76 |fic lang|uage gov|
|00001200| 65 72 6e 69 6e 67 0d 0a | 20 20 20 2d 20 72 69 67 |erning..| - rig|
|00001210| 68 74 73 20 61 6e 64 20 | 6c 69 6d 69 74 61 74 69 |hts and |limitati|
|00001220| 6f 6e 73 20 75 6e 64 65 | 72 20 74 68 65 20 4c 69 |ons unde|r the Li|
|00001230| 63 65 6e 73 65 2e 0d 0a | 20 20 20 2d 20 0d 0a 20 |cense...| - .. |
|00001240| 20 20 2d 20 54 68 65 20 | 4f 72 69 67 69 6e 61 6c | - The |Original|
|00001250| 20 43 6f 64 65 20 69 73 | 20 6d 6f 7a 69 6c 6c 61 | Code is| mozilla|
|00001260| 2e 6f 72 67 20 63 6f 64 | 65 2e 0d 0a 20 20 20 2d |.org cod|e... -|
|00001270| 20 0d 0a 20 20 20 2d 20 | 54 68 65 20 49 6e 69 74 | .. - |The Init|
|00001280| 69 61 6c 20 44 65 76 65 | 6c 6f 70 65 72 20 6f 66 |ial Deve|loper of|
|00001290| 20 74 68 65 20 4f 72 69 | 67 69 6e 61 6c 20 43 6f | the Ori|ginal Co|
|000012a0| 64 65 20 69 73 20 4e 65 | 74 73 63 61 70 65 0d 0a |de is Ne|tscape..|
|000012b0| 20 20 20 2d 20 43 6f 6d | 6d 75 6e 69 63 61 74 69 | - Com|municati|
|000012c0| 6f 6e 73 20 43 6f 72 70 | 2e 20 20 50 6f 72 74 69 |ons Corp|. Porti|
|000012d0| 6f 6e 73 20 63 72 65 61 | 74 65 64 20 62 79 20 4e |ons crea|ted by N|
|000012e0| 65 74 73 63 61 70 65 20 | 61 72 65 0d 0a 20 20 20 |etscape |are.. |
|000012f0| 2d 20 43 6f 70 79 72 69 | 67 68 74 20 28 43 29 20 |- Copyri|ght (C) |
|00001300| 32 30 30 31 20 4e 65 74 | 73 63 61 70 65 20 43 6f |2001 Net|scape Co|
|00001310| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 73 20 43 6f 72 |mmunicat|ions Cor|
|00001320| 70 2e 20 20 41 6c 6c 0d | 0a 20 20 20 2d 20 52 69 |p. All.|. - Ri|
|00001330| 67 68 74 73 20 52 65 73 | 65 72 76 65 64 2e 0d 0a |ghts Res|erved...|
|00001340| 20 20 20 2d 20 0d 0a 20 | 20 20 2d 20 43 6f 6e 74 | - .. | - Cont|
|00001350| 72 69 62 75 74 6f 72 28 | 73 29 3a 0d 0a 20 20 20 |ributor(|s):.. |
|00001360| 2d 20 20 20 42 6f 62 20 | 4c 6f 72 64 20 3c 6c 6f |- Bob |Lord <lo|
|00001370| 72 64 40 6e 65 74 73 63 | 61 70 65 2e 63 6f 6d 3e |rd@netsc|ape.com>|
|00001380| 0d 0a 20 20 20 2d 20 20 | 20 54 65 72 72 79 20 48 |.. - | Terry H|
|00001390| 61 79 65 73 20 3c 74 68 | 61 79 65 73 40 6e 65 74 |ayes <th|ayes@net|
|000013a0| 73 63 61 70 65 2e 63 6f | 6d 3e 0d 0a 20 20 20 2d |scape.co|m>.. -|
|000013b0| 20 20 20 49 61 6e 20 4d | 63 47 72 65 65 72 20 3c | Ian M|cGreer <|
|000013c0| 6d 63 67 72 65 65 72 40 | 6e 65 74 73 63 61 70 65 |mcgreer@|netscape|
|000013d0| 2e 63 6f 6d 3e 0d 0a 20 | 20 2d 2d 3e 0d 0a 0d 0a |.com>.. | -->....|
|000013e0| 3c 3f 78 6d 6c 2d 73 74 | 79 6c 65 73 68 65 65 74 |<?xml-st|ylesheet|
|000013f0| 20 68 72 65 66 3d 22 63 | 68 72 6f 6d 65 3a 2f 2f | href="c|hrome://|
|00001400| 67 6c 6f 62 61 6c 2f 73 | 6b 69 6e 2f 22 20 74 79 |global/s|kin/" ty|
|00001410| 70 65 3d 22 74 65 78 74 | 2f 63 73 73 22 3f 3e 0d |pe="text|/css"?>.|
|00001420| 0a 0d 0a 3c 21 44 4f 43 | 54 59 50 45 20 77 69 6e |...<!DOC|TYPE win|
|00001430| 64 6f 77 20 53 59 53 54 | 45 4d 20 22 63 68 72 6f |dow SYST|EM "chro|
|00001440| 6d 65 3a 2f 2f 70 69 70 | 70 6b 69 2f 6c 6f 63 61 |me://pip|pki/loca|
|00001450| 6c 65 2f 70 69 70 70 6b | 69 2e 64 74 64 22 3e 0d |le/pippk|i.dtd">.|
|00001460| 0a 0d 0a 3c 77 69 6e 64 | 6f 77 20 69 64 3d 22 67 |...<wind|ow id="g|
|00001470| 65 74 70 61 73 73 77 6f | 72 64 22 20 74 69 74 6c |etpasswo|rd" titl|
|00001480| 65 3d 22 26 67 65 74 50 | 61 73 73 77 6f 72 64 2e |e="&getP|assword.|
|00001490| 74 69 74 6c 65 3b 22 0d | 0a 20 20 78 6d 6c 6e 73 |title;".|. xmlns|
|000014a0| 3d 22 68 74 74 70 3a 2f | 2f 77 77 77 2e 6d 6f 7a |="http:/|/www.moz|
|000014b0| 69 6c 6c 61 2e 6f 72 67 | 2f 6b 65 79 6d 61 73 74 |illa.org|/keymast|
|000014c0| 65 72 2f 67 61 74 65 6b | 65 65 70 65 72 2f 74 68 |er/gatek|eeper/th|
|000014d0| 65 72 65 2e 69 73 2e 6f | 6e 6c 79 2e 78 75 6c 22 |ere.is.o|nly.xul"|
|000014e0| 20 20 20 20 20 20 0d 0a | 20 20 73 74 79 6c 65 3d | ..| style=|
|000014f0| 22 77 69 64 74 68 3a 20 | 33 30 65 6d 3b 22 0d 0a |"width: |30em;"..|
|00001500| 20 20 6f 6e 6c 6f 61 64 | 3d 22 6f 6e 4c 6f 61 64 | onload|="onLoad|
|00001510| 28 29 3b 22 3e 0d 0a 0d | 0a 20 20 3c 73 63 72 69 |();">...|. <scri|
|00001520| 70 74 20 74 79 70 65 3d | 22 61 70 70 6c 69 63 61 |pt type=|"applica|
|00001530| 74 69 6f 6e 2f 78 2d 6a | 61 76 61 73 63 72 69 70 |tion/x-j|avascrip|
|00001540| 74 22 20 73 72 63 3d 22 | 63 68 72 6f 6d 65 3a 2f |t" src="|chrome:/|
|00001550| 2f 70 69 70 70 6b 69 2f | 63 6f 6e 74 65 6e 74 2f |/pippki/|content/|
|00001560| 70 61 73 73 77 6f 72 64 | 2e 6a 73 22 2f 3e 0d 0a |password|.js"/>..|
|00001570| 20 20 3c 73 63 72 69 70 | 74 20 74 79 70 65 3d 22 | <scrip|t type="|
|00001580| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2f 78 2d 6a 61 |applicat|ion/x-ja|
|00001590| 76 61 73 63 72 69 70 74 | 22 20 73 72 63 3d 22 63 |vascript|" src="c|
|000015a0| 68 72 6f 6d 65 3a 2f 2f | 67 6c 6f 62 61 6c 2f 63 |hrome://|global/c|
|000015b0| 6f 6e 74 65 6e 74 2f 73 | 74 72 72 65 73 2e 6a 73 |ontent/s|trres.js|
|000015c0| 22 2f 3e 0d 0a 0d 0a 20 | 20 3c 76 62 6f 78 20 73 |"/>.... | <vbox s|
|000015d0| 74 79 6c 65 3d 22 6d 61 | 72 67 69 6e 3a 20 35 70 |tyle="ma|rgin: 5p|
|000015e0| 78 3b 22 20 66 6c 65 78 | 3d 22 31 22 3e 0d 0a 20 |x;" flex|="1">.. |
|000015f0| 20 20 20 3c 68 62 6f 78 | 3e 0d 0a 20 20 20 20 20 | <hbox|>.. |
|00001600| 20 3c 6c 61 62 65 6c 20 | 76 61 6c 75 65 3d 22 26 | <label |value="&|
|00001610| 67 65 74 50 61 73 73 77 | 6f 72 64 2e 74 6f 6b 65 |getPassw|ord.toke|
|00001620| 6e 4e 61 6d 65 2e 6c 61 | 62 65 6c 3b 3a 22 2f 3e |nName.la|bel;:"/>|
|00001630| 0d 0a 20 20 20 20 20 20 | 3c 6c 61 62 65 6c 20 69 |.. |<label i|
|00001640| 64 3d 22 74 6f 6b 65 6e | 4e 61 6d 65 22 2f 3e 0d |d="token|Name"/>.|
|00001650| 0a 20 20 20 20 3c 2f 68 | 62 6f 78 3e 0d 0a 20 20 |. </h|box>.. |
|00001660| 20 20 3c 73 65 70 61 72 | 61 74 6f 72 2f 3e 0d 0a | <separ|ator/>..|
|00001670| 20 20 20 20 3c 67 72 69 | 64 3e 0d 0a 20 20 20 20 | <gri|d>.. |
|00001680| 20 20 3c 63 6f 6c 75 6d | 6e 73 3e 20 3c 63 6f 6c | <colum|ns> <col|
|00001690| 75 6d 6e 2f 3e 20 3c 63 | 6f 6c 75 6d 6e 2f 3e 20 |umn/> <c|olumn/> |
|000016a0| 3c 2f 63 6f 6c 75 6d 6e | 73 3e 0d 0a 20 20 20 20 |</column|s>.. |
|000016b0| 20 20 3c 72 6f 77 73 3e | 0d 0a 20 20 20 20 20 20 | <rows>|.. |
|000016c0| 20 20 3c 72 6f 77 3e 0d | 0a 20 20 20 20 20 20 20 | <row>.|. |
|000016d0| 20 20 20 3c 6c 61 62 65 | 6c 20 76 61 6c 75 65 3d | <labe|l value=|
|000016e0| 22 26 67 65 74 50 61 73 | 73 77 6f 72 64 2e 70 61 |"&getPas|sword.pa|
|000016f0| 73 73 77 6f 72 64 2e 6c | 61 62 65 6c 3b 22 2f 3e |ssword.l|abel;"/>|
|00001700| 20 0d 0a 20 20 20 20 20 | 20 20 20 20 20 3c 74 65 | .. | <te|
|00001710| 78 74 62 6f 78 20 69 64 | 3d 22 70 77 31 22 20 74 |xtbox id|="pw1" t|
|00001720| 79 70 65 3d 22 70 61 73 | 73 77 6f 72 64 22 2f 3e |ype="pas|sword"/>|
|00001730| 20 0d 0a 20 20 20 20 20 | 20 20 20 3c 2f 72 6f 77 | .. | </row|
|00001740| 3e 0d 0a 20 20 20 20 20 | 20 3c 2f 72 6f 77 73 3e |>.. | </rows>|
|00001750| 0d 0a 20 20 20 20 3c 2f | 67 72 69 64 3e 0d 0a 0d |.. </|grid>...|
|00001760| 0a 20 20 20 20 3c 6b 65 | 79 73 65 74 20 69 64 3d |. <ke|yset id=|
|00001770| 22 6b 65 79 73 22 3e 0d | 0a 20 20 20 20 20 20 3c |"keys">.|. <|
|00001780| 6b 65 79 20 69 64 3d 22 | 65 6e 74 65 72 2d 6b 65 |key id="|enter-ke|
|00001790| 79 22 20 20 6b 65 79 63 | 6f 64 65 3d 22 56 4b 5f |y" keyc|ode="VK_|
|000017a0| 45 4e 54 45 52 22 20 20 | 6f 6e 63 6f 6d 6d 61 6e |ENTER" |oncomman|
|000017b0| 64 3d 22 64 6f 4f 4b 28 | 29 3b 22 2f 3e 0d 0a 20 |d="doOK(|);"/>.. |
|000017c0| 20 20 20 20 20 3c 6b 65 | 79 20 69 64 3d 22 72 65 | <ke|y id="re|
|000017d0| 74 75 72 6e 2d 6b 65 79 | 22 20 6b 65 79 63 6f 64 |turn-key|" keycod|
|000017e0| 65 3d 22 56 4b 5f 52 45 | 54 55 52 4e 22 20 6f 6e |e="VK_RE|TURN" on|
|000017f0| 63 6f 6d 6d 61 6e 64 3d | 22 64 6f 4f 4b 28 29 3b |command=|"doOK();|
|00001800| 22 2f 3e 0d 0a 20 20 20 | 20 20 20 3c 6b 65 79 20 |"/>.. | <key |
|00001810| 69 64 3d 22 65 73 63 2d | 6b 65 79 22 20 20 20 20 |id="esc-|key" |
|00001820| 6b 65 79 63 6f 64 65 3d | 22 56 4b 5f 45 53 43 41 |keycode=|"VK_ESCA|
|00001830| 50 45 22 20 6f 6e 63 6f | 6d 6d 61 6e 64 3d 22 64 |PE" onco|mmand="d|
|00001840| 6f 43 61 6e 63 65 6c 28 | 29 3b 22 2f 3e 0d 0a 20 |oCancel(|);"/>.. |
|00001850| 20 20 20 3c 2f 6b 65 79 | 73 65 74 3e 0d 0a 0d 0a | </key|set>....|
|00001860| 20 20 20 20 3c 68 62 6f | 78 3e 0d 0a 20 20 20 20 | <hbo|x>.. |
|00001870| 20 20 3c 62 75 74 74 6f | 6e 20 69 64 3d 22 6f 6b | <butto|n id="ok|
|00001880| 2d 62 75 74 74 6f 6e 22 | 20 6c 61 62 65 6c 3d 22 |-button"| label="|
|00001890| 26 6f 6b 2e 6c 61 62 65 | 6c 3b 22 0d 0a 20 20 20 |&ok.labe|l;".. |
|000018a0| 20 20 20 20 20 20 20 20 | 20 20 20 6f 6e 63 6f 6d | | oncom|
|000018b0| 6d 61 6e 64 3d 22 67 65 | 74 50 61 73 73 77 6f 72 |mand="ge|tPasswor|
|000018c0| 64 28 29 3b 22 20 0d 0a | 20 20 20 20 20 20 20 20 |d();" ..| |
|000018d0| 20 20 20 20 20 20 64 65 | 66 61 75 6c 74 3d 22 74 | de|fault="t|
|000018e0| 72 75 65 22 20 61 63 63 | 65 73 73 6b 65 79 3d 22 |rue" acc|esskey="|
|000018f0| 26 63 72 65 61 74 65 43 | 65 72 74 49 6e 66 6f 2e |&createC|ertInfo.|
|00001900| 6f 6b 42 75 74 74 6f 6e | 41 63 63 65 73 73 4b 65 |okButton|AccessKe|
|00001910| 79 3b 22 2f 3e 20 0d 0a | 20 20 20 20 20 20 3c 62 |y;"/> ..| <b|
|00001920| 75 74 74 6f 6e 20 69 64 | 3d 22 63 61 6e 63 65 6c |utton id|="cancel|
|00001930| 2d 62 75 74 74 6f 6e 22 | 20 6c 61 62 65 6c 3d 22 |-button"| label="|
|00001940| 26 63 61 6e 63 65 6c 2e | 6c 61 62 65 6c 3b 22 0d |&cancel.|label;".|
|00001950| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6f |. | o|
|00001960| 6e 63 6f 6d 6d 61 6e 64 | 3d 22 77 69 6e 64 6f 77 |ncommand|="window|
|00001970| 2e 63 6c 6f 73 65 28 29 | 3b 22 2f 3e 20 0d 0a 20 |.close()|;"/> .. |
|00001980| 20 20 20 20 20 3c 62 75 | 74 74 6f 6e 20 69 64 3d | <bu|tton id=|
|00001990| 22 68 65 6c 70 2d 62 75 | 74 74 6f 6e 22 20 6c 61 |"help-bu|tton" la|
|000019a0| 62 65 6c 3d 22 26 68 65 | 6c 70 2e 6c 61 62 65 6c |bel="&he|lp.label|
|000019b0| 3b 22 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |;".. | |
|000019c0| 20 20 6f 6e 63 6f 6d 6d | 61 6e 64 3d 22 61 6c 65 | oncomm|and="ale|
|000019d0| 72 74 28 27 68 65 6c 70 | 20 67 6f 65 73 20 68 65 |rt('help| goes he|
|000019e0| 72 65 27 29 3b 22 2f 3e | 20 0d 0a 20 20 20 20 3c |re');"/>| .. <|
|000019f0| 2f 68 62 6f 78 3e 0d 0a | 20 20 3c 2f 76 62 6f 78 |/hbox>..| </vbox|
|00001a00| 3e 0d 0a 3c 2f 77 69 6e | 64 6f 77 3e 0d 0a 50 4b |>..</win|dow>..PK|
|00001a10| 03 04 0a 00 00 00 00 00 | ec 7a 79 31 87 af e0 83 |........|.zy1....|
|00001a20| 08 26 00 00 08 26 00 00 | 1a 00 15 00 63 6f 6e 74 |.&...&..|....cont|
|00001a30| 65 6e 74 2f 70 69 70 70 | 6b 69 2f 70 61 73 73 77 |ent/pipp|ki/passw|
|00001a40| 6f 72 64 2e 6a 73 55 54 | 09 00 03 6c 69 a6 41 6e |ord.jsUT|...li.An|
|00001a50| d3 8c 42 55 78 04 00 eb | 03 01 02 2f 2a 0d 0a 20 |..BUx...|.../*.. |
|00001a60| 2a 20 54 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |* The co|ntents o|
|00001a70| 66 20 74 68 69 73 20 66 | 69 6c 65 20 61 72 65 20 |f this f|ile are |
|00001a80| 73 75 62 6a 65 63 74 20 | 74 6f 20 74 68 65 20 4d |subject |to the M|
|00001a90| 6f 7a 69 6c 6c 61 20 50 | 75 62 6c 69 63 0d 0a 20 |ozilla P|ublic.. |
|00001aa0| 2a 20 4c 69 63 65 6e 73 | 65 20 56 65 72 73 69 6f |* Licens|e Versio|
|00001ab0| 6e 20 31 2e 31 20 28 74 | 68 65 20 22 4c 69 63 65 |n 1.1 (t|he "Lice|
|00001ac0| 6e 73 65 22 29 3b 20 79 | 6f 75 20 6d 61 79 20 6e |nse"); y|ou may n|
|00001ad0| 6f 74 20 75 73 65 20 74 | 68 69 73 20 66 69 6c 65 |ot use t|his file|
|00001ae0| 0d 0a 20 2a 20 65 78 63 | 65 70 74 20 69 6e 20 63 |.. * exc|ept in c|
|00001af0| 6f 6d 70 6c 69 61 6e 63 | 65 20 77 69 74 68 20 74 |omplianc|e with t|
|00001b00| 68 65 20 4c 69 63 65 6e | 73 65 2e 20 59 6f 75 20 |he Licen|se. You |
|00001b10| 6d 61 79 20 6f 62 74 61 | 69 6e 20 61 20 63 6f 70 |may obta|in a cop|
|00001b20| 79 20 6f 66 0d 0a 20 2a | 20 74 68 65 20 4c 69 63 |y of.. *| the Lic|
|00001b30| 65 6e 73 65 20 61 74 20 | 68 74 74 70 3a 2f 2f 77 |ense at |http://w|
|00001b40| 77 77 2e 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 2f 4d |ww.mozil|la.org/M|
|00001b50| 50 4c 2f 0d 0a 20 2a 0d | 0a 20 2a 20 53 6f 66 74 |PL/.. *.|. * Soft|
|00001b60| 77 61 72 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |ware dis|tributed|
|00001b70| 20 75 6e 64 65 72 20 74 | 68 65 20 4c 69 63 65 6e | under t|he Licen|
|00001b80| 73 65 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |se is di|stribute|
|00001b90| 64 20 6f 6e 20 61 6e 20 | 22 41 53 0d 0a 20 2a 20 |d on an |"AS.. * |
|00001ba0| 49 53 22 20 62 61 73 69 | 73 2c 20 57 49 54 48 4f |IS" basi|s, WITHO|
|00001bb0| 55 54 20 57 41 52 52 41 | 4e 54 59 20 4f 46 20 41 |UT WARRA|NTY OF A|
|00001bc0| 4e 59 20 4b 49 4e 44 2c | 20 65 69 74 68 65 72 20 |NY KIND,| either |
|00001bd0| 65 78 70 72 65 73 73 20 | 6f 72 0d 0a 20 2a 20 69 |express |or.. * i|
|00001be0| 6d 70 6c 69 65 64 2e 20 | 53 65 65 20 74 68 65 20 |mplied. |See the |
|00001bf0| 4c 69 63 65 6e 73 65 20 | 66 6f 72 20 74 68 65 20 |License |for the |
|00001c00| 73 70 65 63 69 66 69 63 | 20 6c 61 6e 67 75 61 67 |specific| languag|
|00001c10| 65 20 67 6f 76 65 72 6e | 69 6e 67 0d 0a 20 2a 20 |e govern|ing.. * |
|00001c20| 72 69 67 68 74 73 20 61 | 6e 64 20 6c 69 6d 69 74 |rights a|nd limit|
|00001c30| 61 74 69 6f 6e 73 20 75 | 6e 64 65 72 20 74 68 65 |ations u|nder the|
|00001c40| 20 4c 69 63 65 6e 73 65 | 2e 0d 0a 20 2a 0d 0a 20 | License|... *.. |
|00001c50| 2a 20 54 68 65 20 4f 72 | 69 67 69 6e 61 6c 20 43 |* The Or|iginal C|
|00001c60| 6f 64 65 20 69 73 20 6d | 6f 7a 69 6c 6c 61 2e 6f |ode is m|ozilla.o|
|00001c70| 72 67 20 63 6f 64 65 2e | 0d 0a 20 2a 0d 0a 20 2a |rg code.|.. *.. *|
|00001c80| 20 54 68 65 20 49 6e 69 | 74 69 61 6c 20 44 65 76 | The Ini|tial Dev|
|00001c90| 65 6c 6f 70 65 72 20 6f | 66 20 74 68 65 20 4f 72 |eloper o|f the Or|
|00001ca0| 69 67 69 6e 61 6c 20 43 | 6f 64 65 20 69 73 20 4e |iginal C|ode is N|
|00001cb0| 65 74 73 63 61 70 65 0d | 0a 20 2a 20 43 6f 6d 6d |etscape.|. * Comm|
|00001cc0| 75 6e 69 63 61 74 69 6f | 6e 73 20 43 6f 72 70 6f |unicatio|ns Corpo|
|00001cd0| 72 61 74 69 6f 6e 2e 20 | 20 50 6f 72 74 69 6f 6e |ration. | Portion|
|00001ce0| 73 20 63 72 65 61 74 65 | 64 20 62 79 20 4e 65 74 |s create|d by Net|
|00001cf0| 73 63 61 70 65 20 61 72 | 65 0d 0a 20 2a 20 43 6f |scape ar|e.. * Co|
|00001d00| 70 79 72 69 67 68 74 20 | 28 43 29 20 32 30 30 31 |pyright |(C) 2001|
|00001d10| 20 4e 65 74 73 63 61 70 | 65 20 43 6f 6d 6d 75 6e | Netscap|e Commun|
|00001d20| 69 63 61 74 69 6f 6e 73 | 20 43 6f 72 70 6f 72 61 |ications| Corpora|
|00001d30| 74 69 6f 6e 2e 20 41 6c | 6c 0d 0a 20 2a 20 52 69 |tion. Al|l.. * Ri|
|00001d40| 67 68 74 73 20 52 65 73 | 65 72 76 65 64 2e 0d 0a |ghts Res|erved...|
|00001d50| 20 2a 0d 0a 20 2a 20 43 | 6f 6e 74 72 69 62 75 74 | *.. * C|ontribut|
|00001d60| 6f 72 28 73 29 3a 0d 0a | 20 2a 20 20 42 6f 62 20 |or(s):..| * Bob |
|00001d70| 4c 6f 72 64 20 3c 6c 6f | 72 64 40 6e 65 74 73 63 |Lord <lo|rd@netsc|
|00001d80| 61 70 65 2e 63 6f 6d 3e | 0d 0a 20 2a 20 20 54 65 |ape.com>|.. * Te|
|00001d90| 72 72 79 20 48 61 79 65 | 73 20 3c 74 68 61 79 65 |rry Haye|s <thaye|
|00001da0| 73 40 6e 65 74 73 63 61 | 70 65 2e 63 6f 6d 3e 0d |s@netsca|pe.com>.|
|00001db0| 0a 20 2a 2f 0d 0a 63 6f | 6e 73 74 20 6e 73 50 4b |. */..co|nst nsPK|
|00001dc0| 31 31 54 6f 6b 65 6e 44 | 42 20 3d 20 22 40 6d 6f |11TokenD|B = "@mo|
|00001dd0| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 73 65 63 75 72 69 |zilla.or|g/securi|
|00001de0| 74 79 2f 70 6b 31 31 74 | 6f 6b 65 6e 64 62 3b 31 |ty/pk11t|okendb;1|
|00001df0| 22 3b 0d 0a 63 6f 6e 73 | 74 20 6e 73 49 50 4b 31 |";..cons|t nsIPK1|
|00001e00| 31 54 6f 6b 65 6e 44 42 | 20 3d 20 43 6f 6d 70 6f |1TokenDB| = Compo|
|00001e10| 6e 65 6e 74 73 2e 69 6e | 74 65 72 66 61 63 65 73 |nents.in|terfaces|
|00001e20| 2e 6e 73 49 50 4b 31 31 | 54 6f 6b 65 6e 44 42 3b |.nsIPK11|TokenDB;|
|00001e30| 0d 0a 63 6f 6e 73 74 20 | 6e 73 49 44 69 61 6c 6f |..const |nsIDialo|
|00001e40| 67 50 61 72 61 6d 42 6c | 6f 63 6b 20 3d 20 43 6f |gParamBl|ock = Co|
|00001e50| 6d 70 6f 6e 65 6e 74 73 | 2e 69 6e 74 65 72 66 61 |mponents|.interfa|
|00001e60| 63 65 73 2e 6e 73 49 44 | 69 61 6c 6f 67 50 61 72 |ces.nsID|ialogPar|
|00001e70| 61 6d 42 6c 6f 63 6b 3b | 0d 0a 63 6f 6e 73 74 20 |amBlock;|..const |
|00001e80| 6e 73 50 4b 43 53 31 31 | 4d 6f 64 75 6c 65 44 42 |nsPKCS11|ModuleDB|
|00001e90| 20 3d 20 22 40 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 | = "@moz|illa.org|
|00001ea0| 2f 73 65 63 75 72 69 74 | 79 2f 70 6b 63 73 31 31 |/securit|y/pkcs11|
|00001eb0| 6d 6f 64 75 6c 65 64 62 | 3b 31 22 3b 0d 0a 63 6f |moduledb|;1";..co|
|00001ec0| 6e 73 74 20 6e 73 49 50 | 4b 43 53 31 31 4d 6f 64 |nst nsIP|KCS11Mod|
|00001ed0| 75 6c 65 44 42 20 3d 20 | 43 6f 6d 70 6f 6e 65 6e |uleDB = |Componen|
|00001ee0| 74 73 2e 69 6e 74 65 72 | 66 61 63 65 73 2e 6e 73 |ts.inter|faces.ns|
|00001ef0| 49 50 4b 43 53 31 31 4d | 6f 64 75 6c 65 44 42 3b |IPKCS11M|oduleDB;|
|00001f00| 0d 0a 63 6f 6e 73 74 20 | 6e 73 49 50 4b 43 53 31 |..const |nsIPKCS1|
|00001f10| 31 53 6c 6f 74 20 3d 20 | 43 6f 6d 70 6f 6e 65 6e |1Slot = |Componen|
|00001f20| 74 73 2e 69 6e 74 65 72 | 66 61 63 65 73 2e 6e 73 |ts.inter|faces.ns|
|00001f30| 49 50 4b 43 53 31 31 53 | 6c 6f 74 3b 0d 0a 63 6f |IPKCS11S|lot;..co|
|00001f40| 6e 73 74 20 6e 73 49 50 | 4b 31 31 54 6f 6b 65 6e |nst nsIP|K11Token|
|00001f50| 20 3d 20 43 6f 6d 70 6f | 6e 65 6e 74 73 2e 69 6e | = Compo|nents.in|
|00001f60| 74 65 72 66 61 63 65 73 | 2e 6e 73 49 50 4b 31 31 |terfaces|.nsIPK11|
|00001f70| 54 6f 6b 65 6e 3b 0d 0a | 0d 0a 0d 0a 76 61 72 20 |Token;..|....var |
|00001f80| 70 61 72 61 6d 73 3b 0d | 0a 76 61 72 20 74 6f 6b |params;.|.var tok|
|00001f90| 65 6e 4e 61 6d 65 3d 22 | 22 3b 0d 0a 76 61 72 20 |enName="|";..var |
|00001fa0| 70 77 31 3b 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |pw1;....|function|
|00001fb0| 20 6f 6e 4c 6f 61 64 28 | 29 0d 0a 7b 0d 0a 0d 0a | onLoad(|)..{....|
|00001fc0| 20 20 70 77 31 20 3d 20 | 64 6f 63 75 6d 65 6e 74 | pw1 = |document|
|00001fd0| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00001fe0| 22 70 77 31 22 29 3b 0d | 0a 20 20 74 72 79 20 7b |"pw1");.|. try {|
|00001ff0| 0d 0a 20 20 20 20 20 70 | 61 72 61 6d 73 20 3d 20 |.. p|arams = |
|00002000| 77 69 6e 64 6f 77 2e 61 | 72 67 75 6d 65 6e 74 73 |window.a|rguments|
|00002010| 5b 30 5d 2e 51 75 65 72 | 79 49 6e 74 65 72 66 61 |[0].Quer|yInterfa|
|00002020| 63 65 28 6e 73 49 44 69 | 61 6c 6f 67 50 61 72 61 |ce(nsIDi|alogPara|
|00002030| 6d 42 6c 6f 63 6b 29 3b | 0d 0a 20 20 20 20 20 74 |mBlock);|.. t|
|00002040| 6f 6b 65 6e 4e 61 6d 65 | 20 3d 20 70 61 72 61 6d |okenName| = param|
|00002050| 73 2e 47 65 74 53 74 72 | 69 6e 67 28 31 29 3b 0d |s.GetStr|ing(1);.|
|00002060| 0a 20 20 7d 20 63 61 74 | 63 68 28 65 78 63 65 70 |. } cat|ch(excep|
|00002070| 74 69 6f 6e 29 20 7b 0d | 0a 20 20 20 20 20 20 2f |tion) {.|. /|
|00002080| 2f 20 74 68 69 73 20 73 | 68 6f 75 6c 64 20 6e 6f |/ this s|hould no|
|00002090| 74 20 68 61 70 70 65 6e | 2e 0d 0a 20 20 20 20 20 |t happen|... |
|000020a0| 20 2f 2f 20 70 72 65 76 | 69 6f 75 73 6c 79 20 77 | // prev|iously w|
|000020b0| 65 20 68 61 64 20 73 65 | 6c 66 2e 6e 61 6d 65 2c |e had se|lf.name,|
|000020c0| 20 62 75 74 20 73 65 6c | 66 2e 6e 61 6d 65 20 77 | but sel|f.name w|
|000020d0| 61 73 20 61 20 62 61 64 | 20 69 64 65 61 0d 0a 20 |as a bad| idea.. |
|000020e0| 20 20 20 20 20 2f 2f 20 | 61 73 20 77 69 6e 64 6f | // |as windo|
|000020f0| 77 20 6e 61 6d 65 20 6d | 75 73 74 20 62 65 20 61 |w name m|ust be a|
|00002100| 20 73 75 62 73 65 74 20 | 6f 66 20 61 73 63 69 69 | subset |of ascii|
|00002110| 2c 20 61 6e 64 20 74 68 | 65 20 63 6f 64 65 20 77 |, and th|e code w|
|00002120| 61 73 0d 0a 20 20 20 20 | 20 20 2f 2f 20 70 72 65 |as.. | // pre|
|00002130| 76 69 6f 75 73 6c 79 20 | 74 72 79 69 6e 67 20 74 |viously |trying t|
|00002140| 6f 20 61 73 73 69 67 6e | 20 75 6e 69 63 6f 64 65 |o assign| unicode|
|00002150| 20 74 6f 20 74 68 65 20 | 77 69 6e 64 6f 77 27 73 | to the |window's|
|00002160| 20 6e 61 6d 65 2e 0d 0a | 20 20 20 20 20 20 2f 2f | name...| //|
|00002170| 20 49 20 63 68 65 63 6b | 65 64 20 61 6c 6c 20 74 | I check|ed all t|
|00002180| 68 65 20 70 6c 61 63 65 | 73 20 77 68 65 72 65 20 |he place|s where |
|00002190| 77 65 20 67 65 74 20 61 | 20 70 61 73 73 77 6f 72 |we get a| passwor|
|000021a0| 64 20 70 72 6f 6d 70 74 | 20 61 6e 64 0d 0a 20 20 |d prompt| and.. |
|000021b0| 20 20 20 20 2f 2f 20 61 | 6c 6c 20 6f 66 20 74 68 | // a|ll of th|
|000021c0| 65 6d 20 70 61 73 73 20 | 61 6e 20 61 72 67 75 6d |em pass |an argum|
|000021d0| 65 6e 74 20 61 73 20 70 | 61 72 74 20 6f 66 20 74 |ent as p|art of t|
|000021e0| 68 69 73 20 70 61 74 63 | 68 2e 0d 0a 20 20 20 20 |his patc|h... |
|000021f0| 20 20 74 6f 6b 65 6e 4e | 61 6d 65 3d 22 22 3b 0d | tokenN|ame="";.|
|00002200| 0a 20 20 7d 0d 0a 20 20 | 20 20 20 20 0d 0a 0d 0a |. }.. | ....|
|00002210| 20 20 69 66 28 74 6f 6b | 65 6e 4e 61 6d 65 3d 3d | if(tok|enName==|
|00002220| 22 22 29 20 7b 0d 0a 20 | 20 20 20 20 76 61 72 20 |"") {.. | var |
|00002230| 73 65 63 74 6f 6b 64 62 | 20 3d 20 43 6f 6d 70 6f |sectokdb| = Compo|
|00002240| 6e 65 6e 74 73 2e 63 6c | 61 73 73 65 73 5b 6e 73 |nents.cl|asses[ns|
|00002250| 50 4b 31 31 54 6f 6b 65 | 6e 44 42 5d 2e 67 65 74 |PK11Toke|nDB].get|
|00002260| 53 65 72 76 69 63 65 28 | 6e 73 49 50 4b 31 31 54 |Service(|nsIPK11T|
|00002270| 6f 6b 65 6e 44 42 29 3b | 0d 0a 20 20 20 20 20 76 |okenDB);|.. v|
|00002280| 61 72 20 74 6f 6b 65 6e | 4c 69 73 74 20 3d 20 73 |ar token|List = s|
|00002290| 65 63 74 6f 6b 64 62 2e | 6c 69 73 74 54 6f 6b 65 |ectokdb.|listToke|
|000022a0| 6e 73 28 29 3b 0d 0a 20 | 20 20 20 20 76 61 72 20 |ns();.. | var |
|000022b0| 65 6e 75 6d 45 6c 65 6d | 65 6e 74 3b 0d 0a 20 20 |enumElem|ent;.. |
|000022c0| 20 20 20 76 61 72 20 69 | 3d 30 3b 0d 0a 20 20 20 | var i|=0;.. |
|000022d0| 20 20 76 61 72 20 6d 65 | 6e 75 20 3d 20 64 6f 63 | var me|nu = doc|
|000022e0| 75 6d 65 6e 74 2e 67 65 | 74 45 6c 65 6d 65 6e 74 |ument.ge|tElement|
|000022f0| 42 79 49 64 28 22 74 6f | 6b 65 6e 4d 65 6e 75 22 |ById("to|kenMenu"|
|00002300| 29 3b 0d 0a 20 20 20 20 | 20 74 72 79 20 7b 0d 0a |);.. | try {..|
|00002310| 20 20 20 20 20 20 20 20 | 66 6f 72 20 28 20 3b 20 | |for ( ; |
|00002320| 21 74 6f 6b 65 6e 4c 69 | 73 74 2e 69 73 44 6f 6e |!tokenLi|st.isDon|
|00002330| 65 28 29 3b 20 74 6f 6b | 65 6e 4c 69 73 74 2e 6e |e(); tok|enList.n|
|00002340| 65 78 74 28 29 29 20 7b | 0d 0a 20 20 20 20 20 20 |ext()) {|.. |
|00002350| 20 20 20 20 20 65 6e 75 | 6d 45 6c 65 6d 65 6e 74 | enu|mElement|
|00002360| 20 3d 20 74 6f 6b 65 6e | 4c 69 73 74 2e 63 75 72 | = token|List.cur|
|00002370| 72 65 6e 74 49 74 65 6d | 28 29 3b 0d 0a 20 20 20 |rentItem|();.. |
|00002380| 20 20 20 20 20 20 20 20 | 76 61 72 20 74 6f 6b 65 | |var toke|
|00002390| 6e 20 3d 20 65 6e 75 6d | 45 6c 65 6d 65 6e 74 2e |n = enum|Element.|
|000023a0| 51 75 65 72 79 49 6e 74 | 65 72 66 61 63 65 28 6e |QueryInt|erface(n|
|000023b0| 73 49 50 4b 31 31 54 6f | 6b 65 6e 29 3b 0d 0a 20 |sIPK11To|ken);.. |
|000023c0| 20 20 20 20 20 20 20 20 | 20 20 69 66 28 74 6f 6b | | if(tok|
|000023d0| 65 6e 2e 6e 65 65 64 73 | 4c 6f 67 69 6e 28 29 20 |en.needs|Login() |
|000023e0| 7c 7c 20 21 28 74 6f 6b | 65 6e 2e 6e 65 65 64 73 ||| !(tok|en.needs|
|000023f0| 55 73 65 72 49 6e 69 74 | 29 29 20 7b 0d 0a 20 20 |UserInit|)) {.. |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 76 61 72 20 | | var |
|00002410| 6d 65 6e 75 49 74 65 6d | 4e 6f 64 65 20 3d 20 64 |menuItem|Node = d|
|00002420| 6f 63 75 6d 65 6e 74 2e | 63 72 65 61 74 65 45 6c |ocument.|createEl|
|00002430| 65 6d 65 6e 74 28 22 6d | 65 6e 75 69 74 65 6d 22 |ement("m|enuitem"|
|00002440| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |);.. | |
|00002450| 20 20 6d 65 6e 75 49 74 | 65 6d 4e 6f 64 65 2e 73 | menuIt|emNode.s|
|00002460| 65 74 41 74 74 72 69 62 | 75 74 65 28 22 76 61 6c |etAttrib|ute("val|
|00002470| 75 65 22 2c 20 74 6f 6b | 65 6e 2e 74 6f 6b 65 6e |ue", tok|en.token|
|00002480| 4e 61 6d 65 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |Name);..| |
|00002490| 20 20 20 20 20 20 6d 65 | 6e 75 49 74 65 6d 4e 6f | me|nuItemNo|
|000024a0| 64 65 2e 73 65 74 41 74 | 74 72 69 62 75 74 65 28 |de.setAt|tribute(|
|000024b0| 22 6c 61 62 65 6c 22 2c | 20 74 6f 6b 65 6e 2e 74 |"label",| token.t|
|000024c0| 6f 6b 65 6e 4e 61 6d 65 | 29 3b 0d 0a 20 20 20 20 |okenName|);.. |
|000024d0| 20 20 20 20 20 20 20 20 | 20 20 6d 65 6e 75 2e 66 | | menu.f|
|000024e0| 69 72 73 74 43 68 69 6c | 64 2e 61 70 70 65 6e 64 |irstChil|d.append|
|000024f0| 43 68 69 6c 64 28 6d 65 | 6e 75 49 74 65 6d 4e 6f |Child(me|nuItemNo|
|00002500| 64 65 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |de);.. | |
|00002510| 20 20 20 20 69 66 20 28 | 69 20 3d 3d 20 30 29 20 | if (|i == 0) |
|00002520| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{.. | |
|00002530| 20 20 20 20 6d 65 6e 75 | 2e 73 65 6c 65 63 74 65 | menu|.selecte|
|00002540| 64 49 74 65 6d 20 3d 20 | 6d 65 6e 75 49 74 65 6d |dItem = |menuItem|
|00002550| 4e 6f 64 65 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |Node;.. | |
|00002560| 20 20 20 20 20 20 20 20 | 74 6f 6b 65 6e 4e 61 6d | |tokenNam|
|00002570| 65 20 3d 20 74 6f 6b 65 | 6e 2e 74 6f 6b 65 6e 4e |e = toke|n.tokenN|
|00002580| 61 6d 65 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |ame;.. | |
|00002590| 20 20 20 20 7d 0d 0a 20 | 20 20 20 20 20 20 20 20 | }.. | |
|000025a0| 20 20 20 20 20 69 2b 2b | 3b 0d 0a 20 20 20 20 20 | i++|;.. |
|000025b0| 20 20 20 20 20 20 7d 0d | 0a 20 20 20 20 20 20 20 | }.|. |
|000025c0| 20 7d 0d 0a 20 20 20 20 | 20 7d 63 61 74 63 68 28 | }.. | }catch(|
|000025d0| 65 78 63 65 70 74 69 6f | 6e 29 7b 7d 0d 0a 20 20 |exceptio|n){}.. |
|000025e0| 7d 20 65 6c 73 65 20 7b | 0d 0a 20 20 20 20 76 61 |} else {|.. va|
|000025f0| 72 20 73 65 6c 20 3d 20 | 64 6f 63 75 6d 65 6e 74 |r sel = |document|
|00002600| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00002610| 22 74 6f 6b 65 6e 4d 65 | 6e 75 22 29 3b 0d 0a 20 |"tokenMe|nu");.. |
|00002620| 20 20 20 73 65 6c 2e 73 | 65 74 41 74 74 72 69 62 | sel.s|etAttrib|
|00002630| 75 74 65 28 22 68 69 64 | 64 65 6e 22 2c 20 22 74 |ute("hid|den", "t|
|00002640| 72 75 65 22 29 3b 0d 0a | 20 20 20 20 76 61 72 20 |rue");..| var |
|00002650| 74 61 67 20 3d 20 64 6f | 63 75 6d 65 6e 74 2e 67 |tag = do|cument.g|
|00002660| 65 74 45 6c 65 6d 65 6e | 74 42 79 49 64 28 22 74 |etElemen|tById("t|
|00002670| 6f 6b 65 6e 4e 61 6d 65 | 22 29 3b 0d 0a 20 20 20 |okenName|");.. |
|00002680| 20 74 61 67 2e 73 65 74 | 41 74 74 72 69 62 75 74 | tag.set|Attribut|
|00002690| 65 28 22 76 61 6c 75 65 | 22 2c 74 6f 6b 65 6e 4e |e("value|",tokenN|
|000026a0| 61 6d 65 29 3b 0d 0a 20 | 20 7d 0d 0a 09 20 09 20 |ame);.. | }... . |
|000026b0| 0d 0a 20 20 70 72 6f 63 | 65 73 73 28 29 3b 0d 0a |.. proc|ess();..|
|000026c0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 6f 6e |}....fun|ction on|
|000026d0| 4d 65 6e 75 43 68 61 6e | 67 65 28 29 0d 0a 7b 0d |MenuChan|ge()..{.|
|000026e0| 0a 20 20 20 2f 2f 67 65 | 74 20 74 68 65 20 73 65 |. //ge|t the se|
|000026f0| 6c 65 63 74 65 64 20 74 | 6f 6b 65 6e 0d 0a 20 20 |lected t|oken.. |
|00002700| 20 76 61 72 20 6c 69 73 | 74 20 3d 20 64 6f 63 75 | var lis|t = docu|
|00002710| 6d 65 6e 74 2e 67 65 74 | 45 6c 65 6d 65 6e 74 42 |ment.get|ElementB|
|00002720| 79 49 64 28 22 74 6f 6b | 65 6e 4d 65 6e 75 22 29 |yId("tok|enMenu")|
|00002730| 3b 0d 0a 20 20 20 74 6f | 6b 65 6e 4e 61 6d 65 20 |;.. to|kenName |
|00002740| 3d 20 6c 69 73 74 2e 76 | 61 6c 75 65 3b 0d 0a 0d |= list.v|alue;...|
|00002750| 0a 20 20 20 70 72 6f 63 | 65 73 73 28 29 3b 0d 0a |. proc|ess();..|
|00002760| 7d 0d 0a 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |}......f|unction |
|00002770| 70 72 6f 63 65 73 73 28 | 29 0d 0a 7b 0d 0a 20 20 |process(|)..{.. |
|00002780| 20 76 61 72 20 73 65 63 | 6d 6f 64 64 62 20 3d 20 | var sec|moddb = |
|00002790| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 63 6c 61 73 73 |Componen|ts.class|
|000027a0| 65 73 5b 6e 73 50 4b 43 | 53 31 31 4d 6f 64 75 6c |es[nsPKC|S11Modul|
|000027b0| 65 44 42 5d 2e 67 65 74 | 53 65 72 76 69 63 65 28 |eDB].get|Service(|
|000027c0| 6e 73 49 50 4b 43 53 31 | 31 4d 6f 64 75 6c 65 44 |nsIPKCS1|1ModuleD|
|000027d0| 42 29 3b 0d 0a 20 20 20 | 76 61 72 20 62 75 6e 64 |B);.. |var bund|
|000027e0| 6c 65 20 3d 20 73 72 47 | 65 74 53 74 72 42 75 6e |le = srG|etStrBun|
|000027f0| 64 6c 65 28 22 63 68 72 | 6f 6d 65 3a 2f 2f 70 69 |dle("chr|ome://pi|
|00002800| 70 70 6b 69 2f 6c 6f 63 | 61 6c 65 2f 70 69 70 70 |ppki/loc|ale/pipp|
|00002810| 6b 69 2e 70 72 6f 70 65 | 72 74 69 65 73 22 29 3b |ki.prope|rties");|
|00002820| 0d 0a 0d 0a 20 20 20 2f | 2f 20 49 66 20 74 68 65 |.... /|/ If the|
|00002830| 20 74 6f 6b 65 6e 20 69 | 73 20 75 6e 69 74 69 61 | token i|s unitia|
|00002840| 6c 69 7a 65 64 2c 20 64 | 6f 6e 27 74 20 75 73 65 |lized, d|on't use|
|00002850| 20 74 68 65 20 6f 6c 64 | 20 70 61 73 73 77 6f 72 | the old| passwor|
|00002860| 64 20 62 6f 78 2e 0d 0a | 20 20 20 2f 2f 20 4f 74 |d box...| // Ot|
|00002870| 68 65 72 77 69 73 65 2c | 20 64 6f 2e 0d 0a 0d 0a |herwise,| do.....|
|00002880| 20 20 20 76 61 72 20 73 | 6c 6f 74 20 3d 20 73 65 | var s|lot = se|
|00002890| 63 6d 6f 64 64 62 2e 66 | 69 6e 64 53 6c 6f 74 42 |cmoddb.f|indSlotB|
|000028a0| 79 4e 61 6d 65 28 74 6f | 6b 65 6e 4e 61 6d 65 29 |yName(to|kenName)|
|000028b0| 3b 0d 0a 20 20 20 69 66 | 20 28 73 6c 6f 74 29 20 |;.. if| (slot) |
|000028c0| 7b 0d 0a 20 20 20 20 20 | 76 61 72 20 6f 6c 64 70 |{.. |var oldp|
|000028d0| 77 62 6f 78 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |wbox = d|ocument.|
|000028e0| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 22 |getEleme|ntById("|
|000028f0| 6f 6c 64 70 77 22 29 3b | 0d 0a 20 20 20 20 20 76 |oldpw");|.. v|
|00002900| 61 72 20 6d 73 67 42 6f | 78 20 3d 20 64 6f 63 75 |ar msgBo|x = docu|
|00002910| 6d 65 6e 74 2e 67 65 74 | 45 6c 65 6d 65 6e 74 42 |ment.get|ElementB|
|00002920| 79 49 64 28 22 6d 65 73 | 73 61 67 65 22 29 3b 0d |yId("mes|sage");.|
|00002930| 0a 20 20 20 20 20 76 61 | 72 20 73 74 61 74 75 73 |. va|r status|
|00002940| 20 3d 20 73 6c 6f 74 2e | 73 74 61 74 75 73 3b 0d | = slot.|status;.|
|00002950| 0a 20 20 20 20 20 69 66 | 20 28 73 74 61 74 75 73 |. if| (status|
|00002960| 20 3d 3d 20 6e 73 49 50 | 4b 43 53 31 31 53 6c 6f | == nsIP|KCS11Slo|
|00002970| 74 2e 53 4c 4f 54 5f 55 | 4e 49 4e 49 54 49 41 4c |t.SLOT_U|NINITIAL|
|00002980| 49 5a 45 44 0d 0a 20 20 | 20 20 20 20 20 20 20 7c |IZED.. | ||
|00002990| 7c 20 73 74 61 74 75 73 | 20 3d 3d 20 6e 73 49 50 || status| == nsIP|
|000029a0| 4b 43 53 31 31 53 6c 6f | 74 2e 53 4c 4f 54 5f 52 |KCS11Slo|t.SLOT_R|
|000029b0| 45 41 44 59 29 20 7b 0d | 0a 20 20 20 20 20 20 0d |EADY) {.|. .|
|000029c0| 0a 20 20 20 20 20 20 20 | 6f 6c 64 70 77 62 6f 78 |. |oldpwbox|
|000029d0| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 22 68 |.setAttr|ibute("h|
|000029e0| 69 64 64 65 6e 22 2c 20 | 22 74 72 75 65 22 29 3b |idden", |"true");|
|000029f0| 0d 0a 20 20 20 20 20 20 | 20 6d 73 67 42 6f 78 2e |.. | msgBox.|
|00002a00| 73 65 74 41 74 74 72 69 | 62 75 74 65 28 22 76 61 |setAttri|bute("va|
|00002a10| 6c 75 65 22 2c 20 62 75 | 6e 64 6c 65 2e 47 65 74 |lue", bu|ndle.Get|
|00002a20| 53 74 72 69 6e 67 46 72 | 6f 6d 4e 61 6d 65 28 22 |StringFr|omName("|
|00002a30| 70 61 73 73 77 6f 72 64 | 5f 6e 6f 74 5f 73 65 74 |password|_not_set|
|00002a40| 22 29 29 3b 20 0d 0a 20 | 20 20 20 20 20 20 6d 73 |")); .. | ms|
|00002a50| 67 42 6f 78 2e 73 65 74 | 41 74 74 72 69 62 75 74 |gBox.set|Attribut|
|00002a60| 65 28 22 68 69 64 64 65 | 6e 22 2c 20 22 66 61 6c |e("hidde|n", "fal|
|00002a70| 73 65 22 29 3b 0d 0a 0d | 0a 20 20 20 20 20 20 20 |se");...|. |
|00002a80| 69 66 20 28 73 74 61 74 | 75 73 20 3d 3d 20 6e 73 |if (stat|us == ns|
|00002a90| 49 50 4b 43 53 31 31 53 | 6c 6f 74 2e 53 4c 4f 54 |IPKCS11S|lot.SLOT|
|00002aa0| 5f 52 45 41 44 59 29 20 | 7b 0d 0a 20 20 20 20 20 |_READY) |{.. |
|00002ab0| 20 20 20 20 6f 6c 64 70 | 77 62 6f 78 2e 73 65 74 | oldp|wbox.set|
|00002ac0| 41 74 74 72 69 62 75 74 | 65 28 22 69 6e 69 74 65 |Attribut|e("inite|
|00002ad0| 64 22 2c 20 22 65 6d 70 | 74 79 22 29 3b 0d 0a 20 |d", "emp|ty");.. |
|00002ae0| 20 20 20 20 20 20 7d 20 | 65 6c 73 65 20 7b 0d 0a | } |else {..|
|00002af0| 20 20 20 20 20 20 20 20 | 20 6f 6c 64 70 77 62 6f | | oldpwbo|
|00002b00| 78 2e 73 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |x.setAtt|ribute("|
|00002b10| 69 6e 69 74 65 64 22 2c | 20 22 74 72 75 65 22 29 |inited",| "true")|
|00002b20| 3b 0d 0a 20 20 20 20 20 | 20 20 7d 0d 0a 20 20 20 |;.. | }.. |
|00002b30| 20 20 20 0d 0a 20 20 20 | 20 20 20 20 2f 2f 20 53 | .. | // S|
|00002b40| 65 6c 65 63 74 20 66 69 | 72 73 74 20 70 61 73 73 |elect fi|rst pass|
|00002b50| 77 6f 72 64 20 66 69 65 | 6c 64 0d 0a 20 20 20 20 |word fie|ld.. |
|00002b60| 20 20 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 | docum|ent.getE|
|00002b70| 6c 65 6d 65 6e 74 42 79 | 49 64 28 27 70 77 31 27 |lementBy|Id('pw1'|
|00002b80| 29 2e 66 6f 63 75 73 28 | 29 3b 0d 0a 20 20 20 20 |).focus(|);.. |
|00002b90| 0d 0a 20 20 20 20 20 7d | 20 65 6c 73 65 20 7b 0d |.. }| else {.|
|00002ba0| 0a 20 20 20 20 20 20 20 | 2f 2f 20 53 65 6c 65 63 |. |// Selec|
|00002bb0| 74 20 6f 6c 64 20 70 61 | 73 73 77 6f 72 64 20 66 |t old pa|ssword f|
|00002bc0| 69 65 6c 64 0d 0a 20 20 | 20 20 20 20 20 6f 6c 64 |ield.. | old|
|00002bd0| 70 77 62 6f 78 2e 73 65 | 74 41 74 74 72 69 62 75 |pwbox.se|tAttribu|
|00002be0| 74 65 28 22 68 69 64 64 | 65 6e 22 2c 20 22 66 61 |te("hidd|en", "fa|
|00002bf0| 6c 73 65 22 29 3b 0d 0a | 20 20 20 20 20 20 20 6d |lse");..| m|
|00002c00| 73 67 42 6f 78 2e 73 65 | 74 41 74 74 72 69 62 75 |sgBox.se|tAttribu|
|00002c10| 74 65 28 22 68 69 64 64 | 65 6e 22 2c 20 22 74 72 |te("hidd|en", "tr|
|00002c20| 75 65 22 29 3b 0d 0a 20 | 20 20 20 20 20 20 6f 6c |ue");.. | ol|
|00002c30| 64 70 77 62 6f 78 2e 73 | 65 74 41 74 74 72 69 62 |dpwbox.s|etAttrib|
|00002c40| 75 74 65 28 22 69 6e 69 | 74 65 64 22 2c 20 22 66 |ute("ini|ted", "f|
|00002c50| 61 6c 73 65 22 29 3b 0d | 0a 20 20 20 20 20 20 20 |alse");.|. |
|00002c60| 6f 6c 64 70 77 62 6f 78 | 2e 66 6f 63 75 73 28 29 |oldpwbox|.focus()|
|00002c70| 3b 0d 0a 20 20 20 20 20 | 7d 0d 0a 20 20 20 7d 0d |;.. |}.. }.|
|00002c80| 0a 0d 0a 20 20 69 66 20 | 28 70 61 72 61 6d 73 29 |... if |(params)|
|00002c90| 20 7b 0d 0a 20 20 20 20 | 2f 2f 20 52 65 74 75 72 | {.. |// Retur|
|00002ca0| 6e 20 76 61 6c 75 65 20 | 30 20 6d 65 61 6e 73 20 |n value |0 means |
|00002cb0| 22 63 61 6e 63 65 6c 65 | 64 22 0d 0a 20 20 20 20 |"cancele|d".. |
|00002cc0| 70 61 72 61 6d 73 2e 53 | 65 74 49 6e 74 28 31 2c |params.S|etInt(1,|
|00002cd0| 20 30 29 3b 0d 0a 20 20 | 7d 0d 0a 20 20 0d 0a 20 | 0);.. |}.. .. |
|00002ce0| 20 63 68 65 63 6b 50 61 | 73 73 77 6f 72 64 73 28 | checkPa|sswords(|
|00002cf0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|00002d00| 6e 20 6f 6e 50 31 32 4c | 6f 61 64 28 29 0d 0a 7b |n onP12L|oad()..{|
|00002d10| 0d 0a 20 20 70 77 31 20 | 3d 20 64 6f 63 75 6d 65 |.. pw1 |= docume|
|00002d20| 6e 74 2e 67 65 74 45 6c | 65 6d 65 6e 74 42 79 49 |nt.getEl|ementByI|
|00002d30| 64 28 22 70 77 31 22 29 | 3b 0d 0a 20 20 70 61 72 |d("pw1")|;.. par|
|00002d40| 61 6d 73 20 3d 20 77 69 | 6e 64 6f 77 2e 61 72 67 |ams = wi|ndow.arg|
|00002d50| 75 6d 65 6e 74 73 5b 30 | 5d 2e 51 75 65 72 79 49 |uments[0|].QueryI|
|00002d60| 6e 74 65 72 66 61 63 65 | 28 6e 73 49 44 69 61 6c |nterface|(nsIDial|
|00002d70| 6f 67 50 61 72 61 6d 42 | 6c 6f 63 6b 29 3b 0d 0a |ogParamB|lock);..|
|00002d80| 20 20 2f 2f 20 53 65 6c | 65 63 74 20 66 69 72 73 | // Sel|ect firs|
|00002d90| 74 20 70 61 73 73 77 6f | 72 64 20 66 69 65 6c 64 |t passwo|rd field|
|00002da0| 0d 0a 20 20 64 6f 63 75 | 6d 65 6e 74 2e 67 65 74 |.. docu|ment.get|
|00002db0| 45 6c 65 6d 65 6e 74 42 | 79 49 64 28 27 70 77 31 |ElementB|yId('pw1|
|00002dc0| 27 29 2e 66 6f 63 75 73 | 28 29 3b 0d 0a 7d 0d 0a |').focus|();..}..|
|00002dd0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 73 65 74 50 61 |..functi|on setPa|
|00002de0| 73 73 77 6f 72 64 28 29 | 0d 0a 7b 0d 0a 20 20 76 |ssword()|..{.. v|
|00002df0| 61 72 20 70 6b 31 31 64 | 62 20 3d 20 43 6f 6d 70 |ar pk11d|b = Comp|
|00002e00| 6f 6e 65 6e 74 73 2e 63 | 6c 61 73 73 65 73 5b 6e |onents.c|lasses[n|
|00002e10| 73 50 4b 31 31 54 6f 6b | 65 6e 44 42 5d 2e 67 65 |sPK11Tok|enDB].ge|
|00002e20| 74 53 65 72 76 69 63 65 | 28 6e 73 49 50 4b 31 31 |tService|(nsIPK11|
|00002e30| 54 6f 6b 65 6e 44 42 29 | 3b 0d 0a 20 20 76 61 72 |TokenDB)|;.. var|
|00002e40| 20 74 6f 6b 65 6e 20 3d | 20 70 6b 31 31 64 62 2e | token =| pk11db.|
|00002e50| 66 69 6e 64 54 6f 6b 65 | 6e 42 79 4e 61 6d 65 28 |findToke|nByName(|
|00002e60| 74 6f 6b 65 6e 4e 61 6d | 65 29 3b 0d 0a 0d 0a 20 |tokenNam|e);.... |
|00002e70| 20 76 61 72 20 6f 6c 64 | 70 77 62 6f 78 20 3d 20 | var old|pwbox = |
|00002e80| 64 6f 63 75 6d 65 6e 74 | 2e 67 65 74 45 6c 65 6d |document|.getElem|
|00002e90| 65 6e 74 42 79 49 64 28 | 22 6f 6c 64 70 77 22 29 |entById(|"oldpw")|
|00002ea0| 3b 0d 0a 20 20 76 61 72 | 20 69 6e 69 74 70 77 20 |;.. var| initpw |
|00002eb0| 3d 20 6f 6c 64 70 77 62 | 6f 78 2e 67 65 74 41 74 |= oldpwb|ox.getAt|
|00002ec0| 74 72 69 62 75 74 65 28 | 22 69 6e 69 74 65 64 22 |tribute(|"inited"|
|00002ed0| 29 3b 0d 0a 20 20 76 61 | 72 20 62 75 6e 64 6c 65 |);.. va|r bundle|
|00002ee0| 20 3d 20 73 72 47 65 74 | 53 74 72 42 75 6e 64 6c | = srGet|StrBundl|
|00002ef0| 65 28 22 63 68 72 6f 6d | 65 3a 2f 2f 70 69 70 70 |e("chrom|e://pipp|
|00002f00| 6b 69 2f 6c 6f 63 61 6c | 65 2f 70 69 70 70 6b 69 |ki/local|e/pippki|
|00002f10| 2e 70 72 6f 70 65 72 74 | 69 65 73 22 29 3b 0d 0a |.propert|ies");..|
|00002f20| 20 20 0d 0a 20 20 76 61 | 72 20 73 75 63 63 65 73 | .. va|r succes|
|00002f30| 73 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 20 20 0d 0a |s = fals|e;.. ..|
|00002f40| 20 20 69 66 20 28 69 6e | 69 74 70 77 20 3d 3d 20 | if (in|itpw == |
|00002f50| 22 66 61 6c 73 65 22 20 | 7c 7c 20 69 6e 69 74 70 |"false" ||| initp|
|00002f60| 77 20 3d 3d 20 22 65 6d | 70 74 79 22 29 20 7b 0d |w == "em|pty") {.|
|00002f70| 0a 20 20 20 20 74 72 79 | 20 7b 0d 0a 20 20 20 20 |. try| {.. |
|00002f80| 20 20 76 61 72 20 6f 6c | 64 70 77 20 3d 20 22 22 | var ol|dpw = ""|
|00002f90| 3b 0d 0a 20 20 20 20 20 | 20 76 61 72 20 70 61 73 |;.. | var pas|
|00002fa0| 73 6f 6b 20 3d 20 30 3b | 0d 0a 20 20 20 20 20 20 |sok = 0;|.. |
|00002fb0| 0d 0a 20 20 20 20 20 20 | 69 66 20 28 69 6e 69 74 |.. |if (init|
|00002fc0| 70 77 20 3d 3d 20 22 65 | 6d 70 74 79 22 29 20 7b |pw == "e|mpty") {|
|00002fd0| 0d 0a 20 20 20 20 20 20 | 20 20 70 61 73 73 6f 6b |.. | passok|
|00002fe0| 20 3d 20 31 3b 0d 0a 20 | 20 20 20 20 20 7d 20 65 | = 1;.. | } e|
|00002ff0| 6c 73 65 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 6f |lse {.. | o|
|00003000| 6c 64 70 77 20 3d 20 6f | 6c 64 70 77 62 6f 78 2e |ldpw = o|ldpwbox.|
|00003010| 76 61 6c 75 65 3b 0d 0a | 20 20 20 20 20 20 20 20 |value;..| |
|00003020| 70 61 73 73 6f 6b 20 3d | 20 74 6f 6b 65 6e 2e 63 |passok =| token.c|
|00003030| 68 65 63 6b 50 61 73 73 | 77 6f 72 64 28 6f 6c 64 |heckPass|word(old|
|00003040| 70 77 29 3b 0d 0a 20 20 | 20 20 20 20 7d 0d 0a 20 |pw);.. | }.. |
|00003050| 20 20 20 20 20 0d 0a 20 | 20 20 20 20 20 69 66 20 | .. | if |
|00003060| 28 70 61 73 73 6f 6b 29 | 20 7b 0d 0a 20 20 20 20 |(passok)| {.. |
|00003070| 20 20 20 20 69 66 20 28 | 69 6e 69 74 70 77 20 3d | if (|initpw =|
|00003080| 3d 20 22 65 6d 70 74 79 | 22 20 26 26 20 70 77 31 |= "empty|" && pw1|
|00003090| 2e 76 61 6c 75 65 20 3d | 3d 20 22 22 29 20 7b 0d |.value =|= "") {.|
|000030a0| 0a 20 20 20 20 20 20 20 | 20 20 20 2f 2f 20 54 68 |. | // Th|
|000030b0| 69 73 20 6d 61 6b 65 73 | 20 6e 6f 20 73 65 6e 73 |is makes| no sens|
|000030c0| 65 20 74 68 61 74 20 77 | 65 20 61 72 72 69 76 65 |e that w|e arrive|
|000030d0| 20 68 65 72 65 2c 20 0d | 0a 20 20 20 20 20 20 20 | here, .|. |
|000030e0| 20 20 20 2f 2f 20 77 65 | 20 72 65 61 63 68 65 64 | // we| reached|
|000030f0| 20 61 20 63 61 73 65 20 | 74 68 61 74 20 73 68 6f | a case |that sho|
|00003100| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 70 72 |uld have| been pr|
|00003110| 65 76 65 6e 74 65 64 20 | 62 79 20 63 68 65 63 6b |evented |by check|
|00003120| 50 61 73 73 77 6f 72 64 | 73 2e 0d 0a 20 20 20 20 |Password|s... |
|00003130| 20 20 20 20 7d 20 65 6c | 73 65 20 7b 0d 0a 20 20 | } el|se {.. |
|00003140| 20 20 20 20 20 20 20 20 | 69 66 20 28 70 77 31 2e | |if (pw1.|
|00003150| 76 61 6c 75 65 20 3d 3d | 20 22 22 29 20 7b 0d 0a |value ==| "") {..|
|00003160| 20 20 20 20 20 20 20 20 | 20 20 20 20 76 61 72 20 | | var |
|00003170| 73 65 63 6d 6f 64 64 62 | 20 3d 20 43 6f 6d 70 6f |secmoddb| = Compo|
|00003180| 6e 65 6e 74 73 2e 63 6c | 61 73 73 65 73 5b 6e 73 |nents.cl|asses[ns|
|00003190| 50 4b 43 53 31 31 4d 6f | 64 75 6c 65 44 42 5d 2e |PKCS11Mo|duleDB].|
|000031a0| 67 65 74 53 65 72 76 69 | 63 65 28 6e 73 49 50 4b |getServi|ce(nsIPK|
|000031b0| 43 53 31 31 4d 6f 64 75 | 6c 65 44 42 29 3b 0d 0a |CS11Modu|leDB);..|
|000031c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|000031d0| 73 65 63 6d 6f 64 64 62 | 2e 69 73 46 49 50 53 45 |secmoddb|.isFIPSE|
|000031e0| 6e 61 62 6c 65 64 29 20 | 7b 0d 0a 20 20 20 20 20 |nabled) |{.. |
|000031f0| 20 20 20 20 20 20 20 20 | 20 2f 2f 20 65 6d 70 74 | | // empt|
|00003200| 79 20 70 61 73 73 77 6f | 72 64 73 20 61 72 65 20 |y passwo|rds are |
|00003210| 6e 6f 74 20 61 6c 6c 6f | 77 65 64 20 69 6e 20 46 |not allo|wed in F|
|00003220| 49 50 53 20 6d 6f 64 65 | 0d 0a 20 20 20 20 20 20 |IPS mode|.. |
|00003230| 20 20 20 20 20 20 20 20 | 61 6c 65 72 74 28 62 75 | |alert(bu|
|00003240| 6e 64 6c 65 2e 47 65 74 | 53 74 72 69 6e 67 46 72 |ndle.Get|StringFr|
|00003250| 6f 6d 4e 61 6d 65 28 22 | 70 77 5f 63 68 61 6e 67 |omName("|pw_chang|
|00003260| 65 32 65 6d 70 74 79 5f | 69 6e 5f 66 69 70 73 5f |e2empty_|in_fips_|
|00003270| 6d 6f 64 65 22 29 29 3b | 0d 0a 20 20 20 20 20 20 |mode"));|.. |
|00003280| 20 20 20 20 20 20 20 20 | 70 61 73 73 6f 6b 20 3d | |passok =|
|00003290| 20 30 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | 0;.. | |
|000032a0| 20 7d 0d 0a 20 20 20 20 | 20 20 20 20 20 20 7d 0d | }.. | }.|
|000032b0| 0a 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 70 |. | if (p|
|000032c0| 61 73 73 6f 6b 29 20 7b | 0d 0a 20 20 20 20 20 20 |assok) {|.. |
|000032d0| 20 20 20 20 20 20 74 6f | 6b 65 6e 2e 63 68 61 6e | to|ken.chan|
|000032e0| 67 65 50 61 73 73 77 6f | 72 64 28 6f 6c 64 70 77 |gePasswo|rd(oldpw|
|000032f0| 2c 20 70 77 31 2e 76 61 | 6c 75 65 29 3b 0d 0a 20 |, pw1.va|lue);.. |
|00003300| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 70 | | if (p|
|00003310| 77 31 2e 76 61 6c 75 65 | 20 3d 3d 20 22 22 29 20 |w1.value| == "") |
|00003320| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{.. | |
|00003330| 20 61 6c 65 72 74 28 62 | 75 6e 64 6c 65 2e 47 65 | alert(b|undle.Ge|
|00003340| 74 53 74 72 69 6e 67 46 | 72 6f 6d 4e 61 6d 65 28 |tStringF|romName(|
|00003350| 22 70 77 5f 65 72 61 73 | 65 64 5f 6f 6b 22 29 0d |"pw_eras|ed_ok").|
|00003360| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003370| 20 20 20 20 20 2b 20 22 | 20 22 0d 0a 20 20 20 20 | + "| ".. |
|00003380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003390| 2b 20 62 75 6e 64 6c 65 | 2e 47 65 74 53 74 72 69 |+ bundle|.GetStri|
|000033a0| 6e 67 46 72 6f 6d 4e 61 | 6d 65 28 22 70 77 5f 65 |ngFromNa|me("pw_e|
|000033b0| 6d 70 74 79 5f 77 61 72 | 6e 69 6e 67 22 29 29 3b |mpty_war|ning"));|
|000033c0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 7d 20 |.. | } |
|000033d0| 65 6c 73 65 20 7b 0d 0a | 20 20 20 20 20 20 20 20 |else {..| |
|000033e0| 20 20 20 20 20 20 61 6c | 65 72 74 28 62 75 6e 64 | al|ert(bund|
|000033f0| 6c 65 2e 47 65 74 53 74 | 72 69 6e 67 46 72 6f 6d |le.GetSt|ringFrom|
|00003400| 4e 61 6d 65 28 22 70 77 | 5f 63 68 61 6e 67 65 5f |Name("pw|_change_|
|00003410| 6f 6b 22 29 29 3b 20 0d | 0a 20 20 20 20 20 20 20 |ok")); .|. |
|00003420| 20 20 20 20 20 7d 0d 0a | 20 20 20 20 20 20 20 20 | }..| |
|00003430| 20 20 20 20 73 75 63 63 | 65 73 73 20 3d 20 74 72 | succ|ess = tr|
|00003440| 75 65 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 7d |ue;.. | }|
|00003450| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 20 20 20 |.. | }.. |
|00003460| 20 20 20 7d 20 65 6c 73 | 65 20 7b 0d 0a 20 20 20 | } els|e {.. |
|00003470| 20 20 20 20 20 6f 6c 64 | 70 77 62 6f 78 2e 66 6f | old|pwbox.fo|
|00003480| 63 75 73 28 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |cus();..| |
|00003490| 6f 6c 64 70 77 62 6f 78 | 2e 73 65 74 41 74 74 72 |oldpwbox|.setAttr|
|000034a0| 69 62 75 74 65 28 22 76 | 61 6c 75 65 22 2c 20 22 |ibute("v|alue", "|
|000034b0| 22 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 61 6c 65 |");.. | ale|
|000034c0| 72 74 28 62 75 6e 64 6c | 65 2e 47 65 74 53 74 72 |rt(bundl|e.GetStr|
|000034d0| 69 6e 67 46 72 6f 6d 4e | 61 6d 65 28 22 69 6e 63 |ingFromN|ame("inc|
|000034e0| 6f 72 72 65 63 74 5f 70 | 77 22 29 29 3b 20 0d 0a |orrect_p|w")); ..|
|000034f0| 20 20 20 20 20 20 7d 0d | 0a 20 20 20 20 7d 20 63 | }.|. } c|
|00003500| 61 74 63 68 20 28 65 29 | 20 7b 0d 0a 20 20 20 20 |atch (e)| {.. |
|00003510| 20 20 61 6c 65 72 74 28 | 62 75 6e 64 6c 65 2e 47 | alert(|bundle.G|
|00003520| 65 74 53 74 72 69 6e 67 | 46 72 6f 6d 4e 61 6d 65 |etString|FromName|
|00003530| 28 22 66 61 69 6c 65 64 | 5f 70 77 5f 63 68 61 6e |("failed|_pw_chan|
|00003540| 67 65 22 29 29 3b 20 0d | 0a 20 20 20 20 7d 0d 0a |ge")); .|. }..|
|00003550| 20 20 7d 20 65 6c 73 65 | 20 7b 0d 0a 20 20 20 20 | } else| {.. |
|00003560| 74 6f 6b 65 6e 2e 69 6e | 69 74 50 61 73 73 77 6f |token.in|itPasswo|
|00003570| 72 64 28 70 77 31 2e 76 | 61 6c 75 65 29 3b 0d 0a |rd(pw1.v|alue);..|
|00003580| 20 20 20 20 69 66 20 28 | 70 77 31 2e 76 61 6c 75 | if (|pw1.valu|
|00003590| 65 20 3d 3d 20 22 22 29 | 20 7b 0d 0a 20 20 20 20 |e == "")| {.. |
|000035a0| 20 20 61 6c 65 72 74 28 | 62 75 6e 64 6c 65 2e 47 | alert(|bundle.G|
|000035b0| 65 74 53 74 72 69 6e 67 | 46 72 6f 6d 4e 61 6d 65 |etString|FromName|
|000035c0| 28 22 70 77 5f 6e 6f 74 | 5f 77 61 6e 74 65 64 22 |("pw_not|_wanted"|
|000035d0| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 2b |).. | +|
|000035e0| 20 22 20 22 20 0d 0a 20 | 20 20 20 20 20 20 20 20 | " " .. | |
|000035f0| 20 20 20 2b 20 62 75 6e | 64 6c 65 2e 47 65 74 53 | + bun|dle.GetS|
|00003600| 74 72 69 6e 67 46 72 6f | 6d 4e 61 6d 65 28 22 70 |tringFro|mName("p|
|00003610| 77 5f 65 6d 70 74 79 5f | 77 61 72 6e 69 6e 67 22 |w_empty_|warning"|
|00003620| 29 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 20 20 20 20 |));.. | }.. |
|00003630| 73 75 63 63 65 73 73 20 | 3d 20 74 72 75 65 3b 0d |success |= true;.|
|00003640| 0a 20 20 7d 0d 0a 0d 0a | 20 20 2f 2f 20 54 65 72 |. }....| // Ter|
|00003650| 6d 69 6e 61 74 65 20 64 | 69 61 6c 6f 67 0d 0a 20 |minate d|ialog.. |
|00003660| 20 69 66 20 28 73 75 63 | 63 65 73 73 29 20 7b 0d | if (suc|cess) {.|
|00003670| 0a 20 20 20 20 69 66 20 | 28 70 61 72 61 6d 73 29 |. if |(params)|
|00003680| 20 7b 0d 0a 20 20 20 20 | 20 20 2f 2f 20 52 65 74 | {.. | // Ret|
|00003690| 75 72 6e 20 76 61 6c 75 | 65 20 31 20 6d 65 61 6e |urn valu|e 1 mean|
|000036a0| 73 20 22 73 75 63 63 65 | 73 73 66 75 6c 6c 79 20 |s "succe|ssfully |
|000036b0| 65 78 65 63 75 74 65 64 | 20 6f 6b 22 0d 0a 20 20 |executed| ok".. |
|000036c0| 20 20 20 20 70 61 72 61 | 6d 73 2e 53 65 74 49 6e | para|ms.SetIn|
|000036d0| 74 28 31 2c 20 31 29 3b | 0d 0a 20 20 20 20 7d 0d |t(1, 1);|.. }.|
|000036e0| 0a 0d 0a 20 20 20 20 77 | 69 6e 64 6f 77 2e 63 6c |... w|indow.cl|
|000036f0| 6f 73 65 28 29 3b 0d 0a | 20 20 7d 0d 0a 7d 0d 0a |ose();..| }..}..|
|00003700| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 67 65 74 50 61 |..functi|on getPa|
|00003710| 73 73 77 6f 72 64 28 29 | 0d 0a 7b 0d 0a 20 20 2f |ssword()|..{.. /|
|00003720| 2f 20 67 72 61 62 20 77 | 68 61 74 20 77 61 73 20 |/ grab w|hat was |
|00003730| 65 6e 74 65 72 65 64 0d | 0a 20 20 70 61 72 61 6d |entered.|. param|
|00003740| 73 2e 53 65 74 53 74 72 | 69 6e 67 28 32 2c 20 70 |s.SetStr|ing(2, p|
|00003750| 77 31 2e 76 61 6c 75 65 | 29 3b 0d 0a 20 20 2f 2f |w1.value|);.. //|
|00003760| 20 52 65 74 75 72 6e 20 | 76 61 6c 75 65 0d 0a 20 | Return |value.. |
|00003770| 20 70 61 72 61 6d 73 2e | 53 65 74 49 6e 74 28 31 | params.|SetInt(1|
|00003780| 2c 20 31 29 3b 0d 0a 20 | 20 2f 2f 20 54 65 72 6d |, 1);.. | // Term|
|00003790| 69 6e 61 74 65 20 64 69 | 61 6c 6f 67 0d 0a 20 20 |inate di|alog.. |
|000037a0| 77 69 6e 64 6f 77 2e 63 | 6c 6f 73 65 28 29 3b 0d |window.c|lose();.|
|000037b0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 73 |.}....fu|nction s|
|000037c0| 65 74 50 31 32 50 61 73 | 73 77 6f 72 64 28 29 0d |etP12Pas|sword().|
|000037d0| 0a 7b 0d 0a 20 20 2f 2f | 20 67 72 61 62 20 77 68 |.{.. //| grab wh|
|000037e0| 61 74 20 77 61 73 20 65 | 6e 74 65 72 65 64 0d 0a |at was e|ntered..|
|000037f0| 20 20 70 61 72 61 6d 73 | 2e 53 65 74 53 74 72 69 | params|.SetStri|
|00003800| 6e 67 28 32 2c 20 70 77 | 31 2e 76 61 6c 75 65 29 |ng(2, pw|1.value)|
|00003810| 3b 0d 0a 20 20 2f 2f 20 | 52 65 74 75 72 6e 20 76 |;.. // |Return v|
|00003820| 61 6c 75 65 0d 0a 20 20 | 70 61 72 61 6d 73 2e 53 |alue.. |params.S|
|00003830| 65 74 49 6e 74 28 31 2c | 20 31 29 3b 0d 0a 20 20 |etInt(1,| 1);.. |
|00003840| 2f 2f 20 54 65 72 6d 69 | 6e 61 74 65 20 64 69 61 |// Termi|nate dia|
|00003850| 6c 6f 67 0d 0a 20 20 77 | 69 6e 64 6f 77 2e 63 6c |log.. w|indow.cl|
|00003860| 6f 73 65 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |ose();..|}....fun|
|00003870| 63 74 69 6f 6e 20 73 65 | 74 50 61 73 73 77 6f 72 |ction se|tPasswor|
|00003880| 64 53 74 72 65 6e 67 74 | 68 28 29 0d 0a 7b 0d 0a |dStrengt|h()..{..|
|00003890| 2f 2f 20 48 65 72 65 20 | 69 73 20 68 6f 77 20 77 |// Here |is how w|
|000038a0| 65 20 77 65 69 67 68 20 | 74 68 65 20 71 75 61 6c |e weigh |the qual|
|000038b0| 69 74 79 20 6f 66 20 74 | 68 65 20 70 61 73 73 77 |ity of t|he passw|
|000038c0| 6f 72 64 0d 0a 2f 2f 20 | 6e 75 6d 62 65 72 20 6f |ord..// |number o|
|000038d0| 66 20 63 68 61 72 61 63 | 74 65 72 73 0d 0a 2f 2f |f charac|ters..//|
|000038e0| 20 6e 75 6d 62 65 72 73 | 0d 0a 2f 2f 20 6e 6f 6e | numbers|..// non|
|000038f0| 2d 61 6c 70 68 61 2d 6e | 75 6d 65 72 69 63 20 63 |-alpha-n|umeric c|
|00003900| 68 61 72 73 0d 0a 2f 2f | 20 75 70 70 65 72 20 61 |hars..//| upper a|
|00003910| 6e 64 20 6c 6f 77 65 72 | 20 63 61 73 65 20 63 68 |nd lower| case ch|
|00003920| 61 72 61 63 74 65 72 73 | 0d 0a 0d 0a 20 20 76 61 |aracters|.... va|
|00003930| 72 20 70 77 3d 64 6f 63 | 75 6d 65 6e 74 2e 67 65 |r pw=doc|ument.ge|
|00003940| 74 45 6c 65 6d 65 6e 74 | 42 79 49 64 28 27 70 77 |tElement|ById('pw|
|00003950| 31 27 29 2e 76 61 6c 75 | 65 3b 0d 0a 2f 2f 20 20 |1').valu|e;..// |
|00003960| 61 6c 65 72 74 28 22 70 | 61 73 73 77 6f 72 64 3d |alert("p|assword=|
|00003970| 27 22 20 2b 20 70 77 20 | 2b 22 27 22 29 3b 0d 0a |'" + pw |+"'");..|
|00003980| 0d 0a 2f 2f 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |..//leng|th of th|
|00003990| 65 20 70 61 73 73 77 6f | 72 64 0d 0a 20 20 76 61 |e passwo|rd.. va|
|000039a0| 72 20 70 77 6c 65 6e 67 | 74 68 3d 28 70 77 2e 6c |r pwleng|th=(pw.l|
|000039b0| 65 6e 67 74 68 29 3b 0d | 0a 20 20 69 66 20 28 70 |ength);.|. if (p|
|000039c0| 77 6c 65 6e 67 74 68 3e | 35 29 0d 0a 20 20 20 20 |wlength>|5).. |
|000039d0| 70 77 6c 65 6e 67 74 68 | 3d 35 3b 0d 0a 0d 0a 0d |pwlength|=5;.....|
|000039e0| 0a 2f 2f 75 73 65 20 6f | 66 20 6e 75 6d 62 65 72 |.//use o|f number|
|000039f0| 73 20 69 6e 20 74 68 65 | 20 70 61 73 73 77 6f 72 |s in the| passwor|
|00003a00| 64 0d 0a 20 20 76 61 72 | 20 6e 75 6d 6e 75 6d 65 |d.. var| numnume|
|00003a10| 72 69 63 20 3d 20 70 77 | 2e 72 65 70 6c 61 63 65 |ric = pw|.replace|
|00003a20| 20 28 2f 5b 30 2d 39 5d | 2f 67 2c 20 22 22 29 3b | (/[0-9]|/g, "");|
|00003a30| 0d 0a 20 20 76 61 72 20 | 6e 75 6d 65 72 69 63 3d |.. var |numeric=|
|00003a40| 28 70 77 2e 6c 65 6e 67 | 74 68 20 2d 20 6e 75 6d |(pw.leng|th - num|
|00003a50| 6e 75 6d 65 72 69 63 2e | 6c 65 6e 67 74 68 29 3b |numeric.|length);|
|00003a60| 0d 0a 20 20 69 66 20 28 | 6e 75 6d 65 72 69 63 3e |.. if (|numeric>|
|00003a70| 33 29 0d 0a 20 20 20 20 | 6e 75 6d 65 72 69 63 3d |3).. |numeric=|
|00003a80| 33 3b 0d 0a 0d 0a 2f 2f | 75 73 65 20 6f 66 20 73 |3;....//|use of s|
|00003a90| 79 6d 62 6f 6c 73 20 69 | 6e 20 74 68 65 20 70 61 |ymbols i|n the pa|
|00003aa0| 73 73 77 6f 72 64 0d 0a | 20 20 76 61 72 20 73 79 |ssword..| var sy|
|00003ab0| 6d 62 6f 6c 73 20 3d 20 | 70 77 2e 72 65 70 6c 61 |mbols = |pw.repla|
|00003ac0| 63 65 20 28 2f 5c 57 2f | 67 2c 20 22 22 29 3b 0d |ce (/\W/|g, "");.|
|00003ad0| 0a 20 20 76 61 72 20 6e | 75 6d 73 79 6d 62 6f 6c |. var n|umsymbol|
|00003ae0| 73 3d 28 70 77 2e 6c 65 | 6e 67 74 68 20 2d 20 73 |s=(pw.le|ngth - s|
|00003af0| 79 6d 62 6f 6c 73 2e 6c | 65 6e 67 74 68 29 3b 0d |ymbols.l|ength);.|
|00003b00| 0a 20 20 69 66 20 28 6e | 75 6d 73 79 6d 62 6f 6c |. if (n|umsymbol|
|00003b10| 73 3e 33 29 0d 0a 20 20 | 20 20 6e 75 6d 73 79 6d |s>3).. | numsym|
|00003b20| 62 6f 6c 73 3d 33 3b 0d | 0a 0d 0a 2f 2f 75 73 65 |bols=3;.|...//use|
|00003b30| 20 6f 66 20 75 70 70 65 | 72 63 61 73 65 20 69 6e | of uppe|rcase in|
|00003b40| 20 74 68 65 20 70 61 73 | 73 77 6f 72 64 0d 0a 20 | the pas|sword.. |
|00003b50| 20 76 61 72 20 6e 75 6d | 75 70 70 65 72 20 3d 20 | var num|upper = |
|00003b60| 70 77 2e 72 65 70 6c 61 | 63 65 20 28 2f 5b 41 2d |pw.repla|ce (/[A-|
|00003b70| 5a 5d 2f 67 2c 20 22 22 | 29 3b 0d 0a 20 20 76 61 |Z]/g, ""|);.. va|
|00003b80| 72 20 75 70 70 65 72 3d | 28 70 77 2e 6c 65 6e 67 |r upper=|(pw.leng|
|00003b90| 74 68 20 2d 20 6e 75 6d | 75 70 70 65 72 2e 6c 65 |th - num|upper.le|
|00003ba0| 6e 67 74 68 29 3b 0d 0a | 20 20 69 66 20 28 75 70 |ngth);..| if (up|
|00003bb0| 70 65 72 3e 33 29 0d 0a | 20 20 20 20 75 70 70 65 |per>3)..| uppe|
|00003bc0| 72 3d 33 3b 0d 0a 0d 0a | 0d 0a 20 20 76 61 72 20 |r=3;....|.. var |
|00003bd0| 70 77 73 74 72 65 6e 67 | 74 68 3d 28 28 70 77 6c |pwstreng|th=((pwl|
|00003be0| 65 6e 67 74 68 2a 31 30 | 29 2d 32 30 29 20 2b 20 |ength*10|)-20) + |
|00003bf0| 28 6e 75 6d 65 72 69 63 | 2a 31 30 29 20 2b 20 28 |(numeric|*10) + (|
|00003c00| 6e 75 6d 73 79 6d 62 6f | 6c 73 2a 31 35 29 20 2b |numsymbo|ls*15) +|
|00003c10| 20 28 75 70 70 65 72 2a | 31 30 29 3b 0d 0a 0d 0a | (upper*|10);....|
|00003c20| 20 20 2f 2f 20 6d 61 6b | 65 20 73 75 72 65 20 77 | // mak|e sure w|
|00003c30| 65 27 72 65 20 67 69 76 | 65 20 61 20 76 61 6c 75 |e're giv|e a valu|
|00003c40| 65 20 62 65 74 77 65 65 | 6e 20 30 20 61 6e 64 20 |e betwee|n 0 and |
|00003c50| 31 30 30 0d 0a 20 20 69 | 66 20 28 20 70 77 73 74 |100.. i|f ( pwst|
|00003c60| 72 65 6e 67 74 68 20 3c | 20 30 20 29 20 7b 0d 0a |rength <| 0 ) {..|
|00003c70| 20 20 20 20 70 77 73 74 | 72 65 6e 67 74 68 20 3d | pwst|rength =|
|00003c80| 20 30 3b 0d 0a 20 20 7d | 0d 0a 20 20 0d 0a 20 20 | 0;.. }|.. .. |
|00003c90| 69 66 20 28 20 70 77 73 | 74 72 65 6e 67 74 68 20 |if ( pws|trength |
|00003ca0| 3e 20 31 30 30 20 29 20 | 7b 0d 0a 20 20 20 20 70 |> 100 ) |{.. p|
|00003cb0| 77 73 74 72 65 6e 67 74 | 68 20 3d 20 31 30 30 3b |wstrengt|h = 100;|
|00003cc0| 0d 0a 20 20 7d 0d 0a 0d | 0a 20 20 76 61 72 20 6d |.. }...|. var m|
|00003cd0| 79 6d 65 74 65 72 3d 64 | 6f 63 75 6d 65 6e 74 2e |ymeter=d|ocument.|
|00003ce0| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 27 |getEleme|ntById('|
|00003cf0| 70 77 6d 65 74 65 72 27 | 29 3b 0d 0a 20 20 6d 79 |pwmeter'|);.. my|
|00003d00| 6d 65 74 65 72 2e 73 65 | 74 41 74 74 72 69 62 75 |meter.se|tAttribu|
|00003d10| 74 65 28 22 76 61 6c 75 | 65 22 2c 70 77 73 74 72 |te("valu|e",pwstr|
|00003d20| 65 6e 67 74 68 29 3b 0d | 0a 0d 0a 20 20 72 65 74 |ength);.|... ret|
|00003d30| 75 72 6e 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |urn;..}.|...funct|
|00003d40| 69 6f 6e 20 63 68 65 63 | 6b 50 61 73 73 77 6f 72 |ion chec|kPasswor|
|00003d50| 64 73 28 29 0d 0a 7b 0d | 0a 20 20 76 61 72 20 70 |ds()..{.|. var p|
|00003d60| 77 31 3d 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 |w1=docum|ent.getE|
|00003d70| 6c 65 6d 65 6e 74 42 79 | 49 64 28 27 70 77 31 27 |lementBy|Id('pw1'|
|00003d80| 29 2e 76 61 6c 75 65 3b | 0d 0a 20 20 76 61 72 20 |).value;|.. var |
|00003d90| 70 77 32 3d 64 6f 63 75 | 6d 65 6e 74 2e 67 65 74 |pw2=docu|ment.get|
|00003da0| 45 6c 65 6d 65 6e 74 42 | 79 49 64 28 27 70 77 32 |ElementB|yId('pw2|
|00003db0| 27 29 2e 76 61 6c 75 65 | 3b 0d 0a 0d 0a 20 20 76 |').value|;.... v|
|00003dc0| 61 72 20 6f 6b 3d 64 6f | 63 75 6d 65 6e 74 2e 67 |ar ok=do|cument.g|
|00003dd0| 65 74 45 6c 65 6d 65 6e | 74 42 79 49 64 28 27 6f |etElemen|tById('o|
|00003de0| 6b 2d 62 75 74 74 6f 6e | 27 29 3b 0d 0a 0d 0a 20 |k-button|');.... |
|00003df0| 20 76 61 72 20 6f 6c 64 | 70 77 62 6f 78 20 3d 20 | var old|pwbox = |
|00003e00| 64 6f 63 75 6d 65 6e 74 | 2e 67 65 74 45 6c 65 6d |document|.getElem|
|00003e10| 65 6e 74 42 79 49 64 28 | 22 6f 6c 64 70 77 22 29 |entById(|"oldpw")|
|00003e20| 3b 0d 0a 20 20 69 66 20 | 28 6f 6c 64 70 77 62 6f |;.. if |(oldpwbo|
|00003e30| 78 29 20 7b 0d 0a 20 20 | 20 20 76 61 72 20 69 6e |x) {.. | var in|
|00003e40| 69 74 70 77 20 3d 20 6f | 6c 64 70 77 62 6f 78 2e |itpw = o|ldpwbox.|
|00003e50| 67 65 74 41 74 74 72 69 | 62 75 74 65 28 22 69 6e |getAttri|bute("in|
|00003e60| 69 74 65 64 22 29 3b 0d | 0a 0d 0a 20 20 20 20 69 |ited");.|... i|
|00003e70| 66 20 28 69 6e 69 74 70 | 77 20 3d 3d 20 22 65 6d |f (initp|w == "em|
|00003e80| 70 74 79 22 20 26 26 20 | 70 77 31 20 3d 3d 20 22 |pty" && |pw1 == "|
|00003e90| 22 29 20 7b 0d 0a 20 20 | 20 20 20 20 2f 2f 20 54 |") {.. | // T|
|00003ea0| 68 65 20 74 6f 6b 65 6e | 20 68 61 73 20 61 6c 72 |he token| has alr|
|00003eb0| 65 61 64 79 20 62 65 65 | 6e 20 69 6e 69 74 69 61 |eady bee|n initia|
|00003ec0| 6c 69 7a 65 64 2c 20 74 | 68 65 72 65 66 6f 72 65 |lized, t|herefore|
|00003ed0| 20 74 68 69 73 20 64 69 | 61 6c 6f 67 0d 0a 20 20 | this di|alog.. |
|00003ee0| 20 20 20 20 2f 2f 20 77 | 61 73 20 63 61 6c 6c 65 | // w|as calle|
|00003ef0| 64 20 77 69 74 68 20 74 | 68 65 20 69 6e 74 65 6e |d with t|he inten|
|00003f00| 74 69 6f 6e 20 74 6f 20 | 63 68 61 6e 67 65 20 74 |tion to |change t|
|00003f10| 68 65 20 70 61 73 73 77 | 6f 72 64 2e 0d 0a 20 20 |he passw|ord... |
|00003f20| 20 20 20 20 2f 2f 20 54 | 68 65 20 74 6f 6b 65 6e | // T|he token|
|00003f30| 20 63 75 72 72 65 6e 74 | 6c 79 20 75 73 65 73 20 | current|ly uses |
|00003f40| 61 6e 20 65 6d 70 74 79 | 20 70 61 73 73 77 6f 72 |an empty| passwor|
|00003f50| 64 2e 0d 0a 20 20 20 20 | 20 20 2f 2f 20 57 65 20 |d... | // We |
|00003f60| 77 69 6c 6c 20 6e 6f 74 | 20 61 6c 6c 6f 77 20 63 |will not| allow c|
|00003f70| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 70 61 73 73 |hanging |the pass|
|00003f80| 77 6f 72 64 20 66 72 6f | 6d 20 65 6d 70 74 79 20 |word fro|m empty |
|00003f90| 74 6f 20 65 6d 70 74 79 | 2e 0d 0a 20 20 20 20 20 |to empty|... |
|00003fa0| 20 6f 6b 2e 73 65 74 41 | 74 74 72 69 62 75 74 65 | ok.setA|ttribute|
|00003fb0| 28 22 64 69 73 61 62 6c | 65 64 22 2c 22 74 72 75 |("disabl|ed","tru|
|00003fc0| 65 22 29 3b 0d 0a 20 20 | 20 20 20 20 72 65 74 75 |e");.. | retu|
|00003fd0| 72 6e 3b 0d 0a 20 20 20 | 20 7d 0d 0a 20 20 7d 0d |rn;.. | }.. }.|
|00003fe0| 0a 0d 0a 20 20 69 66 20 | 28 70 77 31 20 3d 3d 20 |... if |(pw1 == |
|00003ff0| 70 77 32 29 7b 0d 0a 20 | 20 20 20 6f 6b 2e 73 65 |pw2){.. | ok.se|
|00004000| 74 41 74 74 72 69 62 75 | 74 65 28 22 64 69 73 61 |tAttribu|te("disa|
|00004010| 62 6c 65 64 22 2c 22 66 | 61 6c 73 65 22 29 3b 0d |bled","f|alse");.|
|00004020| 0a 20 20 7d 20 65 6c 73 | 65 0d 0a 20 20 7b 0d 0a |. } els|e.. {..|
|00004030| 20 20 20 20 6f 6b 2e 73 | 65 74 41 74 74 72 69 62 | ok.s|etAttrib|
|00004040| 75 74 65 28 22 64 69 73 | 61 62 6c 65 64 22 2c 22 |ute("dis|abled","|
|00004050| 74 72 75 65 22 29 3b 0d | 0a 20 20 7d 0d 0a 0d 0a |true");.|. }....|
|00004060| 7d 0d 0a 50 4b 03 04 0a | 00 00 00 00 00 ec 7a 79 |}..PK...|......zy|
|00004070| 31 bd 14 24 bf a2 08 00 | 00 a2 08 00 00 20 00 15 |1..$....|..... ..|
|00004080| 00 63 6f 6e 74 65 6e 74 | 2f 70 69 70 70 6b 69 2f |.content|/pippki/|
|00004090| 72 65 73 65 74 70 61 73 | 73 77 6f 72 64 2e 78 75 |resetpas|sword.xu|
|000040a0| 6c 55 54 09 00 03 6c 69 | a6 41 6e d3 8c 42 55 78 |lUT...li|.An..BUx|
|000040b0| 04 00 eb 03 01 02 3c 3f | 78 6d 6c 20 76 65 72 73 |......<?|xml vers|
|000040c0| 69 6f 6e 3d 22 31 2e 30 | 22 3f 3e 0d 0a 3c 21 2d |ion="1.0|"?>..<!-|
|000040d0| 2d 20 0d 0a 20 20 20 2d | 20 54 68 65 20 63 6f 6e |- .. -| The con|
|000040e0| 74 65 6e 74 73 20 6f 66 | 20 74 68 69 73 20 66 69 |tents of| this fi|
|000040f0| 6c 65 20 61 72 65 20 73 | 75 62 6a 65 63 74 20 74 |le are s|ubject t|
|00004100| 6f 20 74 68 65 20 4d 6f | 7a 69 6c 6c 61 20 50 75 |o the Mo|zilla Pu|
|00004110| 62 6c 69 63 0d 0a 20 20 | 20 2d 20 4c 69 63 65 6e |blic.. | - Licen|
|00004120| 73 65 20 56 65 72 73 69 | 6f 6e 20 31 2e 31 20 28 |se Versi|on 1.1 (|
|00004130| 74 68 65 20 22 4c 69 63 | 65 6e 73 65 22 29 3b 20 |the "Lic|ense"); |
|00004140| 79 6f 75 20 6d 61 79 20 | 6e 6f 74 20 75 73 65 20 |you may |not use |
|00004150| 74 68 69 73 20 66 69 6c | 65 0d 0a 20 20 20 2d 20 |this fil|e.. - |
|00004160| 65 78 63 65 70 74 20 69 | 6e 20 63 6f 6d 70 6c 69 |except i|n compli|
|00004170| 61 6e 63 65 20 77 69 74 | 68 20 74 68 65 20 4c 69 |ance wit|h the Li|
|00004180| 63 65 6e 73 65 2e 20 59 | 6f 75 20 6d 61 79 20 6f |cense. Y|ou may o|
|00004190| 62 74 61 69 6e 20 61 20 | 63 6f 70 79 20 6f 66 0d |btain a |copy of.|
|000041a0| 0a 20 20 20 2d 20 74 68 | 65 20 4c 69 63 65 6e 73 |. - th|e Licens|
|000041b0| 65 20 61 74 20 68 74 74 | 70 3a 2f 2f 77 77 77 2e |e at htt|p://www.|
|000041c0| 6d 6f 7a 69 6c 6c 61 2e | 6f 72 67 2f 4d 50 4c 2f |mozilla.|org/MPL/|
|000041d0| 0d 0a 20 20 20 2d 20 0d | 0a 20 20 20 2d 20 53 6f |.. - .|. - So|
|000041e0| 66 74 77 61 72 65 20 64 | 69 73 74 72 69 62 75 74 |ftware d|istribut|
|000041f0| 65 64 20 75 6e 64 65 72 | 20 74 68 65 20 4c 69 63 |ed under| the Lic|
|00004200| 65 6e 73 65 20 69 73 20 | 64 69 73 74 72 69 62 75 |ense is |distribu|
|00004210| 74 65 64 20 6f 6e 20 61 | 6e 20 22 41 53 0d 0a 20 |ted on a|n "AS.. |
|00004220| 20 20 2d 20 49 53 22 20 | 62 61 73 69 73 2c 20 57 | - IS" |basis, W|
|00004230| 49 54 48 4f 55 54 20 57 | 41 52 52 41 4e 54 59 20 |ITHOUT W|ARRANTY |
|00004240| 4f 46 20 41 4e 59 20 4b | 49 4e 44 2c 20 65 69 74 |OF ANY K|IND, eit|
|00004250| 68 65 72 20 65 78 70 72 | 65 73 73 20 6f 72 0d 0a |her expr|ess or..|
|00004260| 20 20 20 2d 20 69 6d 70 | 6c 69 65 64 2e 20 53 65 | - imp|lied. Se|
|00004270| 65 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 66 6f |e the Li|cense fo|
|00004280| 72 20 74 68 65 20 73 70 | 65 63 69 66 69 63 20 6c |r the sp|ecific l|
|00004290| 61 6e 67 75 61 67 65 20 | 67 6f 76 65 72 6e 69 6e |anguage |governin|
|000042a0| 67 0d 0a 20 20 20 2d 20 | 72 69 67 68 74 73 20 61 |g.. - |rights a|
|000042b0| 6e 64 20 6c 69 6d 69 74 | 61 74 69 6f 6e 73 20 75 |nd limit|ations u|
|000042c0| 6e 64 65 72 20 74 68 65 | 20 4c 69 63 65 6e 73 65 |nder the| License|
|000042d0| 2e 0d 0a 20 20 20 2d 20 | 0d 0a 20 20 20 2d 20 54 |... - |.. - T|
|000042e0| 68 65 20 4f 72 69 67 69 | 6e 61 6c 20 43 6f 64 65 |he Origi|nal Code|
|000042f0| 20 69 73 20 6d 6f 7a 69 | 6c 6c 61 2e 6f 72 67 20 | is mozi|lla.org |
|00004300| 63 6f 64 65 2e 0d 0a 20 | 20 20 2d 20 0d 0a 20 20 |code... | - .. |
|00004310| 20 2d 20 54 68 65 20 49 | 6e 69 74 69 61 6c 20 44 | - The I|nitial D|
|00004320| 65 76 65 6c 6f 70 65 72 | 20 6f 66 20 74 68 65 20 |eveloper| of the |
|00004330| 4f 72 69 67 69 6e 61 6c | 20 43 6f 64 65 20 69 73 |Original| Code is|
|00004340| 20 4e 65 74 73 63 61 70 | 65 0d 0a 20 20 20 2d 20 | Netscap|e.. - |
|00004350| 43 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 43 |Communic|ations C|
|00004360| 6f 72 70 2e 20 20 50 6f | 72 74 69 6f 6e 73 20 63 |orp. Po|rtions c|
|00004370| 72 65 61 74 65 64 20 62 | 79 20 4e 65 74 73 63 61 |reated b|y Netsca|
|00004380| 70 65 20 61 72 65 0d 0a | 20 20 20 2d 20 43 6f 70 |pe are..| - Cop|
|00004390| 79 72 69 67 68 74 20 28 | 43 29 20 32 30 30 31 20 |yright (|C) 2001 |
|000043a0| 4e 65 74 73 63 61 70 65 | 20 43 6f 6d 6d 75 6e 69 |Netscape| Communi|
|000043b0| 63 61 74 69 6f 6e 73 20 | 43 6f 72 70 2e 20 20 41 |cations |Corp. A|
|000043c0| 6c 6c 0d 0a 20 20 20 2d | 20 52 69 67 68 74 73 20 |ll.. -| Rights |
|000043d0| 52 65 73 65 72 76 65 64 | 2e 0d 0a 20 20 2d 2d 3e |Reserved|... -->|
|000043e0| 0d 0a 0d 0a 3c 3f 78 6d | 6c 2d 73 74 79 6c 65 73 |....<?xm|l-styles|
|000043f0| 68 65 65 74 20 68 72 65 | 66 3d 22 63 68 72 6f 6d |heet hre|f="chrom|
|00004400| 65 3a 2f 2f 67 6c 6f 62 | 61 6c 2f 73 6b 69 6e 2f |e://glob|al/skin/|
|00004410| 22 20 74 79 70 65 3d 22 | 74 65 78 74 2f 63 73 73 |" type="|text/css|
|00004420| 22 3f 3e 0d 0a 0d 0a 3c | 21 44 4f 43 54 59 50 45 |"?>....<|!DOCTYPE|
|00004430| 20 77 69 6e 64 6f 77 20 | 53 59 53 54 45 4d 20 22 | window |SYSTEM "|
|00004440| 63 68 72 6f 6d 65 3a 2f | 2f 70 69 70 70 6b 69 2f |chrome:/|/pippki/|
|00004450| 6c 6f 63 61 6c 65 2f 70 | 69 70 70 6b 69 2e 64 74 |locale/p|ippki.dt|
|00004460| 64 22 3e 0d 0a 0d 0a 3c | 3f 78 75 6c 2d 6f 76 65 |d">....<|?xul-ove|
|00004470| 72 6c 61 79 20 68 72 65 | 66 3d 22 63 68 72 6f 6d |rlay hre|f="chrom|
|00004480| 65 3a 2f 2f 67 6c 6f 62 | 61 6c 2f 63 6f 6e 74 65 |e://glob|al/conte|
|00004490| 6e 74 2f 64 69 61 6c 6f | 67 4f 76 65 72 6c 61 79 |nt/dialo|gOverlay|
|000044a0| 2e 78 75 6c 22 3f 3e 0d | 0a 0d 0a 3c 77 69 6e 64 |.xul"?>.|...<wind|
|000044b0| 6f 77 20 69 64 3d 22 72 | 65 73 65 74 5f 70 61 73 |ow id="r|eset_pas|
|000044c0| 73 77 6f 72 64 22 20 74 | 69 74 6c 65 3d 22 26 72 |sword" t|itle="&r|
|000044d0| 65 73 65 74 50 61 73 73 | 77 6f 72 64 2e 74 69 74 |esetPass|word.tit|
|000044e0| 6c 65 3b 22 0d 0a 20 20 | 78 6d 6c 6e 73 3d 22 68 |le;".. |xmlns="h|
|000044f0| 74 74 70 3a 2f 2f 77 77 | 77 2e 6d 6f 7a 69 6c 6c |ttp://ww|w.mozill|
|00004500| 61 2e 6f 72 67 2f 6b 65 | 79 6d 61 73 74 65 72 2f |a.org/ke|ymaster/|
|00004510| 67 61 74 65 6b 65 65 70 | 65 72 2f 74 68 65 72 65 |gatekeep|er/there|
|00004520| 2e 69 73 2e 6f 6e 6c 79 | 2e 78 75 6c 22 20 20 20 |.is.only|.xul" |
|00004530| 20 20 20 0d 0a 20 20 73 | 74 79 6c 65 3d 22 77 69 | .. s|tyle="wi|
|00004540| 64 74 68 3a 20 34 30 65 | 6d 3b 22 20 6f 6e 6c 6f |dth: 40e|m;" onlo|
|00004550| 61 64 3d 22 6f 6e 4c 6f | 61 64 28 29 3b 22 3e 0d |ad="onLo|ad();">.|
|00004560| 0a 0d 0a 20 20 3c 6b 65 | 79 73 65 74 20 69 64 3d |... <ke|yset id=|
|00004570| 22 6b 65 79 73 22 3e 0d | 0a 20 20 20 20 3c 6b 65 |"keys">.|. <ke|
|00004580| 79 20 69 64 3d 22 65 6e | 74 65 72 2d 6b 65 79 22 |y id="en|ter-key"|
|00004590| 20 20 6b 65 79 63 6f 64 | 65 3d 22 56 4b 5f 45 4e | keycod|e="VK_EN|
|000045a0| 54 45 52 22 20 20 6f 6e | 63 6f 6d 6d 61 6e 64 3d |TER" on|command=|
|000045b0| 22 77 69 6e 64 6f 77 2e | 63 6c 6f 73 65 28 29 3b |"window.|close();|
|000045c0| 22 2f 3e 0d 0a 20 20 20 | 20 3c 6b 65 79 20 69 64 |"/>.. | <key id|
|000045d0| 3d 22 72 65 74 75 72 6e | 2d 6b 65 79 22 20 6b 65 |="return|-key" ke|
|000045e0| 79 63 6f 64 65 3d 22 56 | 4b 5f 52 45 54 55 52 4e |ycode="V|K_RETURN|
|000045f0| 22 20 6f 6e 63 6f 6d 6d | 61 6e 64 3d 22 77 69 6e |" oncomm|and="win|
|00004600| 64 6f 77 2e 63 6c 6f 73 | 65 28 29 3b 22 2f 3e 0d |dow.clos|e();"/>.|
|00004610| 0a 20 20 20 20 3c 6b 65 | 79 20 69 64 3d 22 65 73 |. <ke|y id="es|
|00004620| 63 2d 6b 65 79 22 20 20 | 20 20 6b 65 79 63 6f 64 |c-key" | keycod|
|00004630| 65 3d 22 56 4b 5f 45 53 | 43 41 50 45 22 20 6f 6e |e="VK_ES|CAPE" on|
|00004640| 63 6f 6d 6d 61 6e 64 3d | 22 77 69 6e 64 6f 77 2e |command=|"window.|
|00004650| 63 6c 6f 73 65 28 29 3b | 22 2f 3e 0d 0a 20 20 3c |close();|"/>.. <|
|00004660| 2f 6b 65 79 73 65 74 3e | 0d 0a 0d 0a 20 20 3c 73 |/keyset>|.... <s|
|00004670| 74 72 69 6e 67 62 75 6e | 64 6c 65 20 69 64 3d 22 |tringbun|dle id="|
|00004680| 70 69 70 70 6b 69 5f 62 | 75 6e 64 6c 65 22 20 73 |pippki_b|undle" s|
|00004690| 72 63 3d 22 63 68 72 6f | 6d 65 3a 2f 2f 70 69 70 |rc="chro|me://pip|
|000046a0| 70 6b 69 2f 6c 6f 63 61 | 6c 65 2f 70 69 70 70 6b |pki/loca|le/pippk|
|000046b0| 69 2e 70 72 6f 70 65 72 | 74 69 65 73 22 2f 3e 0d |i.proper|ties"/>.|
|000046c0| 0a 0d 0a 20 20 3c 73 63 | 72 69 70 74 20 74 79 70 |... <sc|ript typ|
|000046d0| 65 3d 22 61 70 70 6c 69 | 63 61 74 69 6f 6e 2f 78 |e="appli|cation/x|
|000046e0| 2d 6a 61 76 61 73 63 72 | 69 70 74 22 20 73 72 63 |-javascr|ipt" src|
|000046f0| 3d 22 63 68 72 6f 6d 65 | 3a 2f 2f 70 69 70 70 6b |="chrome|://pippk|
|00004700| 69 2f 63 6f 6e 74 65 6e | 74 2f 70 69 70 70 6b 69 |i/conten|t/pippki|
|00004710| 2e 6a 73 22 2f 3e 0d 0a | 20 20 3c 73 63 72 69 70 |.js"/>..| <scrip|
|00004720| 74 20 74 79 70 65 3d 22 | 61 70 70 6c 69 63 61 74 |t type="|applicat|
|00004730| 69 6f 6e 2f 78 2d 6a 61 | 76 61 73 63 72 69 70 74 |ion/x-ja|vascript|
|00004740| 22 20 73 72 63 3d 22 63 | 68 72 6f 6d 65 3a 2f 2f |" src="c|hrome://|
|00004750| 68 65 6c 70 2f 63 6f 6e | 74 65 6e 74 2f 63 6f 6e |help/con|tent/con|
|00004760| 74 65 78 74 48 65 6c 70 | 2e 6a 73 22 2f 3e 0d 0a |textHelp|.js"/>..|
|00004770| 20 20 3c 73 63 72 69 70 | 74 20 74 79 70 65 3d 22 | <scrip|t type="|
|00004780| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2f 78 2d 6a 61 |applicat|ion/x-ja|
|00004790| 76 61 73 63 72 69 70 74 | 22 20 73 72 63 3d 22 63 |vascript|" src="c|
|000047a0| 68 72 6f 6d 65 3a 2f 2f | 70 69 70 70 6b 69 2f 63 |hrome://|pippki/c|
|000047b0| 6f 6e 74 65 6e 74 2f 72 | 65 73 65 74 70 61 73 73 |ontent/r|esetpass|
|000047c0| 77 6f 72 64 2e 6a 73 22 | 2f 3e 0d 0a 0d 0a 20 20 |word.js"|/>.... |
|000047d0| 3c 68 62 6f 78 20 66 6c | 65 78 3d 22 31 22 3e 0d |<hbox fl|ex="1">.|
|000047e0| 0a 20 20 20 20 3c 76 62 | 6f 78 3e 0d 0a 20 20 20 |. <vb|ox>.. |
|000047f0| 20 20 20 3c 69 6d 61 67 | 65 20 63 6c 61 73 73 3d | <imag|e class=|
|00004800| 22 61 6c 65 72 74 2d 69 | 63 6f 6e 22 20 73 74 79 |"alert-i|con" sty|
|00004810| 6c 65 3d 22 6d 61 72 67 | 69 6e 3a 20 35 70 78 3b |le="marg|in: 5px;|
|00004820| 22 2f 3e 0d 0a 20 20 20 | 20 3c 2f 76 62 6f 78 3e |"/>.. | </vbox>|
|00004830| 0d 0a 20 20 20 20 3c 76 | 62 6f 78 20 73 74 79 6c |.. <v|box styl|
|00004840| 65 3d 22 6d 61 72 67 69 | 6e 3a 20 35 70 78 3b 22 |e="margi|n: 5px;"|
|00004850| 20 66 6c 65 78 3d 22 31 | 22 3e 0d 0a 20 20 20 20 | flex="1|">.. |
|00004860| 20 20 3c 68 62 6f 78 20 | 66 6c 65 78 3d 22 31 22 | <hbox |flex="1"|
|00004870| 3e 0d 0a 20 20 20 20 20 | 20 20 20 3c 76 62 6f 78 |>.. | <vbox|
|00004880| 20 66 6c 65 78 3d 22 31 | 22 3e 0d 0a 20 20 20 20 | flex="1|">.. |
|00004890| 20 20 20 20 20 20 3c 64 | 65 73 63 72 69 70 74 69 | <d|escripti|
|000048a0| 6f 6e 3e 26 72 65 73 65 | 74 50 61 73 73 77 6f 72 |on>&rese|tPasswor|
|000048b0| 64 2e 74 65 78 74 3b 3c | 2f 64 65 73 63 72 69 70 |d.text;<|/descrip|
|000048c0| 74 69 6f 6e 3e 0d 0a 20 | 20 20 20 20 20 20 20 3c |tion>.. | <|
|000048d0| 2f 76 62 6f 78 3e 0d 0a | 20 20 20 20 20 20 3c 2f |/vbox>..| </|
|000048e0| 68 62 6f 78 3e 0d 0a 20 | 20 20 20 20 20 3c 73 65 |hbox>.. | <se|
|000048f0| 70 61 72 61 74 6f 72 20 | 63 6c 61 73 73 3d 22 74 |parator |class="t|
|00004900| 68 69 6e 22 2f 3e 0d 0a | 20 20 20 20 20 20 3c 68 |hin"/>..| <h|
|00004910| 62 6f 78 20 69 64 3d 22 | 6f 6b 43 61 6e 63 65 6c |box id="|okCancel|
|00004920| 48 65 6c 70 42 75 74 74 | 6f 6e 73 52 69 67 68 74 |HelpButt|onsRight|
|00004930| 22 2f 3e 0d 0a 20 20 20 | 20 3c 2f 76 62 6f 78 3e |"/>.. | </vbox>|
|00004940| 0d 0a 20 20 3c 2f 68 62 | 6f 78 3e 0d 0a 3c 2f 77 |.. </hb|ox>..</w|
|00004950| 69 6e 64 6f 77 3e 0d 0a | 50 4b 03 04 0a 00 00 00 |indow>..|PK......|
|00004960| 00 00 ec 7a 79 31 c0 c0 | 92 9e 8a 0b 00 00 8a 0b |...zy1..|........|
|00004970| 00 00 1f 00 15 00 63 6f | 6e 74 65 6e 74 2f 70 69 |......co|ntent/pi|
|00004980| 70 70 6b 69 2f 72 65 73 | 65 74 70 61 73 73 77 6f |ppki/res|etpasswo|
|00004990| 72 64 2e 6a 73 55 54 09 | 00 03 6c 69 a6 41 6e d3 |rd.jsUT.|..li.An.|
|000049a0| 8c 42 55 78 04 00 eb 03 | 01 02 2f 2a 0d 0a 20 2a |.BUx....|../*.. *|
|000049b0| 20 54 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | The con|tents of|
|000049c0| 20 74 68 69 73 20 66 69 | 6c 65 20 61 72 65 20 73 | this fi|le are s|
|000049d0| 75 62 6a 65 63 74 20 74 | 6f 20 74 68 65 20 4d 6f |ubject t|o the Mo|
|000049e0| 7a 69 6c 6c 61 20 50 75 | 62 6c 69 63 0d 0a 20 2a |zilla Pu|blic.. *|
|000049f0| 20 4c 69 63 65 6e 73 65 | 20 56 65 72 73 69 6f 6e | License| Version|
|00004a00| 20 31 2e 31 20 28 74 68 | 65 20 22 4c 69 63 65 6e | 1.1 (th|e "Licen|
|00004a10| 73 65 22 29 3b 20 79 6f | 75 20 6d 61 79 20 6e 6f |se"); yo|u may no|
|00004a20| 74 20 75 73 65 20 74 68 | 69 73 20 66 69 6c 65 0d |t use th|is file.|
|00004a30| 0a 20 2a 20 65 78 63 65 | 70 74 20 69 6e 20 63 6f |. * exce|pt in co|
|00004a40| 6d 70 6c 69 61 6e 63 65 | 20 77 69 74 68 20 74 68 |mpliance| with th|
|00004a50| 65 20 4c 69 63 65 6e 73 | 65 2e 20 59 6f 75 20 6d |e Licens|e. You m|
|00004a60| 61 79 20 6f 62 74 61 69 | 6e 20 61 20 63 6f 70 79 |ay obtai|n a copy|
|00004a70| 20 6f 66 0d 0a 20 2a 20 | 74 68 65 20 4c 69 63 65 | of.. * |the Lice|
|00004a80| 6e 73 65 20 61 74 20 68 | 74 74 70 3a 2f 2f 77 77 |nse at h|ttp://ww|
|00004a90| 77 2e 6d 6f 7a 69 6c 6c | 61 2e 6f 72 67 2f 4d 50 |w.mozill|a.org/MP|
|00004aa0| 4c 2f 0d 0a 20 2a 0d 0a | 20 2a 20 53 6f 66 74 77 |L/.. *..| * Softw|
|00004ab0| 61 72 65 20 64 69 73 74 | 72 69 62 75 74 65 64 20 |are dist|ributed |
|00004ac0| 75 6e 64 65 72 20 74 68 | 65 20 4c 69 63 65 6e 73 |under th|e Licens|
|00004ad0| 65 20 69 73 20 64 69 73 | 74 72 69 62 75 74 65 64 |e is dis|tributed|
|00004ae0| 20 6f 6e 20 61 6e 20 22 | 41 53 0d 0a 20 2a 20 49 | on an "|AS.. * I|
|00004af0| 53 22 20 62 61 73 69 73 | 2c 20 57 49 54 48 4f 55 |S" basis|, WITHOU|
|00004b00| 54 20 57 41 52 52 41 4e | 54 59 20 4f 46 20 41 4e |T WARRAN|TY OF AN|
|00004b10| 59 20 4b 49 4e 44 2c 20 | 65 69 74 68 65 72 20 65 |Y KIND, |either e|
|00004b20| 78 70 72 65 73 73 20 6f | 72 0d 0a 20 2a 20 69 6d |xpress o|r.. * im|
|00004b30| 70 6c 69 65 64 2e 20 53 | 65 65 20 74 68 65 20 4c |plied. S|ee the L|
|00004b40| 69 63 65 6e 73 65 20 66 | 6f 72 20 74 68 65 20 73 |icense f|or the s|
|00004b50| 70 65 63 69 66 69 63 20 | 6c 61 6e 67 75 61 67 65 |pecific |language|
|00004b60| 20 67 6f 76 65 72 6e 69 | 6e 67 0d 0a 20 2a 20 72 | governi|ng.. * r|
|00004b70| 69 67 68 74 73 20 61 6e | 64 20 6c 69 6d 69 74 61 |ights an|d limita|
|00004b80| 74 69 6f 6e 73 20 75 6e | 64 65 72 20 74 68 65 20 |tions un|der the |
|00004b90| 4c 69 63 65 6e 73 65 2e | 0d 0a 20 2a 0d 0a 20 2a |License.|.. *.. *|
|00004ba0| 20 54 68 65 20 4f 72 69 | 67 69 6e 61 6c 20 43 6f | The Ori|ginal Co|
|00004bb0| 64 65 20 69 73 20 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |de is mo|zilla.or|
|00004bc0| 67 20 63 6f 64 65 2e 0d | 0a 20 2a 0d 0a 20 2a 20 |g code..|. *.. * |
|00004bd0| 54 68 65 20 49 6e 69 74 | 69 61 6c 20 44 65 76 65 |The Init|ial Deve|
|00004be0| 6c 6f 70 65 72 20 6f 66 | 20 74 68 65 20 4f 72 69 |loper of| the Ori|
|00004bf0| 67 69 6e 61 6c 20 43 6f | 64 65 20 69 73 20 4e 65 |ginal Co|de is Ne|
|00004c00| 74 73 63 61 70 65 0d 0a | 20 2a 20 43 6f 6d 6d 75 |tscape..| * Commu|
|00004c10| 6e 69 63 61 74 69 6f 6e | 73 20 43 6f 72 70 6f 72 |nication|s Corpor|
|00004c20| 61 74 69 6f 6e 2e 20 20 | 50 6f 72 74 69 6f 6e 73 |ation. |Portions|
|00004c30| 20 63 72 65 61 74 65 64 | 20 62 79 20 4e 65 74 73 | created| by Nets|
|00004c40| 63 61 70 65 20 61 72 65 | 0d 0a 20 2a 20 43 6f 70 |cape are|.. * Cop|
|00004c50| 79 72 69 67 68 74 20 28 | 43 29 20 32 30 30 31 20 |yright (|C) 2001 |
|00004c60| 4e 65 74 73 63 61 70 65 | 20 43 6f 6d 6d 75 6e 69 |Netscape| Communi|
|00004c70| 63 61 74 69 6f 6e 73 20 | 43 6f 72 70 6f 72 61 74 |cations |Corporat|
|00004c80| 69 6f 6e 2e 20 41 6c 6c | 0d 0a 20 2a 20 52 69 67 |ion. All|.. * Rig|
|00004c90| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 0d 0a 20 |hts Rese|rved... |
|00004ca0| 2a 2f 0d 0a 0d 0a 63 6f | 6e 73 74 20 6e 73 50 4b |*/....co|nst nsPK|
|00004cb0| 31 31 54 6f 6b 65 6e 44 | 42 20 3d 20 22 40 6d 6f |11TokenD|B = "@mo|
|00004cc0| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 73 65 63 75 72 69 |zilla.or|g/securi|
|00004cd0| 74 79 2f 70 6b 31 31 74 | 6f 6b 65 6e 64 62 3b 31 |ty/pk11t|okendb;1|
|00004ce0| 22 3b 0d 0a 63 6f 6e 73 | 74 20 6e 73 49 50 4b 31 |";..cons|t nsIPK1|
|00004cf0| 31 54 6f 6b 65 6e 44 42 | 20 3d 20 43 6f 6d 70 6f |1TokenDB| = Compo|
|00004d00| 6e 65 6e 74 73 2e 69 6e | 74 65 72 66 61 63 65 73 |nents.in|terfaces|
|00004d10| 2e 6e 73 49 50 4b 31 31 | 54 6f 6b 65 6e 44 42 3b |.nsIPK11|TokenDB;|
|00004d20| 0d 0a 0d 0a 76 61 72 20 | 74 6f 6b 65 6e 4e 61 6d |....var |tokenNam|
|00004d30| 65 3b 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 6f |e;....fu|nction o|
|00004d40| 6e 4c 6f 61 64 28 29 0d | 0a 7b 0d 0a 20 20 69 66 |nLoad().|.{.. if|
|00004d50| 20 28 22 61 72 67 75 6d | 65 6e 74 73 22 20 69 6e | ("argum|ents" in|
|00004d60| 20 77 69 6e 64 6f 77 29 | 20 7b 0d 0a 20 20 20 20 | window)| {.. |
|00004d70| 76 61 72 20 70 61 72 61 | 6d 73 20 3d 20 77 69 6e |var para|ms = win|
|00004d80| 64 6f 77 2e 61 72 67 75 | 6d 65 6e 74 73 5b 30 5d |dow.argu|ments[0]|
|00004d90| 2e 51 75 65 72 79 49 6e | 74 65 72 66 61 63 65 28 |.QueryIn|terface(|
|00004da0| 6e 73 49 44 69 61 6c 6f | 67 50 61 72 61 6d 42 6c |nsIDialo|gParamBl|
|00004db0| 6f 63 6b 29 3b 0d 0a 20 | 20 20 20 74 6f 6b 65 6e |ock);.. | token|
|00004dc0| 4e 61 6d 65 20 3d 20 70 | 61 72 61 6d 73 2e 47 65 |Name = p|arams.Ge|
|00004dd0| 74 53 74 72 69 6e 67 28 | 31 29 3b 0d 0a 20 20 7d |tString(|1);.. }|
|00004de0| 20 65 6c 73 65 20 7b 0d | 0a 20 20 20 20 74 6f 6b | else {.|. tok|
|00004df0| 65 6e 4e 61 6d 65 20 3d | 20 73 65 6c 66 2e 6e 61 |enName =| self.na|
|00004e00| 6d 65 3b 0d 0a 20 20 7d | 0d 0a 0d 0a 20 20 76 61 |me;.. }|.... va|
|00004e10| 72 20 6f 6b 42 75 74 74 | 6f 6e 20 3d 20 64 6f 63 |r okButt|on = doc|
|00004e20| 75 6d 65 6e 74 2e 67 65 | 74 45 6c 65 6d 65 6e 74 |ument.ge|tElement|
|00004e30| 42 79 49 64 28 22 6f 6b | 22 29 3b 0d 0a 20 20 76 |ById("ok|");.. v|
|00004e40| 61 72 20 63 61 6e 63 65 | 6c 42 75 74 74 6f 6e 20 |ar cance|lButton |
|00004e50| 3d 20 64 6f 63 75 6d 65 | 6e 74 2e 67 65 74 45 6c |= docume|nt.getEl|
|00004e60| 65 6d 65 6e 74 42 79 49 | 64 28 22 63 61 6e 63 65 |ementByI|d("cance|
|00004e70| 6c 22 29 3b 0d 0a 20 20 | 76 61 72 20 68 65 6c 70 |l");.. |var help|
|00004e80| 42 75 74 74 6f 6e 20 3d | 20 64 6f 63 75 6d 65 6e |Button =| documen|
|00004e90| 74 2e 67 65 74 45 6c 65 | 6d 65 6e 74 42 79 49 64 |t.getEle|mentById|
|00004ea0| 28 22 68 65 6c 70 22 29 | 3b 0d 0a 20 20 0d 0a 20 |("help")|;.. .. |
|00004eb0| 20 76 61 72 20 62 75 6e | 64 6c 65 20 3d 20 64 6f | var bun|dle = do|
|00004ec0| 63 75 6d 65 6e 74 2e 67 | 65 74 45 6c 65 6d 65 6e |cument.g|etElemen|
|00004ed0| 74 42 79 49 64 28 22 70 | 69 70 70 6b 69 5f 62 75 |tById("p|ippki_bu|
|00004ee0| 6e 64 6c 65 22 29 3b 0d | 0a 0d 0a 20 20 64 6f 53 |ndle");.|... doS|
|00004ef0| 65 74 4f 4b 43 61 6e 63 | 65 6c 28 72 65 73 65 74 |etOKCanc|el(reset|
|00004f00| 50 61 73 73 77 6f 72 64 | 2c 20 6e 75 6c 6c 2c 20 |Password|, null, |
|00004f10| 6e 75 6c 6c 2c 20 6e 75 | 6c 6c 29 3b 0d 0a 0d 0a |null, nu|ll);....|
|00004f20| 20 20 69 66 20 28 6f 6b | 42 75 74 74 6f 6e 20 26 | if (ok|Button &|
|00004f30| 26 20 63 61 6e 63 65 6c | 42 75 74 74 6f 6e 20 26 |& cancel|Button &|
|00004f40| 26 20 62 75 6e 64 6c 65 | 29 20 7b 0d 0a 20 20 20 |& bundle|) {.. |
|00004f50| 20 6f 6b 42 75 74 74 6f | 6e 2e 73 65 74 41 74 74 | okButto|n.setAtt|
|00004f60| 72 69 62 75 74 65 28 22 | 6c 61 62 65 6c 22 2c 20 |ribute("|label", |
|00004f70| 62 75 6e 64 6c 65 2e 67 | 65 74 53 74 72 69 6e 67 |bundle.g|etString|
|00004f80| 28 22 72 65 73 65 74 50 | 61 73 73 77 6f 72 64 42 |("resetP|asswordB|
|00004f90| 75 74 74 6f 6e 4c 61 62 | 65 6c 22 29 29 3b 0d 0a |uttonLab|el"));..|
|00004fa0| 20 20 20 20 6f 6b 42 75 | 74 74 6f 6e 2e 72 65 6d | okBu|tton.rem|
|00004fb0| 6f 76 65 41 74 74 72 69 | 62 75 74 65 28 22 64 65 |oveAttri|bute("de|
|00004fc0| 66 61 75 6c 74 22 29 3b | 0d 0a 20 20 20 20 63 61 |fault");|.. ca|
|00004fd0| 6e 63 65 6c 42 75 74 74 | 6f 6e 2e 73 65 74 41 74 |ncelButt|on.setAt|
|00004fe0| 74 72 69 62 75 74 65 28 | 22 64 65 66 61 75 6c 74 |tribute(|"default|
|00004ff0| 22 2c 20 22 74 72 75 65 | 22 29 3b 0d 0a 20 20 20 |", "true|");.. |
|00005000| 20 63 61 6e 63 65 6c 42 | 75 74 74 6f 6e 2e 66 6f | cancelB|utton.fo|
|00005010| 63 75 73 28 29 3b 0d 0a | 20 20 7d 0d 0a 7d 0d 0a |cus();..| }..}..|
|00005020| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 72 65 73 65 74 |..functi|on reset|
|00005030| 50 61 73 73 77 6f 72 64 | 28 29 0d 0a 7b 0d 0a 20 |Password|()..{.. |
|00005040| 20 76 61 72 20 70 6b 31 | 31 64 62 20 3d 20 43 6f | var pk1|1db = Co|
|00005050| 6d 70 6f 6e 65 6e 74 73 | 2e 63 6c 61 73 73 65 73 |mponents|.classes|
|00005060| 5b 6e 73 50 4b 31 31 54 | 6f 6b 65 6e 44 42 5d 2e |[nsPK11T|okenDB].|
|00005070| 67 65 74 53 65 72 76 69 | 63 65 28 6e 73 49 50 4b |getServi|ce(nsIPK|
|00005080| 31 31 54 6f 6b 65 6e 44 | 42 29 3b 0d 0a 20 20 76 |11TokenD|B);.. v|
|00005090| 61 72 20 74 6f 6b 65 6e | 20 3d 20 70 6b 31 31 64 |ar token| = pk11d|
|000050a0| 62 2e 66 69 6e 64 54 6f | 6b 65 6e 42 79 4e 61 6d |b.findTo|kenByNam|
|000050b0| 65 28 74 6f 6b 65 6e 4e | 61 6d 65 29 3b 0d 0a 20 |e(tokenN|ame);.. |
|000050c0| 20 74 6f 6b 65 6e 2e 72 | 65 73 65 74 28 29 3b 0d | token.r|eset();.|
|000050d0| 0a 0d 0a 20 20 76 61 72 | 20 70 72 65 66 20 3d 20 |... var| pref = |
|000050e0| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 63 6c 61 73 73 |Componen|ts.class|
|000050f0| 65 73 5b 27 40 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |es['@moz|illa.org|
|00005100| 2f 70 72 65 66 65 72 65 | 6e 63 65 73 2d 73 65 72 |/prefere|nces-ser|
|00005110| 76 69 63 65 3b 31 27 5d | 2e 67 65 74 53 65 72 76 |vice;1']|.getServ|
|00005120| 69 63 65 28 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 69 |ice(Comp|onents.i|
|00005130| 6e 74 65 72 66 61 63 65 | 73 2e 6e 73 49 50 72 65 |nterface|s.nsIPre|
|00005140| 66 53 65 72 76 69 63 65 | 29 3b 0d 0a 20 20 69 66 |fService|);.. if|
|00005150| 20 28 70 72 65 66 29 20 | 7b 0d 0a 20 20 20 20 70 | (pref) |{.. p|
|00005160| 72 65 66 20 3d 20 70 72 | 65 66 2e 67 65 74 42 72 |ref = pr|ef.getBr|
|00005170| 61 6e 63 68 28 6e 75 6c | 6c 29 3b 0d 0a 20 20 20 |anch(nul|l);.. |
|00005180| 20 74 72 79 20 7b 0d 0a | 20 20 20 20 20 20 69 66 | try {..| if|
|00005190| 20 28 70 72 65 66 2e 67 | 65 74 42 6f 6f 6c 50 72 | (pref.g|etBoolPr|
|000051a0| 65 66 28 22 77 61 6c 6c | 65 74 2e 63 72 79 70 74 |ef("wall|et.crypt|
|000051b0| 6f 22 29 29 20 7b 0d 0a | 20 20 20 20 20 20 20 20 |o")) {..| |
|000051c0| 2f 2f 20 64 61 74 61 20 | 69 6e 20 77 61 6c 6c 65 |// data |in walle|
|000051d0| 74 20 69 73 20 65 6e 63 | 72 79 70 74 65 64 2c 20 |t is enc|rypted, |
|000051e0| 63 6c 65 61 72 20 69 74 | 0d 0a 20 20 20 20 20 20 |clear it|.. |
|000051f0| 20 20 76 61 72 20 77 61 | 6c 6c 65 74 20 3d 20 43 | var wa|llet = C|
|00005200| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 63 6c 61 73 73 65 |omponent|s.classe|
|00005210| 73 5b 27 40 6d 6f 7a 69 | 6c 6c 61 2e 6f 72 67 2f |s['@mozi|lla.org/|
|00005220| 77 61 6c 6c 65 74 2f 77 | 61 6c 6c 65 74 2d 73 65 |wallet/w|allet-se|
|00005230| 72 76 69 63 65 3b 31 27 | 5d 3b 0d 0a 20 20 20 20 |rvice;1'|];.. |
|00005240| 20 20 20 20 69 66 20 28 | 77 61 6c 6c 65 74 29 20 | if (|wallet) |
|00005250| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 77 61 6c |{.. | wal|
|00005260| 6c 65 74 20 3d 20 77 61 | 6c 6c 65 74 2e 67 65 74 |let = wa|llet.get|
|00005270| 53 65 72 76 69 63 65 28 | 43 6f 6d 70 6f 6e 65 6e |Service(|Componen|
|00005280| 74 73 2e 69 6e 74 65 72 | 66 61 63 65 73 2e 6e 73 |ts.inter|faces.ns|
|00005290| 49 57 61 6c 6c 65 74 53 | 65 72 76 69 63 65 29 3b |IWalletS|ervice);|
|000052a0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 77 61 6c 6c |.. | wall|
|000052b0| 65 74 2e 57 41 4c 4c 45 | 54 5f 44 65 6c 65 74 65 |et.WALLE|T_Delete|
|000052c0| 41 6c 6c 28 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |All();..| |
|000052d0| 7d 0d 0a 20 20 20 20 20 | 20 7d 0d 0a 20 20 20 20 |}.. | }.. |
|000052e0| 7d 0d 0a 20 20 20 20 63 | 61 74 63 68 28 65 29 20 |}.. c|atch(e) |
|000052f0| 7b 0d 0a 20 20 20 20 20 | 20 2f 2f 20 77 61 6c 6c |{.. | // wall|
|00005300| 65 74 2e 63 72 79 70 74 | 6f 20 70 72 65 66 20 69 |et.crypt|o pref i|
|00005310| 73 20 6d 69 73 73 69 6e | 67 0d 0a 20 20 20 20 7d |s missin|g.. }|
|00005320| 0d 0a 20 20 7d 0d 0a 0d | 0a 20 20 76 61 72 20 62 |.. }...|. var b|
|00005330| 75 6e 64 6c 65 20 3d 20 | 64 6f 63 75 6d 65 6e 74 |undle = |document|
|00005340| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00005350| 22 70 69 70 70 6b 69 5f | 62 75 6e 64 6c 65 22 29 |"pippki_|bundle")|
|00005360| 3b 0d 0a 20 20 76 61 72 | 20 70 72 6f 6d 70 74 53 |;.. var| promptS|
|00005370| 65 72 76 69 63 65 20 3d | 20 43 6f 6d 70 6f 6e 65 |ervice =| Compone|
|00005380| 6e 74 73 2e 63 6c 61 73 | 73 65 73 5b 22 40 6d 6f |nts.clas|ses["@mo|
|00005390| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 65 6d 62 65 64 63 |zilla.or|g/embedc|
|000053a0| 6f 6d 70 2f 70 72 6f 6d | 70 74 2d 73 65 72 76 69 |omp/prom|pt-servi|
|000053b0| 63 65 3b 31 22 5d 2e 67 | 65 74 53 65 72 76 69 63 |ce;1"].g|etServic|
|000053c0| 65 28 29 3b 0d 0a 20 20 | 70 72 6f 6d 70 74 53 65 |e();.. |promptSe|
|000053d0| 72 76 69 63 65 20 3d 20 | 70 72 6f 6d 70 74 53 65 |rvice = |promptSe|
|000053e0| 72 76 69 63 65 2e 51 75 | 65 72 79 49 6e 74 65 72 |rvice.Qu|eryInter|
|000053f0| 66 61 63 65 28 43 6f 6d | 70 6f 6e 65 6e 74 73 2e |face(Com|ponents.|
|00005400| 69 6e 74 65 72 66 61 63 | 65 73 2e 6e 73 49 50 72 |interfac|es.nsIPr|
|00005410| 6f 6d 70 74 53 65 72 76 | 69 63 65 29 3b 0d 0a 20 |omptServ|ice);.. |
|00005420| 20 69 66 20 28 70 72 6f | 6d 70 74 53 65 72 76 69 | if (pro|mptServi|
|00005430| 63 65 20 26 26 20 62 75 | 6e 64 6c 65 29 20 7b 0d |ce && bu|ndle) {.|
|00005440| 0a 20 20 20 20 70 72 6f | 6d 70 74 53 65 72 76 69 |. pro|mptServi|
|00005450| 63 65 2e 61 6c 65 72 74 | 28 77 69 6e 64 6f 77 2c |ce.alert|(window,|
|00005460| 0d 0a 20 20 20 20 20 20 | 62 75 6e 64 6c 65 2e 67 |.. |bundle.g|
|00005470| 65 74 53 74 72 69 6e 67 | 28 22 72 65 73 65 74 50 |etString|("resetP|
|00005480| 61 73 73 77 6f 72 64 43 | 6f 6e 66 69 72 6d 61 74 |asswordC|onfirmat|
|00005490| 69 6f 6e 54 69 74 6c 65 | 22 29 2c 20 0d 0a 20 20 |ionTitle|"), .. |
|000054a0| 20 20 20 20 62 75 6e 64 | 6c 65 2e 67 65 74 53 74 | bund|le.getSt|
|000054b0| 72 69 6e 67 28 22 72 65 | 73 65 74 50 61 73 73 77 |ring("re|setPassw|
|000054c0| 6f 72 64 43 6f 6e 66 69 | 72 6d 61 74 69 6f 6e 4d |ordConfi|rmationM|
|000054d0| 65 73 73 61 67 65 22 29 | 29 3b 0d 0a 20 20 7d 0d |essage")|);.. }.|
|000054e0| 0a 0d 0a 20 20 77 69 6e | 64 6f 77 2e 63 6c 6f 73 |... win|dow.clos|
|000054f0| 65 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |e();..}.|...funct|
|00005500| 69 6f 6e 20 64 6f 48 65 | 6c 70 42 75 74 74 6f 6e |ion doHe|lpButton|
|00005510| 28 29 0d 0a 7b 0d 0a 20 | 20 6f 70 65 6e 48 65 6c |()..{.. | openHel|
|00005520| 70 28 27 72 65 73 65 74 | 5f 70 77 64 27 29 3b 0d |p('reset|_pwd');.|
|00005530| 0a 7d 0d 0a 50 4b 03 04 | 0a 00 00 00 00 00 ec 7a |.}..PK..|.......z|
|00005540| 79 31 57 c4 eb 66 e5 07 | 00 00 e5 07 00 00 1e 00 |y1W..f..|........|
|00005550| 15 00 63 6f 6e 74 65 6e | 74 2f 70 69 70 70 6b 69 |..conten|t/pippki|
|00005560| 2f 50 72 65 66 4f 76 65 | 72 6c 61 79 2e 78 75 6c |/PrefOve|rlay.xul|
|00005570| 55 54 09 00 03 6c 69 a6 | 41 6e d3 8c 42 55 78 04 |UT...li.|An..BUx.|
|00005580| 00 eb 03 01 02 3c 3f 78 | 6d 6c 20 76 65 72 73 69 |.....<?x|ml versi|
|00005590| 6f 6e 3d 22 31 2e 30 22 | 3f 3e 0d 0a 3c 21 2d 2d |on="1.0"|?>..<!--|
|000055a0| 20 0d 0a 20 20 20 2d 20 | 54 68 65 20 63 6f 6e 74 | .. - |The cont|
|000055b0| 65 6e 74 73 20 6f 66 20 | 74 68 69 73 20 66 69 6c |ents of |this fil|
|000055c0| 65 20 61 72 65 20 73 75 | 62 6a 65 63 74 20 74 6f |e are su|bject to|
|000055d0| 20 74 68 65 20 4d 6f 7a | 69 6c 6c 61 20 50 75 62 | the Moz|illa Pub|
|000055e0| 6c 69 63 0d 0a 20 20 20 | 2d 20 4c 69 63 65 6e 73 |lic.. |- Licens|
|000055f0| 65 20 56 65 72 73 69 6f | 6e 20 31 2e 31 20 28 74 |e Versio|n 1.1 (t|
|00005600| 68 65 20 22 4c 69 63 65 | 6e 73 65 22 29 3b 20 79 |he "Lice|nse"); y|
|00005610| 6f 75 20 6d 61 79 20 6e | 6f 74 20 75 73 65 20 74 |ou may n|ot use t|
|00005620| 68 69 73 20 66 69 6c 65 | 0d 0a 20 20 20 2d 20 65 |his file|.. - e|
|00005630| 78 63 65 70 74 20 69 6e | 20 63 6f 6d 70 6c 69 61 |xcept in| complia|
|00005640| 6e 63 65 20 77 69 74 68 | 20 74 68 65 20 4c 69 63 |nce with| the Lic|
|00005650| 65 6e 73 65 2e 20 59 6f | 75 20 6d 61 79 20 6f 62 |ense. Yo|u may ob|
|00005660| 74 61 69 6e 20 61 20 63 | 6f 70 79 20 6f 66 0d 0a |tain a c|opy of..|
|00005670| 20 20 20 2d 20 74 68 65 | 20 4c 69 63 65 6e 73 65 | - the| License|
|00005680| 20 61 74 20 68 74 74 70 | 3a 2f 2f 77 77 77 2e 6d | at http|://www.m|
|00005690| 6f 7a 69 6c 6c 61 2e 6f | 72 67 2f 4d 50 4c 2f 0d |ozilla.o|rg/MPL/.|
|000056a0| 0a 20 20 20 2d 20 0d 0a | 20 20 20 2d 20 53 6f 66 |. - ..| - Sof|
|000056b0| 74 77 61 72 65 20 64 69 | 73 74 72 69 62 75 74 65 |tware di|stribute|
|000056c0| 64 20 75 6e 64 65 72 20 | 74 68 65 20 4c 69 63 65 |d under |the Lice|
|000056d0| 6e 73 65 20 69 73 20 64 | 69 73 74 72 69 62 75 74 |nse is d|istribut|
|000056e0| 65 64 20 6f 6e 20 61 6e | 20 22 41 53 0d 0a 20 20 |ed on an| "AS.. |
|000056f0| 20 2d 20 49 53 22 20 62 | 61 73 69 73 2c 20 57 49 | - IS" b|asis, WI|
|00005700| 54 48 4f 55 54 20 57 41 | 52 52 41 4e 54 59 20 4f |THOUT WA|RRANTY O|
|00005710| 46 20 41 4e 59 20 4b 49 | 4e 44 2c 20 65 69 74 68 |F ANY KI|ND, eith|
|00005720| 65 72 20 65 78 70 72 65 | 73 73 20 6f 72 0d 0a 20 |er expre|ss or.. |
|00005730| 20 20 2d 20 69 6d 70 6c | 69 65 64 2e 20 53 65 65 | - impl|ied. See|
|00005740| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 | the Lic|ense for|
|00005750| 20 74 68 65 20 73 70 65 | 63 69 66 69 63 20 6c 61 | the spe|cific la|
|00005760| 6e 67 75 61 67 65 20 67 | 6f 76 65 72 6e 69 6e 67 |nguage g|overning|
|00005770| 0d 0a 20 20 20 2d 20 72 | 69 67 68 74 73 20 61 6e |.. - r|ights an|
|00005780| 64 20 6c 69 6d 69 74 61 | 74 69 6f 6e 73 20 75 6e |d limita|tions un|
|00005790| 64 65 72 20 74 68 65 20 | 4c 69 63 65 6e 73 65 2e |der the |License.|
|000057a0| 0d 0a 20 20 20 2d 20 0d | 0a 20 20 20 2d 20 54 68 |.. - .|. - Th|
|000057b0| 65 20 4f 72 69 67 69 6e | 61 6c 20 43 6f 64 65 20 |e Origin|al Code |
|000057c0| 69 73 20 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 20 63 |is mozil|la.org c|
|000057d0| 6f 64 65 2e 0d 0a 20 20 | 20 2d 20 0d 0a 20 20 20 |ode... | - .. |
|000057e0| 2d 20 54 68 65 20 49 6e | 69 74 69 61 6c 20 44 65 |- The In|itial De|
|000057f0| 76 65 6c 6f 70 65 72 20 | 6f 66 20 74 68 65 20 4f |veloper |of the O|
|00005800| 72 69 67 69 6e 61 6c 20 | 43 6f 64 65 20 69 73 20 |riginal |Code is |
|00005810| 4e 65 74 73 63 61 70 65 | 0d 0a 20 20 20 2d 20 43 |Netscape|.. - C|
|00005820| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 20 43 6f |ommunica|tions Co|
|00005830| 72 70 2e 20 20 50 6f 72 | 74 69 6f 6e 73 20 63 72 |rp. Por|tions cr|
|00005840| 65 61 74 65 64 20 62 79 | 20 4e 65 74 73 63 61 70 |eated by| Netscap|
|00005850| 65 20 61 72 65 0d 0a 20 | 20 20 2d 20 43 6f 70 79 |e are.. | - Copy|
|00005860| 72 69 67 68 74 20 28 43 | 29 20 32 30 30 31 20 4e |right (C|) 2001 N|
|00005870| 65 74 73 63 61 70 65 20 | 43 6f 6d 6d 75 6e 69 63 |etscape |Communic|
|00005880| 61 74 69 6f 6e 73 20 43 | 6f 72 70 2e 20 20 41 6c |ations C|orp. Al|
|00005890| 6c 0d 0a 20 20 20 2d 20 | 52 69 67 68 74 73 20 52 |l.. - |Rights R|
|000058a0| 65 73 65 72 76 65 64 2e | 0d 0a 20 20 20 2d 20 0d |eserved.|.. - .|
|000058b0| 0a 20 20 20 2d 20 43 6f | 6e 74 72 69 62 75 74 6f |. - Co|ntributo|
|000058c0| 72 28 73 29 3a 0d 0a 20 | 20 20 2d 20 20 20 54 65 |r(s):.. | - Te|
|000058d0| 72 72 79 20 48 61 79 65 | 73 20 3c 74 68 61 79 65 |rry Haye|s <thaye|
|000058e0| 73 40 6e 65 74 73 63 61 | 70 65 2e 63 6f 6d 3e 0d |s@netsca|pe.com>.|
|000058f0| 0a 20 20 2d 2d 3e 0d 0a | 0d 0a 3c 21 2d 2d 20 54 |. -->..|..<!-- T|
|00005900| 68 69 73 20 66 69 6c 65 | 20 6f 76 65 72 6c 61 79 |his file| overlay|
|00005910| 73 20 22 63 68 72 6f 6d | 65 3a 2f 2f 63 6f 6d 6d |s "chrom|e://comm|
|00005920| 75 6e 69 63 61 74 6f 72 | 2f 63 6f 6e 74 65 6e 74 |unicator|/content|
|00005930| 2f 70 72 65 66 2f 70 72 | 65 66 74 72 65 65 2e 78 |/pref/pr|eftree.x|
|00005940| 75 6c 22 20 2d 2d 3e 0d | 0a 0d 0a 3c 21 44 4f 43 |ul" -->.|...<!DOC|
|00005950| 54 59 50 45 20 6f 76 65 | 72 6c 61 79 20 53 59 53 |TYPE ove|rlay SYS|
|00005960| 54 45 4d 20 22 63 68 72 | 6f 6d 65 3a 2f 2f 70 69 |TEM "chr|ome://pi|
|00005970| 70 70 6b 69 2f 6c 6f 63 | 61 6c 65 2f 50 72 65 66 |ppki/loc|ale/Pref|
|00005980| 4f 76 65 72 6c 61 79 2e | 64 74 64 22 3e 0d 0a 0d |Overlay.|dtd">...|
|00005990| 0a 3c 6f 76 65 72 6c 61 | 79 20 69 64 3d 22 70 69 |.<overla|y id="pi|
|000059a0| 70 50 72 65 66 4f 76 65 | 72 6c 61 79 49 44 22 0d |pPrefOve|rlayID".|
|000059b0| 0a 20 20 20 20 20 20 20 | 20 20 78 6d 6c 6e 73 3d |. | xmlns=|
|000059c0| 22 68 74 74 70 3a 2f 2f | 77 77 77 2e 6d 6f 7a 69 |"http://|www.mozi|
|000059d0| 6c 6c 61 2e 6f 72 67 2f | 6b 65 79 6d 61 73 74 65 |lla.org/|keymaste|
|000059e0| 72 2f 67 61 74 65 6b 65 | 65 70 65 72 2f 74 68 65 |r/gateke|eper/the|
|000059f0| 72 65 2e 69 73 2e 6f 6e | 6c 79 2e 78 75 6c 22 3e |re.is.on|ly.xul">|
|00005a00| 0d 0a 0d 0a 20 20 3c 74 | 72 65 65 63 68 69 6c 64 |.... <t|reechild|
|00005a10| 72 65 6e 20 69 64 3d 22 | 73 65 63 75 72 69 74 79 |ren id="|security|
|00005a20| 43 68 69 6c 64 72 65 6e | 22 3e 0d 0a 20 20 20 20 |Children|">.. |
|00005a30| 3c 74 72 65 65 69 74 65 | 6d 20 69 64 3d 22 6d 61 |<treeite|m id="ma|
|00005a40| 73 74 65 72 70 61 73 73 | 49 74 65 6d 22 3e 0d 0a |sterpass|Item">..|
|00005a50| 20 20 20 20 20 20 3c 74 | 72 65 65 72 6f 77 3e 0d | <t|reerow>.|
|00005a60| 0a 20 20 20 20 20 20 20 | 20 3c 74 72 65 65 63 65 |. | <treece|
|00005a70| 6c 6c 20 75 72 6c 3d 22 | 63 68 72 6f 6d 65 3a 2f |ll url="|chrome:/|
|00005a80| 2f 70 69 70 70 6b 69 2f | 63 6f 6e 74 65 6e 74 2f |/pippki/|content/|
|00005a90| 70 72 65 66 2d 6d 61 73 | 74 65 72 70 61 73 73 2e |pref-mas|terpass.|
|00005aa0| 78 75 6c 22 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |xul".. | |
|00005ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 61 62 65 | | labe|
|00005ac0| 6c 3d 22 26 6d 61 73 74 | 65 72 70 61 73 73 2e 6c |l="&mast|erpass.l|
|00005ad0| 61 62 65 6c 3b 22 2f 3e | 0d 0a 20 20 20 20 20 20 |abel;"/>|.. |
|00005ae0| 3c 2f 74 72 65 65 72 6f | 77 3e 0d 0a 20 20 20 20 |</treero|w>.. |
|00005af0| 3c 2f 74 72 65 65 69 74 | 65 6d 3e 0d 0a 20 20 20 |</treeit|em>.. |
|00005b00| 20 3c 74 72 65 65 69 74 | 65 6d 20 69 64 3d 22 73 | <treeit|em id="s|
|00005b10| 73 6c 49 74 65 6d 22 3e | 0d 0a 20 20 20 20 20 20 |slItem">|.. |
|00005b20| 3c 74 72 65 65 72 6f 77 | 3e 0d 0a 20 20 20 20 20 |<treerow|>.. |
|00005b30| 20 20 20 3c 74 72 65 65 | 63 65 6c 6c 20 75 72 6c | <tree|cell url|
|00005b40| 3d 22 63 68 72 6f 6d 65 | 3a 2f 2f 70 69 70 70 6b |="chrome|://pippk|
|00005b50| 69 2f 63 6f 6e 74 65 6e | 74 2f 70 72 65 66 2d 73 |i/conten|t/pref-s|
|00005b60| 73 6c 2e 78 75 6c 22 0d | 0a 20 20 20 20 20 20 20 |sl.xul".|. |
|00005b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|00005b80| 61 62 65 6c 3d 22 26 73 | 73 6c 2e 6c 61 62 65 6c |abel="&s|sl.label|
|00005b90| 3b 22 2f 3e 0d 0a 20 20 | 20 20 20 20 3c 2f 74 72 |;"/>.. | </tr|
|00005ba0| 65 65 72 6f 77 3e 0d 0a | 20 20 20 20 3c 2f 74 72 |eerow>..| </tr|
|00005bb0| 65 65 69 74 65 6d 3e 0d | 0a 20 20 20 20 3c 74 72 |eeitem>.|. <tr|
|00005bc0| 65 65 69 74 65 6d 20 69 | 64 3d 22 63 65 72 74 49 |eeitem i|d="certI|
|00005bd0| 74 65 6d 22 3e 0d 0a 20 | 20 20 20 20 20 3c 74 72 |tem">.. | <tr|
|00005be0| 65 65 72 6f 77 3e 0d 0a | 20 20 20 20 20 20 20 20 |eerow>..| |
|00005bf0| 3c 74 72 65 65 63 65 6c | 6c 20 75 72 6c 3d 22 63 |<treecel|l url="c|
|00005c00| 68 72 6f 6d 65 3a 2f 2f | 70 69 70 70 6b 69 2f 63 |hrome://|pippki/c|
|00005c10| 6f 6e 74 65 6e 74 2f 70 | 72 65 66 2d 63 65 72 74 |ontent/p|ref-cert|
|00005c20| 73 2e 78 75 6c 22 0d 0a | 20 20 20 20 20 20 20 20 |s.xul"..| |
|00005c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 61 | | la|
|00005c40| 62 65 6c 3d 22 26 63 65 | 72 74 73 2e 6c 61 62 65 |bel="&ce|rts.labe|
|00005c50| 6c 3b 22 2f 3e 0d 0a 20 | 20 20 20 20 20 3c 2f 74 |l;"/>.. | </t|
|00005c60| 72 65 65 72 6f 77 3e 0d | 0a 20 20 20 20 3c 2f 74 |reerow>.|. </t|
|00005c70| 72 65 65 69 74 65 6d 3e | 0d 0a 20 20 20 20 3c 74 |reeitem>|.. <t|
|00005c80| 72 65 65 69 74 65 6d 20 | 69 64 3d 22 76 61 6c 69 |reeitem |id="vali|
|00005c90| 64 61 74 69 6f 6e 49 74 | 65 6d 22 3e 0d 0a 20 20 |dationIt|em">.. |
|00005ca0| 20 20 20 20 3c 74 72 65 | 65 72 6f 77 3e 0d 0a 20 | <tre|erow>.. |
|00005cb0| 20 20 20 20 20 20 20 3c | 74 72 65 65 63 65 6c 6c | <|treecell|
|00005cc0| 20 75 72 6c 3d 22 63 68 | 72 6f 6d 65 3a 2f 2f 70 | url="ch|rome://p|
|00005cd0| 69 70 70 6b 69 2f 63 6f | 6e 74 65 6e 74 2f 70 72 |ippki/co|ntent/pr|
|00005ce0| 65 66 2d 76 61 6c 69 64 | 61 74 69 6f 6e 2e 78 75 |ef-valid|ation.xu|
|00005cf0| 6c 22 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |l".. | |
|00005d00| 20 20 20 20 20 20 20 20 | 20 20 6c 61 62 65 6c 3d | | label=|
|00005d10| 22 26 76 61 6c 69 64 61 | 74 69 6f 6e 2e 6c 61 62 |"&valida|tion.lab|
|00005d20| 65 6c 3b 22 2f 3e 0d 0a | 20 20 20 20 20 20 3c 2f |el;"/>..| </|
|00005d30| 74 72 65 65 72 6f 77 3e | 0d 0a 20 20 20 20 3c 2f |treerow>|.. </|
|00005d40| 74 72 65 65 69 74 65 6d | 3e 0d 0a 20 20 3c 2f 74 |treeitem|>.. </t|
|00005d50| 72 65 65 63 68 69 6c 64 | 72 65 6e 3e 0d 0a 3c 2f |reechild|ren>..</|
|00005d60| 6f 76 65 72 6c 61 79 3e | 0d 0a 50 4b 03 04 0a 00 |overlay>|..PK....|
|00005d70| 00 00 00 00 ec 7a 79 31 | 5c 4c 54 c5 8a 0b 00 00 |.....zy1|\LT.....|
|00005d80| 8a 0b 00 00 1f 00 15 00 | 63 6f 6e 74 65 6e 74 2f |........|content/|
|00005d90| 70 69 70 70 6b 69 2f 70 | 72 65 66 2d 73 65 63 75 |pippki/p|ref-secu|
|00005da0| 72 69 74 79 2e 6a 73 55 | 54 09 00 03 6c 69 a6 41 |rity.jsU|T...li.A|
|00005db0| 6e d3 8c 42 55 78 04 00 | eb 03 01 02 2f 2a 20 2d |n..BUx..|..../* -|
|00005dc0| 2a 2d 20 4d 6f 64 65 3a | 20 43 2b 2b 3b 20 74 61 |*- Mode:| C++; ta|
|00005dd0| 62 2d 77 69 64 74 68 3a | 20 32 3b 20 69 6e 64 65 |b-width:| 2; inde|
|00005de0| 6e 74 2d 74 61 62 73 2d | 6d 6f 64 65 3a 20 6e 69 |nt-tabs-|mode: ni|
|00005df0| 6c 3b 20 63 2d 62 61 73 | 69 63 2d 6f 66 66 73 65 |l; c-bas|ic-offse|
|00005e00| 74 3a 20 32 20 2d 2a 2d | 0d 0a 20 2a 0d 0a 20 2a |t: 2 -*-|.. *.. *|
|00005e10| 20 54 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | The con|tents of|
|00005e20| 20 74 68 69 73 20 66 69 | 6c 65 20 61 72 65 20 73 | this fi|le are s|
|00005e30| 75 62 6a 65 63 74 20 74 | 6f 20 74 68 65 20 4d 6f |ubject t|o the Mo|
|00005e40| 7a 69 6c 6c 61 20 50 75 | 62 6c 69 63 0d 0a 20 2a |zilla Pu|blic.. *|
|00005e50| 20 4c 69 63 65 6e 73 65 | 20 56 65 72 73 69 6f 6e | License| Version|
|00005e60| 20 31 2e 31 20 28 74 68 | 65 20 22 4c 69 63 65 6e | 1.1 (th|e "Licen|
|00005e70| 73 65 22 29 3b 20 79 6f | 75 20 6d 61 79 20 6e 6f |se"); yo|u may no|
|00005e80| 74 20 75 73 65 20 74 68 | 69 73 20 66 69 6c 65 0d |t use th|is file.|
|00005e90| 0a 20 2a 20 65 78 63 65 | 70 74 20 69 6e 20 63 6f |. * exce|pt in co|
|00005ea0| 6d 70 6c 69 61 6e 63 65 | 20 77 69 74 68 20 74 68 |mpliance| with th|
|00005eb0| 65 20 4c 69 63 65 6e 73 | 65 2e 20 59 6f 75 20 6d |e Licens|e. You m|
|00005ec0| 61 79 20 6f 62 74 61 69 | 6e 20 61 20 63 6f 70 79 |ay obtai|n a copy|
|00005ed0| 20 6f 66 0d 0a 20 2a 20 | 74 68 65 20 4c 69 63 65 | of.. * |the Lice|
|00005ee0| 6e 73 65 20 61 74 20 68 | 74 74 70 3a 2f 2f 77 77 |nse at h|ttp://ww|
|00005ef0| 77 2e 6d 6f 7a 69 6c 6c | 61 2e 6f 72 67 2f 4d 50 |w.mozill|a.org/MP|
|00005f00| 4c 2f 0d 0a 20 2a 0d 0a | 20 2a 20 53 6f 66 74 77 |L/.. *..| * Softw|
|00005f10| 61 72 65 20 64 69 73 74 | 72 69 62 75 74 65 64 20 |are dist|ributed |
|00005f20| 75 6e 64 65 72 20 74 68 | 65 20 4c 69 63 65 6e 73 |under th|e Licens|
|00005f30| 65 20 69 73 20 64 69 73 | 74 72 69 62 75 74 65 64 |e is dis|tributed|
|00005f40| 20 6f 6e 20 61 6e 20 22 | 41 53 0d 0a 20 2a 20 49 | on an "|AS.. * I|
|00005f50| 53 22 20 62 61 73 69 73 | 2c 20 57 49 54 48 4f 55 |S" basis|, WITHOU|
|00005f60| 54 20 57 41 52 52 41 4e | 54 59 20 4f 46 20 41 4e |T WARRAN|TY OF AN|
|00005f70| 59 20 4b 49 4e 44 2c 20 | 65 69 74 68 65 72 20 65 |Y KIND, |either e|
|00005f80| 78 70 72 65 73 73 20 6f | 72 0d 0a 20 2a 20 69 6d |xpress o|r.. * im|
|00005f90| 70 6c 69 65 64 2e 20 53 | 65 65 20 74 68 65 20 4c |plied. S|ee the L|
|00005fa0| 69 63 65 6e 73 65 20 66 | 6f 72 20 74 68 65 20 73 |icense f|or the s|
|00005fb0| 70 65 63 69 66 69 63 20 | 6c 61 6e 67 75 61 67 65 |pecific |language|
|00005fc0| 20 67 6f 76 65 72 6e 69 | 6e 67 0d 0a 20 2a 20 72 | governi|ng.. * r|
|00005fd0| 69 67 68 74 73 20 61 6e | 64 20 6c 69 6d 69 74 61 |ights an|d limita|
|00005fe0| 74 69 6f 6e 73 20 75 6e | 64 65 72 20 74 68 65 20 |tions un|der the |
|00005ff0| 4c 69 63 65 6e 73 65 2e | 0d 0a 20 2a 0d 0a 20 2a |License.|.. *.. *|
|00006000| 20 54 68 65 20 4f 72 69 | 67 69 6e 61 6c 20 43 6f | The Ori|ginal Co|
|00006010| 64 65 20 69 73 20 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |de is mo|zilla.or|
|00006020| 67 20 63 6f 64 65 2e 0d | 0a 20 2a 0d 0a 20 2a 20 |g code..|. *.. * |
|00006030| 54 68 65 20 49 6e 69 74 | 69 61 6c 20 44 65 76 65 |The Init|ial Deve|
|00006040| 6c 6f 70 65 72 20 6f 66 | 20 74 68 65 20 4f 72 69 |loper of| the Ori|
|00006050| 67 69 6e 61 6c 20 43 6f | 64 65 20 69 73 20 4e 65 |ginal Co|de is Ne|
|00006060| 74 73 63 61 70 65 0d 0a | 20 2a 20 43 6f 6d 6d 75 |tscape..| * Commu|
|00006070| 6e 69 63 61 74 69 6f 6e | 73 20 43 6f 72 70 6f 72 |nication|s Corpor|
|00006080| 61 74 69 6f 6e 2e 20 20 | 50 6f 72 74 69 6f 6e 73 |ation. |Portions|
|00006090| 20 63 72 65 61 74 65 64 | 20 62 79 20 4e 65 74 73 | created| by Nets|
|000060a0| 63 61 70 65 20 61 72 65 | 0d 0a 20 2a 20 43 6f 70 |cape are|.. * Cop|
|000060b0| 79 72 69 67 68 74 20 28 | 43 29 20 31 39 39 38 20 |yright (|C) 1998 |
|000060c0| 4e 65 74 73 63 61 70 65 | 20 43 6f 6d 6d 75 6e 69 |Netscape| Communi|
|000060d0| 63 61 74 69 6f 6e 73 20 | 43 6f 72 70 6f 72 61 74 |cations |Corporat|
|000060e0| 69 6f 6e 2e 20 41 6c 6c | 0d 0a 20 2a 20 52 69 67 |ion. All|.. * Rig|
|000060f0| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 0d 0a 20 |hts Rese|rved... |
|00006100| 2a 0d 0a 20 2a 20 43 6f | 6e 74 72 69 62 75 74 6f |*.. * Co|ntributo|
|00006110| 72 28 73 29 3a 0d 0a 20 | 2a 20 20 4a 61 76 69 65 |r(s):.. |* Javie|
|00006120| 72 20 44 65 6c 67 61 64 | 69 6c 6c 6f 20 3c 6a 61 |r Delgad|illo <ja|
|00006130| 76 69 40 6e 65 74 73 63 | 61 70 65 2e 63 6f 6d 3e |vi@netsc|ape.com>|
|00006140| 0d 0a 20 2a 0d 0a 20 2a | 20 41 6c 74 65 72 6e 61 |.. *.. *| Alterna|
|00006150| 74 69 76 65 6c 79 2c 20 | 74 68 65 20 63 6f 6e 74 |tively, |the cont|
|00006160| 65 6e 74 73 20 6f 66 20 | 74 68 69 73 20 66 69 6c |ents of |this fil|
|00006170| 65 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 75 6e |e may be| used un|
|00006180| 64 65 72 20 74 68 65 0d | 0a 20 2a 20 74 65 72 6d |der the.|. * term|
|00006190| 73 20 6f 66 20 74 68 65 | 20 47 4e 55 20 47 65 6e |s of the| GNU Gen|
|000061a0| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|000061b0| 6e 73 65 20 56 65 72 73 | 69 6f 6e 20 32 20 6f 72 |nse Vers|ion 2 or|
|000061c0| 20 6c 61 74 65 72 20 28 | 74 68 65 0d 0a 20 2a 20 | later (|the.. * |
|000061d0| 22 47 50 4c 22 29 2c 20 | 69 6e 20 77 68 69 63 68 |"GPL"), |in which|
|000061e0| 20 63 61 73 65 20 74 68 | 65 20 70 72 6f 76 69 73 | case th|e provis|
|000061f0| 69 6f 6e 73 20 6f 66 20 | 74 68 65 20 47 50 4c 20 |ions of |the GPL |
|00006200| 61 72 65 20 61 70 70 6c | 69 63 61 62 6c 65 20 0d |are appl|icable .|
|00006210| 0a 20 2a 20 69 6e 73 74 | 65 61 64 20 6f 66 20 74 |. * inst|ead of t|
|00006220| 68 6f 73 65 20 61 62 6f | 76 65 2e 20 20 49 66 20 |hose abo|ve. If |
|00006230| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 61 6c 6c 6f |you wish| to allo|
|00006240| 77 20 75 73 65 20 6f 66 | 20 79 6f 75 72 20 0d 0a |w use of| your ..|
|00006250| 20 2a 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 | * versi|on of th|
|00006260| 69 73 20 66 69 6c 65 20 | 6f 6e 6c 79 20 75 6e 64 |is file |only und|
|00006270| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 |er the t|erms of |
|00006280| 74 68 65 20 47 50 4c 20 | 61 6e 64 20 6e 6f 74 20 |the GPL |and not |
|00006290| 74 6f 0d 0a 20 2a 20 61 | 6c 6c 6f 77 20 6f 74 68 |to.. * a|llow oth|
|000062a0| 65 72 73 20 74 6f 20 75 | 73 65 20 79 6f 75 72 20 |ers to u|se your |
|000062b0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 69 73 20 |version |of this |
|000062c0| 66 69 6c 65 20 75 6e 64 | 65 72 20 74 68 65 20 4d |file und|er the M|
|000062d0| 50 4c 2c 0d 0a 20 2a 20 | 69 6e 64 69 63 61 74 65 |PL,.. * |indicate|
|000062e0| 20 79 6f 75 72 20 64 65 | 63 69 73 69 6f 6e 20 62 | your de|cision b|
|000062f0| 79 20 64 65 6c 65 74 69 | 6e 67 20 74 68 65 20 70 |y deleti|ng the p|
|00006300| 72 6f 76 69 73 69 6f 6e | 73 20 61 62 6f 76 65 20 |rovision|s above |
|00006310| 61 6e 64 0d 0a 20 2a 20 | 72 65 70 6c 61 63 65 20 |and.. * |replace |
|00006320| 74 68 65 6d 20 77 69 74 | 68 20 74 68 65 20 6e 6f |them wit|h the no|
|00006330| 74 69 63 65 20 61 6e 64 | 20 6f 74 68 65 72 20 70 |tice and| other p|
|00006340| 72 6f 76 69 73 69 6f 6e | 73 20 72 65 71 75 69 72 |rovision|s requir|
|00006350| 65 64 20 62 79 0d 0a 20 | 2a 20 74 68 65 20 47 50 |ed by.. |* the GP|
|00006360| 4c 2e 20 20 49 66 20 79 | 6f 75 20 64 6f 20 6e 6f |L. If y|ou do no|
|00006370| 74 20 64 65 6c 65 74 65 | 20 74 68 65 20 70 72 6f |t delete| the pro|
|00006380| 76 69 73 69 6f 6e 73 20 | 61 62 6f 76 65 2c 20 61 |visions |above, a|
|00006390| 20 72 65 63 69 70 69 65 | 6e 74 0d 0a 20 2a 20 6d | recipie|nt.. * m|
|000063a0| 61 79 20 75 73 65 20 79 | 6f 75 72 20 76 65 72 73 |ay use y|our vers|
|000063b0| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 66 69 6c 65 |ion of t|his file|
|000063c0| 20 75 6e 64 65 72 20 65 | 69 74 68 65 72 20 74 68 | under e|ither th|
|000063d0| 65 20 4d 50 4c 20 6f 72 | 20 74 68 65 0d 0a 20 2a |e MPL or| the.. *|
|000063e0| 20 47 50 4c 2e 0d 0a 20 | 2a 2f 0d 0a 0d 0a 66 75 | GPL... |*/....fu|
|000063f0| 6e 63 74 69 6f 6e 20 6f | 70 65 6e 43 65 72 74 4d |nction o|penCertM|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.