home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 September / PCWorld_2007-09_cd.bin / komunikace / firefox / Firefox Setup 2.0.0.6.exe / nonlocalized / chrome / pippki.jar < prev    next >
PKZip Archive  |  2007-07-25  |  293.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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, Dec 09 2004 11:50:20, uncompressed size 2696, 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%,65 files] default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 2696, uncompressed size: 2696, name: content/pippki/getpassword.xul default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 4a 5e 89 31 39 ed |PK......|..J^.19.|
|00000010| 0e e7 88 0a 00 00 88 0a | 00 00 1e 00 00 00 63 6f |........|......co|
|00000020| 6e 74 65 6e 74 2f 70 69 | 70 70 6b 69 2f 67 65 74 |ntent/pi|ppki/get|
|00000030| 70 61 73 73 77 6f 72 64 | 2e 78 75 6c 3c 3f 78 6d |password|.xul<?xm|
|00000040| 6c 20 76 65 72 73 69 6f | 6e 3d 22 31 2e 30 22 3f |l versio|n="1.0"?|
|00000050| 3e 0a 3c 21 2d 2d 20 2a | 2a 2a 2a 2a 20 42 45 47 |>.<!-- *|**** BEG|
|00000060| 49 4e 20 4c 49 43 45 4e | 53 45 20 42 4c 4f 43 4b |IN LICEN|SE BLOCK|
|00000070| 20 2a 2a 2a 2a 2a 0a 20 | 20 20 2d 20 56 65 72 73 | *****. | - Vers|
|00000080| 69 6f 6e 3a 20 4d 50 4c | 20 31 2e 31 2f 47 50 4c |ion: MPL| 1.1/GPL|
|00000090| 20 32 2e 30 2f 4c 47 50 | 4c 20 32 2e 31 0a 20 20 | 2.0/LGP|L 2.1. |
|000000a0| 20 2d 0a 20 20 20 2d 20 | 54 68 65 20 63 6f 6e 74 | -. - |The cont|
|000000b0| 65 6e 74 73 20 6f 66 20 | 74 68 69 73 20 66 69 6c |ents of |this fil|
|000000c0| 65 20 61 72 65 20 73 75 | 62 6a 65 63 74 20 74 6f |e are su|bject to|
|000000d0| 20 74 68 65 20 4d 6f 7a | 69 6c 6c 61 20 50 75 62 | the Moz|illa Pub|
|000000e0| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 56 65 72 73 |lic Lice|nse Vers|
|000000f0| 69 6f 6e 0a 20 20 20 2d | 20 31 2e 31 20 28 74 68 |ion. -| 1.1 (th|
|00000100| 65 20 22 4c 69 63 65 6e | 73 65 22 29 3b 20 79 6f |e "Licen|se"); yo|
|00000110| 75 20 6d 61 79 20 6e 6f | 74 20 75 73 65 20 74 68 |u may no|t use th|
|00000120| 69 73 20 66 69 6c 65 20 | 65 78 63 65 70 74 20 69 |is file |except i|
|00000130| 6e 20 63 6f 6d 70 6c 69 | 61 6e 63 65 20 77 69 74 |n compli|ance wit|
|00000140| 68 0a 20 20 20 2d 20 74 | 68 65 20 4c 69 63 65 6e |h. - t|he Licen|
|00000150| 73 65 2e 20 59 6f 75 20 | 6d 61 79 20 6f 62 74 61 |se. You |may obta|
|00000160| 69 6e 20 61 20 63 6f 70 | 79 20 6f 66 20 74 68 65 |in a cop|y of the|
|00000170| 20 4c 69 63 65 6e 73 65 | 20 61 74 0a 20 20 20 2d | License| at. -|
|00000180| 20 68 74 74 70 3a 2f 2f | 77 77 77 2e 6d 6f 7a 69 | http://|www.mozi|
|00000190| 6c 6c 61 2e 6f 72 67 2f | 4d 50 4c 2f 0a 20 20 20 |lla.org/|MPL/. |
|000001a0| 2d 0a 20 20 20 2d 20 53 | 6f 66 74 77 61 72 65 20 |-. - S|oftware |
|000001b0| 64 69 73 74 72 69 62 75 | 74 65 64 20 75 6e 64 65 |distribu|ted unde|
|000001c0| 72 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 69 73 |r the Li|cense is|
|000001d0| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 6f 6e 20 | distrib|uted on |
|000001e0| 61 6e 20 22 41 53 20 49 | 53 22 20 62 61 73 69 73 |an "AS I|S" basis|
|000001f0| 2c 0a 20 20 20 2d 20 57 | 49 54 48 4f 55 54 20 57 |,. - W|ITHOUT W|
|00000200| 41 52 52 41 4e 54 59 20 | 4f 46 20 41 4e 59 20 4b |ARRANTY |OF ANY K|
|00000210| 49 4e 44 2c 20 65 69 74 | 68 65 72 20 65 78 70 72 |IND, eit|her expr|
|00000220| 65 73 73 20 6f 72 20 69 | 6d 70 6c 69 65 64 2e 20 |ess or i|mplied. |
|00000230| 53 65 65 20 74 68 65 20 | 4c 69 63 65 6e 73 65 0a |See the |License.|
|00000240| 20 20 20 2d 20 66 6f 72 | 20 74 68 65 20 73 70 65 | - for| the spe|
|00000250| 63 69 66 69 63 20 6c 61 | 6e 67 75 61 67 65 20 67 |cific la|nguage g|
|00000260| 6f 76 65 72 6e 69 6e 67 | 20 72 69 67 68 74 73 20 |overning| rights |
|00000270| 61 6e 64 20 6c 69 6d 69 | 74 61 74 69 6f 6e 73 20 |and limi|tations |
|00000280| 75 6e 64 65 72 20 74 68 | 65 0a 20 20 20 2d 20 4c |under th|e. - L|
|00000290| 69 63 65 6e 73 65 2e 0a | 20 20 20 2d 0a 20 20 20 |icense..| -. |
|000002a0| 2d 20 54 68 65 20 4f 72 | 69 67 69 6e 61 6c 20 43 |- The Or|iginal C|
|000002b0| 6f 64 65 20 69 73 20 6d | 6f 7a 69 6c 6c 61 2e 6f |ode is m|ozilla.o|
|000002c0| 72 67 20 63 6f 64 65 2e | 0a 20 20 20 2d 0a 20 20 |rg code.|. -. |
|000002d0| 20 2d 20 54 68 65 20 49 | 6e 69 74 69 61 6c 20 44 | - The I|nitial D|
|000002e0| 65 76 65 6c 6f 70 65 72 | 20 6f 66 20 74 68 65 20 |eveloper| of the |
|000002f0| 4f 72 69 67 69 6e 61 6c | 20 43 6f 64 65 20 69 73 |Original| Code is|
|00000300| 0a 20 20 20 2d 20 4e 65 | 74 73 63 61 70 65 20 43 |. - Ne|tscape C|
|00000310| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 20 43 6f |ommunica|tions Co|
|00000320| 72 70 2e 0a 20 20 20 2d | 20 50 6f 72 74 69 6f 6e |rp.. -| Portion|
|00000330| 73 20 63 72 65 61 74 65 | 64 20 62 79 20 74 68 65 |s create|d by the|
|00000340| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00000350| 65 72 20 61 72 65 20 43 | 6f 70 79 72 69 67 68 74 |er are C|opyright|
|00000360| 20 28 43 29 20 32 30 30 | 31 0a 20 20 20 2d 20 74 | (C) 200|1. - t|
|00000370| 68 65 20 49 6e 69 74 69 | 61 6c 20 44 65 76 65 6c |he Initi|al Devel|
|00000380| 6f 70 65 72 2e 20 41 6c | 6c 20 52 69 67 68 74 73 |oper. Al|l Rights|
|00000390| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 20 20 2d 0a | Reserve|d.. -.|
|000003a0| 20 20 20 2d 20 43 6f 6e | 74 72 69 62 75 74 6f 72 | - Con|tributor|
|000003b0| 28 73 29 3a 0a 20 20 20 | 2d 20 20 20 42 6f 62 20 |(s):. |- Bob |
|000003c0| 4c 6f 72 64 20 3c 6c 6f | 72 64 40 6e 65 74 73 63 |Lord <lo|rd@netsc|
|000003d0| 61 70 65 2e 63 6f 6d 3e | 0a 20 20 20 2d 20 20 20 |ape.com>|. - |
|000003e0| 54 65 72 72 79 20 48 61 | 79 65 73 20 3c 74 68 61 |Terry Ha|yes <tha|
|000003f0| 79 65 73 40 6e 65 74 73 | 63 61 70 65 2e 63 6f 6d |yes@nets|cape.com|
|00000400| 3e 0a 20 20 20 2d 20 20 | 20 49 61 6e 20 4d 63 47 |>. - | Ian McG|
|00000410| 72 65 65 72 20 3c 6d 63 | 67 72 65 65 72 40 6e 65 |reer <mc|greer@ne|
|00000420| 74 73 63 61 70 65 2e 63 | 6f 6d 3e 0a 20 20 20 2d |tscape.c|om>. -|
|00000430| 0a 20 20 20 2d 20 41 6c | 74 65 72 6e 61 74 69 76 |. - Al|ternativ|
|00000440| 65 6c 79 2c 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |ely, the| content|
|00000450| 73 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 6d |s of thi|s file m|
|00000460| 61 79 20 62 65 20 75 73 | 65 64 20 75 6e 64 65 72 |ay be us|ed under|
|00000470| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 0a 20 20 | the ter|ms of. |
|00000480| 20 2d 20 65 69 74 68 65 | 72 20 74 68 65 20 47 4e | - eithe|r the GN|
|00000490| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|000004a0| 20 4c 69 63 65 6e 73 65 | 20 56 65 72 73 69 6f 6e | License| Version|
|000004b0| 20 32 20 6f 72 20 6c 61 | 74 65 72 20 28 74 68 65 | 2 or la|ter (the|
|000004c0| 20 22 47 50 4c 22 29 2c | 20 6f 72 0a 20 20 20 2d | "GPL"),| or. -|
|000004d0| 20 74 68 65 20 47 4e 55 | 20 4c 65 73 73 65 72 20 | the GNU| Lesser |
|000004e0| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|000004f0| 69 63 65 6e 73 65 20 56 | 65 72 73 69 6f 6e 20 32 |icense V|ersion 2|
|00000500| 2e 31 20 6f 72 20 6c 61 | 74 65 72 20 28 74 68 65 |.1 or la|ter (the|
|00000510| 20 22 4c 47 50 4c 22 29 | 2c 0a 20 20 20 2d 20 69 | "LGPL")|,. - i|
|00000520| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 74 68 65 |n which |case the|
|00000530| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 6f 66 20 74 | provisi|ons of t|
|00000540| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00000550| 50 4c 20 61 72 65 20 61 | 70 70 6c 69 63 61 62 6c |PL are a|pplicabl|
|00000560| 65 20 69 6e 73 74 65 61 | 64 0a 20 20 20 2d 20 6f |e instea|d. - o|
|00000570| 66 20 74 68 6f 73 65 20 | 61 62 6f 76 65 2e 20 49 |f those |above. I|
|00000580| 66 20 79 6f 75 20 77 69 | 73 68 20 74 6f 20 61 6c |f you wi|sh to al|
|00000590| 6c 6f 77 20 75 73 65 20 | 6f 66 20 79 6f 75 72 20 |low use |of your |
|000005a0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 69 73 20 |version |of this |
|000005b0| 66 69 6c 65 20 6f 6e 6c | 79 0a 20 20 20 2d 20 75 |file onl|y. - u|
|000005c0| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|000005d0| 66 20 65 69 74 68 65 72 | 20 74 68 65 20 47 50 4c |f either| the GPL|
|000005e0| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2c 20 61 6e | or the |LGPL, an|
|000005f0| 64 20 6e 6f 74 20 74 6f | 20 61 6c 6c 6f 77 20 6f |d not to| allow o|
|00000600| 74 68 65 72 73 20 74 6f | 0a 20 20 20 2d 20 75 73 |thers to|. - us|
|00000610| 65 20 79 6f 75 72 20 76 | 65 72 73 69 6f 6e 20 6f |e your v|ersion o|
|00000620| 66 20 74 68 69 73 20 66 | 69 6c 65 20 75 6e 64 65 |f this f|ile unde|
|00000630| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 74 |r the te|rms of t|
|00000640| 68 65 20 4d 50 4c 2c 20 | 69 6e 64 69 63 61 74 65 |he MPL, |indicate|
|00000650| 20 79 6f 75 72 0a 20 20 | 20 2d 20 64 65 63 69 73 | your. | - decis|
|00000660| 69 6f 6e 20 62 79 20 64 | 65 6c 65 74 69 6e 67 20 |ion by d|eleting |
|00000670| 74 68 65 20 70 72 6f 76 | 69 73 69 6f 6e 73 20 61 |the prov|isions a|
|00000680| 62 6f 76 65 20 61 6e 64 | 20 72 65 70 6c 61 63 65 |bove and| replace|
|00000690| 20 74 68 65 6d 20 77 69 | 74 68 20 74 68 65 20 6e | them wi|th the n|
|000006a0| 6f 74 69 63 65 0a 20 20 | 20 2d 20 61 6e 64 20 6f |otice. | - and o|
|000006b0| 74 68 65 72 20 70 72 6f | 76 69 73 69 6f 6e 73 20 |ther pro|visions |
|000006c0| 72 65 71 75 69 72 65 64 | 20 62 79 20 74 68 65 20 |required| by the |
|000006d0| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2e |GPL or t|he LGPL.|
|000006e0| 20 49 66 20 79 6f 75 20 | 64 6f 20 6e 6f 74 20 64 | If you |do not d|
|000006f0| 65 6c 65 74 65 0a 20 20 | 20 2d 20 74 68 65 20 70 |elete. | - the p|
|00000700| 72 6f 76 69 73 69 6f 6e | 73 20 61 62 6f 76 65 2c |rovision|s above,|
|00000710| 20 61 20 72 65 63 69 70 | 69 65 6e 74 20 6d 61 79 | a recip|ient may|
|00000720| 20 75 73 65 20 79 6f 75 | 72 20 76 65 72 73 69 6f | use you|r versio|
|00000730| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 75 |n of thi|s file u|
|00000740| 6e 64 65 72 0a 20 20 20 | 2d 20 74 68 65 20 74 65 |nder. |- the te|
|00000750| 72 6d 73 20 6f 66 20 61 | 6e 79 20 6f 6e 65 20 6f |rms of a|ny one o|
|00000760| 66 20 74 68 65 20 4d 50 | 4c 2c 20 74 68 65 20 47 |f the MP|L, the G|
|00000770| 50 4c 20 6f 72 20 74 68 | 65 20 4c 47 50 4c 2e 0a |PL or th|e LGPL..|
|00000780| 20 20 20 2d 0a 20 20 20 | 2d 20 2a 2a 2a 2a 2a 20 | -. |- ***** |
|00000790| 45 4e 44 20 4c 49 43 45 | 4e 53 45 20 42 4c 4f 43 |END LICE|NSE BLOC|
|000007a0| 4b 20 2a 2a 2a 2a 2a 20 | 2d 2d 3e 0a 0a 3c 3f 78 |K ***** |-->..<?x|
|000007b0| 6d 6c 2d 73 74 79 6c 65 | 73 68 65 65 74 20 68 72 |ml-style|sheet hr|
|000007c0| 65 66 3d 22 63 68 72 6f | 6d 65 3a 2f 2f 67 6c 6f |ef="chro|me://glo|
|000007d0| 62 61 6c 2f 73 6b 69 6e | 2f 22 20 74 79 70 65 3d |bal/skin|/" type=|
|000007e0| 22 74 65 78 74 2f 63 73 | 73 22 3f 3e 0a 0a 3c 21 |"text/cs|s"?>..<!|
|000007f0| 44 4f 43 54 59 50 45 20 | 64 69 61 6c 6f 67 20 53 |DOCTYPE |dialog S|
|00000800| 59 53 54 45 4d 20 22 63 | 68 72 6f 6d 65 3a 2f 2f |YSTEM "c|hrome://|
|00000810| 70 69 70 70 6b 69 2f 6c | 6f 63 61 6c 65 2f 70 69 |pippki/l|ocale/pi|
|00000820| 70 70 6b 69 2e 64 74 64 | 22 3e 0a 0a 3c 64 69 61 |ppki.dtd|">..<dia|
|00000830| 6c 6f 67 20 69 64 3d 22 | 67 65 74 70 61 73 73 77 |log id="|getpassw|
|00000840| 6f 72 64 22 20 74 69 74 | 6c 65 3d 22 26 67 65 74 |ord" tit|le="&get|
|00000850| 50 61 73 73 77 6f 72 64 | 2e 74 69 74 6c 65 3b 22 |Password|.title;"|
|00000860| 0a 20 20 78 6d 6c 6e 73 | 3d 22 68 74 74 70 3a 2f |. xmlns|="http:/|
|00000870| 2f 77 77 77 2e 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |/www.moz|illa.org|
|00000880| 2f 6b 65 79 6d 61 73 74 | 65 72 2f 67 61 74 65 6b |/keymast|er/gatek|
|00000890| 65 65 70 65 72 2f 74 68 | 65 72 65 2e 69 73 2e 6f |eeper/th|ere.is.o|
|000008a0| 6e 6c 79 2e 78 75 6c 22 | 20 20 20 20 20 20 0a 20 |nly.xul"| . |
|000008b0| 20 73 74 79 6c 65 3d 22 | 77 69 64 74 68 3a 20 33 | style="|width: 3|
|000008c0| 30 65 6d 3b 22 0a 20 20 | 62 75 74 74 6f 6e 73 3d |0em;". |buttons=|
|000008d0| 22 61 63 63 65 70 74 2c | 63 61 6e 63 65 6c 22 0a |"accept,|cancel".|
|000008e0| 20 20 6f 6e 64 69 61 6c | 6f 67 61 63 63 65 70 74 | ondial|ogaccept|
|000008f0| 3d 22 72 65 74 75 72 6e | 20 67 65 74 50 61 73 73 |="return| getPass|
|00000900| 77 6f 72 64 28 29 3b 22 | 0a 20 20 6f 6e 6c 6f 61 |word();"|. onloa|
|00000910| 64 3d 22 6f 6e 4c 6f 61 | 64 28 29 3b 22 3e 0a 0a |d="onLoa|d();">..|
|00000920| 20 20 3c 73 63 72 69 70 | 74 20 74 79 70 65 3d 22 | <scrip|t type="|
|00000930| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2f 78 2d 6a 61 |applicat|ion/x-ja|
|00000940| 76 61 73 63 72 69 70 74 | 22 20 73 72 63 3d 22 63 |vascript|" src="c|
|00000950| 68 72 6f 6d 65 3a 2f 2f | 70 69 70 70 6b 69 2f 63 |hrome://|pippki/c|
|00000960| 6f 6e 74 65 6e 74 2f 70 | 61 73 73 77 6f 72 64 2e |ontent/p|assword.|
|00000970| 6a 73 22 2f 3e 0a 20 20 | 3c 73 63 72 69 70 74 20 |js"/>. |<script |
|00000980| 74 79 70 65 3d 22 61 70 | 70 6c 69 63 61 74 69 6f |type="ap|plicatio|
|00000990| 6e 2f 78 2d 6a 61 76 61 | 73 63 72 69 70 74 22 20 |n/x-java|script" |
|000009a0| 73 72 63 3d 22 63 68 72 | 6f 6d 65 3a 2f 2f 67 6c |src="chr|ome://gl|
|000009b0| 6f 62 61 6c 2f 63 6f 6e | 74 65 6e 74 2f 73 74 72 |obal/con|tent/str|
|000009c0| 72 65 73 2e 6a 73 22 2f | 3e 0a 0a 20 20 3c 68 62 |res.js"/|>.. <hb|
|000009d0| 6f 78 3e 0a 20 20 20 20 | 3c 6c 61 62 65 6c 20 76 |ox>. |<label v|
|000009e0| 61 6c 75 65 3d 22 26 67 | 65 74 50 61 73 73 77 6f |alue="&g|etPasswo|
|000009f0| 72 64 2e 74 6f 6b 65 6e | 4e 61 6d 65 2e 6c 61 62 |rd.token|Name.lab|
|00000a00| 65 6c 3b 3a 22 2f 3e 0a | 20 20 20 20 3c 6c 61 62 |el;:"/>.| <lab|
|00000a10| 65 6c 20 69 64 3d 22 74 | 6f 6b 65 6e 4e 61 6d 65 |el id="t|okenName|
|00000a20| 22 2f 3e 0a 20 20 3c 2f | 68 62 6f 78 3e 0a 20 20 |"/>. </|hbox>. |
|00000a30| 3c 73 65 70 61 72 61 74 | 6f 72 2f 3e 0a 20 20 3c |<separat|or/>. <|
|00000a40| 68 62 6f 78 20 61 6c 69 | 67 6e 3d 22 63 65 6e 74 |hbox ali|gn="cent|
|00000a50| 65 72 22 3e 0a 20 20 20 | 20 3c 6c 61 62 65 6c 20 |er">. | <label |
|00000a60| 76 61 6c 75 65 3d 22 26 | 67 65 74 50 61 73 73 77 |value="&|getPassw|
|00000a70| 6f 72 64 2e 70 61 73 73 | 77 6f 72 64 2e 6c 61 62 |ord.pass|word.lab|
|00000a80| 65 6c 3b 22 2f 3e 0a 20 | 20 20 20 3c 74 65 78 74 |el;"/>. | <text|
|00000a90| 62 6f 78 20 69 64 3d 22 | 70 77 31 22 20 74 79 70 |box id="|pw1" typ|
|00000aa0| 65 3d 22 70 61 73 73 77 | 6f 72 64 22 2f 3e 0a 20 |e="passw|ord"/>. |
|00000ab0| 20 3c 2f 68 62 6f 78 3e | 0a 0a 3c 2f 64 69 61 6c | </hbox>|..</dial|
|00000ac0| 6f 67 3e 0a 50 4b 03 04 | 0a 00 00 00 00 00 3b 1d |og>.PK..|......;.|
|00000ad0| 29 32 db 09 db 06 9c 28 | 00 00 9c 28 00 00 1a 00 |)2.....(|...(....|
|00000ae0| 00 00 63 6f 6e 74 65 6e | 74 2f 70 69 70 70 6b 69 |..conten|t/pippki|
|00000af0| 2f 70 61 73 73 77 6f 72 | 64 2e 6a 73 2f 2a 20 2a |/passwor|d.js/* *|
|00000b00| 2a 2a 2a 2a 20 42 45 47 | 49 4e 20 4c 49 43 45 4e |**** BEG|IN LICEN|
|00000b10| 53 45 20 42 4c 4f 43 4b | 20 2a 2a 2a 2a 2a 0a 20 |SE BLOCK| *****. |
|00000b20| 2a 20 56 65 72 73 69 6f | 6e 3a 20 4d 50 4c 20 31 |* Versio|n: MPL 1|
|00000b30| 2e 31 2f 47 50 4c 20 32 | 2e 30 2f 4c 47 50 4c 20 |.1/GPL 2|.0/LGPL |
|00000b40| 32 2e 31 0a 20 2a 0a 20 | 2a 20 54 68 65 20 63 6f |2.1. *. |* The co|
|00000b50| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 69 73 20 66 |ntents o|f this f|
|00000b60| 69 6c 65 20 61 72 65 20 | 73 75 62 6a 65 63 74 20 |ile are |subject |
|00000b70| 74 6f 20 74 68 65 20 4d | 6f 7a 69 6c 6c 61 20 50 |to the M|ozilla P|
|00000b80| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 56 65 |ublic Li|cense Ve|
|00000b90| 72 73 69 6f 6e 0a 20 2a | 20 31 2e 31 20 28 74 68 |rsion. *| 1.1 (th|
|00000ba0| 65 20 22 4c 69 63 65 6e | 73 65 22 29 3b 20 79 6f |e "Licen|se"); yo|
|00000bb0| 75 20 6d 61 79 20 6e 6f | 74 20 75 73 65 20 74 68 |u may no|t use th|
|00000bc0| 69 73 20 66 69 6c 65 20 | 65 78 63 65 70 74 20 69 |is file |except i|
|00000bd0| 6e 20 63 6f 6d 70 6c 69 | 61 6e 63 65 20 77 69 74 |n compli|ance wit|
|00000be0| 68 0a 20 2a 20 74 68 65 | 20 4c 69 63 65 6e 73 65 |h. * the| License|
|00000bf0| 2e 20 59 6f 75 20 6d 61 | 79 20 6f 62 74 61 69 6e |. You ma|y obtain|
|00000c00| 20 61 20 63 6f 70 79 20 | 6f 66 20 74 68 65 20 4c | a copy |of the L|
|00000c10| 69 63 65 6e 73 65 20 61 | 74 0a 20 2a 20 68 74 74 |icense a|t. * htt|
|00000c20| 70 3a 2f 2f 77 77 77 2e | 6d 6f 7a 69 6c 6c 61 2e |p://www.|mozilla.|
|00000c30| 6f 72 67 2f 4d 50 4c 2f | 0a 20 2a 0a 20 2a 20 53 |org/MPL/|. *. * S|
|00000c40| 6f 66 74 77 61 72 65 20 | 64 69 73 74 72 69 62 75 |oftware |distribu|
|00000c50| 74 65 64 20 75 6e 64 65 | 72 20 74 68 65 20 4c 69 |ted unde|r the Li|
|00000c60| 63 65 6e 73 65 20 69 73 | 20 64 69 73 74 72 69 62 |cense is| distrib|
|00000c70| 75 74 65 64 20 6f 6e 20 | 61 6e 20 22 41 53 20 49 |uted on |an "AS I|
|00000c80| 53 22 20 62 61 73 69 73 | 2c 0a 20 2a 20 57 49 54 |S" basis|,. * WIT|
|00000c90| 48 4f 55 54 20 57 41 52 | 52 41 4e 54 59 20 4f 46 |HOUT WAR|RANTY OF|
|00000ca0| 20 41 4e 59 20 4b 49 4e | 44 2c 20 65 69 74 68 65 | ANY KIN|D, eithe|
|00000cb0| 72 20 65 78 70 72 65 73 | 73 20 6f 72 20 69 6d 70 |r expres|s or imp|
|00000cc0| 6c 69 65 64 2e 20 53 65 | 65 20 74 68 65 20 4c 69 |lied. Se|e the Li|
|00000cd0| 63 65 6e 73 65 0a 20 2a | 20 66 6f 72 20 74 68 65 |cense. *| for the|
|00000ce0| 20 73 70 65 63 69 66 69 | 63 20 6c 61 6e 67 75 61 | specifi|c langua|
|00000cf0| 67 65 20 67 6f 76 65 72 | 6e 69 6e 67 20 72 69 67 |ge gover|ning rig|
|00000d00| 68 74 73 20 61 6e 64 20 | 6c 69 6d 69 74 61 74 69 |hts and |limitati|
|00000d10| 6f 6e 73 20 75 6e 64 65 | 72 20 74 68 65 0a 20 2a |ons unde|r the. *|
|00000d20| 20 4c 69 63 65 6e 73 65 | 2e 0a 20 2a 0a 20 2a 20 | License|.. *. * |
|00000d30| 54 68 65 20 4f 72 69 67 | 69 6e 61 6c 20 43 6f 64 |The Orig|inal Cod|
|00000d40| 65 20 69 73 20 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |e is moz|illa.org|
|00000d50| 20 63 6f 64 65 2e 0a 20 | 2a 0a 20 2a 20 54 68 65 | code.. |*. * The|
|00000d60| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00000d70| 65 72 20 6f 66 20 74 68 | 65 20 4f 72 69 67 69 6e |er of th|e Origin|
|00000d80| 61 6c 20 43 6f 64 65 20 | 69 73 0a 20 2a 20 4e 65 |al Code |is. * Ne|
|00000d90| 74 73 63 61 70 65 20 43 | 6f 6d 6d 75 6e 69 63 61 |tscape C|ommunica|
|00000da0| 74 69 6f 6e 73 20 43 6f | 72 70 6f 72 61 74 69 6f |tions Co|rporatio|
|00000db0| 6e 2e 0a 20 2a 20 50 6f | 72 74 69 6f 6e 73 20 63 |n.. * Po|rtions c|
|00000dc0| 72 65 61 74 65 64 20 62 | 79 20 74 68 65 20 49 6e |reated b|y the In|
|00000dd0| 69 74 69 61 6c 20 44 65 | 76 65 6c 6f 70 65 72 20 |itial De|veloper |
|00000de0| 61 72 65 20 43 6f 70 79 | 72 69 67 68 74 20 28 43 |are Copy|right (C|
|00000df0| 29 20 32 30 30 31 0a 20 | 2a 20 74 68 65 20 49 6e |) 2001. |* the In|
|00000e00| 69 74 69 61 6c 20 44 65 | 76 65 6c 6f 70 65 72 2e |itial De|veloper.|
|00000e10| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|00000e20| 72 76 65 64 2e 0a 20 2a | 0a 20 2a 20 43 6f 6e 74 |rved.. *|. * Cont|
|00000e30| 72 69 62 75 74 6f 72 28 | 73 29 3a 0a 20 2a 20 20 |ributor(|s):. * |
|00000e40| 20 42 6f 62 20 4c 6f 72 | 64 20 3c 6c 6f 72 64 40 | Bob Lor|d <lord@|
|00000e50| 6e 65 74 73 63 61 70 65 | 2e 63 6f 6d 3e 0a 20 2a |netscape|.com>. *|
|00000e60| 20 20 20 54 65 72 72 79 | 20 48 61 79 65 73 20 3c | Terry| Hayes <|
|00000e70| 74 68 61 79 65 73 40 6e | 65 74 73 63 61 70 65 2e |thayes@n|etscape.|
|00000e80| 63 6f 6d 3e 0a 20 2a 0a | 20 2a 20 41 6c 74 65 72 |com>. *.| * Alter|
|00000e90| 6e 61 74 69 76 65 6c 79 | 2c 20 74 68 65 20 63 6f |natively|, the co|
|00000ea0| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 69 73 20 66 |ntents o|f this f|
|00000eb0| 69 6c 65 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |ile may |be used |
|00000ec0| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00000ed0| 6f 66 0a 20 2a 20 65 69 | 74 68 65 72 20 74 68 65 |of. * ei|ther the|
|00000ee0| 20 47 4e 55 20 47 65 6e | 65 72 61 6c 20 50 75 62 | GNU Gen|eral Pub|
|00000ef0| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 56 65 72 73 |lic Lice|nse Vers|
|00000f00| 69 6f 6e 20 32 20 6f 72 | 20 6c 61 74 65 72 20 28 |ion 2 or| later (|
|00000f10| 74 68 65 20 22 47 50 4c | 22 29 2c 20 6f 72 0a 20 |the "GPL|"), or. |
|00000f20| 2a 20 74 68 65 20 47 4e | 55 20 4c 65 73 73 65 72 |* the GN|U Lesser|
|00000f30| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|00000f40| 4c 69 63 65 6e 73 65 20 | 56 65 72 73 69 6f 6e 20 |License |Version |
|00000f50| 32 2e 31 20 6f 72 20 6c | 61 74 65 72 20 28 74 68 |2.1 or l|ater (th|
|00000f60| 65 20 22 4c 47 50 4c 22 | 29 2c 0a 20 2a 20 69 6e |e "LGPL"|),. * in|
|00000f70| 20 77 68 69 63 68 20 63 | 61 73 65 20 74 68 65 20 | which c|ase the |
|00000f80| 70 72 6f 76 69 73 69 6f | 6e 73 20 6f 66 20 74 68 |provisio|ns of th|
|00000f90| 65 20 47 50 4c 20 6f 72 | 20 74 68 65 20 4c 47 50 |e GPL or| the LGP|
|00000fa0| 4c 20 61 72 65 20 61 70 | 70 6c 69 63 61 62 6c 65 |L are ap|plicable|
|00000fb0| 20 69 6e 73 74 65 61 64 | 0a 20 2a 20 6f 66 20 74 | instead|. * of t|
|00000fc0| 68 6f 73 65 20 61 62 6f | 76 65 2e 20 49 66 20 79 |hose abo|ve. If y|
|00000fd0| 6f 75 20 77 69 73 68 20 | 74 6f 20 61 6c 6c 6f 77 |ou wish |to allow|
|00000fe0| 20 75 73 65 20 6f 66 20 | 79 6f 75 72 20 76 65 72 | use of |your ver|
|00000ff0| 73 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 66 69 6c |sion of |this fil|
|00001000| 65 20 6f 6e 6c 79 0a 20 | 2a 20 75 6e 64 65 72 20 |e only. |* under |
|00001010| 74 68 65 20 74 65 72 6d | 73 20 6f 66 20 65 69 74 |the term|s of eit|
|00001020| 68 65 72 20 74 68 65 20 | 47 50 4c 20 6f 72 20 74 |her the |GPL or t|
|00001030| 68 65 20 4c 47 50 4c 2c | 20 61 6e 64 20 6e 6f 74 |he LGPL,| and not|
|00001040| 20 74 6f 20 61 6c 6c 6f | 77 20 6f 74 68 65 72 73 | to allo|w others|
|00001050| 20 74 6f 0a 20 2a 20 75 | 73 65 20 79 6f 75 72 20 | to. * u|se your |
|00001060| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 69 73 20 |version |of this |
|00001070| 66 69 6c 65 20 75 6e 64 | 65 72 20 74 68 65 20 74 |file und|er the t|
|00001080| 65 72 6d 73 20 6f 66 20 | 74 68 65 20 4d 50 4c 2c |erms of |the MPL,|
|00001090| 20 69 6e 64 69 63 61 74 | 65 20 79 6f 75 72 0a 20 | indicat|e your. |
|000010a0| 2a 20 64 65 63 69 73 69 | 6f 6e 20 62 79 20 64 65 |* decisi|on by de|
|000010b0| 6c 65 74 69 6e 67 20 74 | 68 65 20 70 72 6f 76 69 |leting t|he provi|
|000010c0| 73 69 6f 6e 73 20 61 62 | 6f 76 65 20 61 6e 64 20 |sions ab|ove and |
|000010d0| 72 65 70 6c 61 63 65 20 | 74 68 65 6d 20 77 69 74 |replace |them wit|
|000010e0| 68 20 74 68 65 20 6e 6f | 74 69 63 65 0a 20 2a 20 |h the no|tice. * |
|000010f0| 61 6e 64 20 6f 74 68 65 | 72 20 70 72 6f 76 69 73 |and othe|r provis|
|00001100| 69 6f 6e 73 20 72 65 71 | 75 69 72 65 64 20 62 79 |ions req|uired by|
|00001110| 20 74 68 65 20 47 50 4c | 20 6f 72 20 74 68 65 20 | the GPL| or the |
|00001120| 4c 47 50 4c 2e 20 49 66 | 20 79 6f 75 20 64 6f 20 |LGPL. If| you do |
|00001130| 6e 6f 74 20 64 65 6c 65 | 74 65 0a 20 2a 20 74 68 |not dele|te. * th|
|00001140| 65 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 61 62 6f |e provis|ions abo|
|00001150| 76 65 2c 20 61 20 72 65 | 63 69 70 69 65 6e 74 20 |ve, a re|cipient |
|00001160| 6d 61 79 20 75 73 65 20 | 79 6f 75 72 20 76 65 72 |may use |your ver|
|00001170| 73 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 66 69 6c |sion of |this fil|
|00001180| 65 20 75 6e 64 65 72 0a | 20 2a 20 74 68 65 20 74 |e under.| * the t|
|00001190| 65 72 6d 73 20 6f 66 20 | 61 6e 79 20 6f 6e 65 20 |erms of |any one |
|000011a0| 6f 66 20 74 68 65 20 4d | 50 4c 2c 20 74 68 65 20 |of the M|PL, the |
|000011b0| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2e |GPL or t|he LGPL.|
|000011c0| 0a 20 2a 0a 20 2a 20 2a | 2a 2a 2a 2a 20 45 4e 44 |. *. * *|**** END|
|000011d0| 20 4c 49 43 45 4e 53 45 | 20 42 4c 4f 43 4b 20 2a | LICENSE| BLOCK *|
|000011e0| 2a 2a 2a 2a 20 2a 2f 0a | 63 6f 6e 73 74 20 6e 73 |**** */.|const ns|
|000011f0| 50 4b 31 31 54 6f 6b 65 | 6e 44 42 20 3d 20 22 40 |PK11Toke|nDB = "@|
|00001200| 6d 6f 7a 69 6c 6c 61 2e | 6f 72 67 2f 73 65 63 75 |mozilla.|org/secu|
|00001210| 72 69 74 79 2f 70 6b 31 | 31 74 6f 6b 65 6e 64 62 |rity/pk1|1tokendb|
|00001220| 3b 31 22 3b 0a 63 6f 6e | 73 74 20 6e 73 49 50 4b |;1";.con|st nsIPK|
|00001230| 31 31 54 6f 6b 65 6e 44 | 42 20 3d 20 43 6f 6d 70 |11TokenD|B = Comp|
|00001240| 6f 6e 65 6e 74 73 2e 69 | 6e 74 65 72 66 61 63 65 |onents.i|nterface|
|00001250| 73 2e 6e 73 49 50 4b 31 | 31 54 6f 6b 65 6e 44 42 |s.nsIPK1|1TokenDB|
|00001260| 3b 0a 63 6f 6e 73 74 20 | 6e 73 49 44 69 61 6c 6f |;.const |nsIDialo|
|00001270| 67 50 61 72 61 6d 42 6c | 6f 63 6b 20 3d 20 43 6f |gParamBl|ock = Co|
|00001280| 6d 70 6f 6e 65 6e 74 73 | 2e 69 6e 74 65 72 66 61 |mponents|.interfa|
|00001290| 63 65 73 2e 6e 73 49 44 | 69 61 6c 6f 67 50 61 72 |ces.nsID|ialogPar|
|000012a0| 61 6d 42 6c 6f 63 6b 3b | 0a 63 6f 6e 73 74 20 6e |amBlock;|.const n|
|000012b0| 73 50 4b 43 53 31 31 4d | 6f 64 75 6c 65 44 42 20 |sPKCS11M|oduleDB |
|000012c0| 3d 20 22 40 6d 6f 7a 69 | 6c 6c 61 2e 6f 72 67 2f |= "@mozi|lla.org/|
|000012d0| 73 65 63 75 72 69 74 79 | 2f 70 6b 63 73 31 31 6d |security|/pkcs11m|
|000012e0| 6f 64 75 6c 65 64 62 3b | 31 22 3b 0a 63 6f 6e 73 |oduledb;|1";.cons|
|000012f0| 74 20 6e 73 49 50 4b 43 | 53 31 31 4d 6f 64 75 6c |t nsIPKC|S11Modul|
|00001300| 65 44 42 20 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |eDB = Co|mponents|
|00001310| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 50 |.interfa|ces.nsIP|
|00001320| 4b 43 53 31 31 4d 6f 64 | 75 6c 65 44 42 3b 0a 63 |KCS11Mod|uleDB;.c|
|00001330| 6f 6e 73 74 20 6e 73 49 | 50 4b 43 53 31 31 53 6c |onst nsI|PKCS11Sl|
|00001340| 6f 74 20 3d 20 43 6f 6d | 70 6f 6e 65 6e 74 73 2e |ot = Com|ponents.|
|00001350| 69 6e 74 65 72 66 61 63 | 65 73 2e 6e 73 49 50 4b |interfac|es.nsIPK|
|00001360| 43 53 31 31 53 6c 6f 74 | 3b 0a 63 6f 6e 73 74 20 |CS11Slot|;.const |
|00001370| 6e 73 49 50 4b 31 31 54 | 6f 6b 65 6e 20 3d 20 43 |nsIPK11T|oken = C|
|00001380| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 69 6e 74 65 72 66 |omponent|s.interf|
|00001390| 61 63 65 73 2e 6e 73 49 | 50 4b 31 31 54 6f 6b 65 |aces.nsI|PK11Toke|
|000013a0| 6e 3b 0a 0a 0a 76 61 72 | 20 70 61 72 61 6d 73 3b |n;...var| params;|
|000013b0| 0a 76 61 72 20 74 6f 6b | 65 6e 4e 61 6d 65 3d 22 |.var tok|enName="|
|000013c0| 22 3b 0a 76 61 72 20 70 | 77 31 3b 0a 0a 66 75 6e |";.var p|w1;..fun|
|000013d0| 63 74 69 6f 6e 20 6f 6e | 4c 6f 61 64 28 29 0a 7b |ction on|Load().{|
|000013e0| 0a 20 20 64 6f 63 75 6d | 65 6e 74 2e 64 6f 63 75 |. docum|ent.docu|
|000013f0| 6d 65 6e 74 45 6c 65 6d | 65 6e 74 2e 67 65 74 42 |mentElem|ent.getB|
|00001400| 75 74 74 6f 6e 28 22 61 | 63 63 65 70 74 22 29 2e |utton("a|ccept").|
|00001410| 64 69 73 61 62 6c 65 64 | 20 3d 20 74 72 75 65 3b |disabled| = true;|
|00001420| 0a 0a 20 20 70 77 31 20 | 3d 20 64 6f 63 75 6d 65 |.. pw1 |= docume|
|00001430| 6e 74 2e 67 65 74 45 6c | 65 6d 65 6e 74 42 79 49 |nt.getEl|ementByI|
|00001440| 64 28 22 70 77 31 22 29 | 3b 0a 20 20 74 72 79 20 |d("pw1")|;. try |
|00001450| 7b 0a 20 20 20 20 20 70 | 61 72 61 6d 73 20 3d 20 |{. p|arams = |
|00001460| 77 69 6e 64 6f 77 2e 61 | 72 67 75 6d 65 6e 74 73 |window.a|rguments|
|00001470| 5b 30 5d 2e 51 75 65 72 | 79 49 6e 74 65 72 66 61 |[0].Quer|yInterfa|
|00001480| 63 65 28 6e 73 49 44 69 | 61 6c 6f 67 50 61 72 61 |ce(nsIDi|alogPara|
|00001490| 6d 42 6c 6f 63 6b 29 3b | 0a 20 20 20 20 20 74 6f |mBlock);|. to|
|000014a0| 6b 65 6e 4e 61 6d 65 20 | 3d 20 70 61 72 61 6d 73 |kenName |= params|
|000014b0| 2e 47 65 74 53 74 72 69 | 6e 67 28 31 29 3b 0a 20 |.GetStri|ng(1);. |
|000014c0| 20 7d 20 63 61 74 63 68 | 28 65 78 63 65 70 74 69 | } catch|(excepti|
|000014d0| 6f 6e 29 20 7b 0a 20 20 | 20 20 20 20 2f 2f 20 74 |on) {. | // t|
|000014e0| 68 69 73 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 68 |his shou|ld not h|
|000014f0| 61 70 70 65 6e 2e 0a 20 | 20 20 20 20 20 2f 2f 20 |appen.. | // |
|00001500| 70 72 65 76 69 6f 75 73 | 6c 79 20 77 65 20 68 61 |previous|ly we ha|
|00001510| 64 20 73 65 6c 66 2e 6e | 61 6d 65 2c 20 62 75 74 |d self.n|ame, but|
|00001520| 20 73 65 6c 66 2e 6e 61 | 6d 65 20 77 61 73 20 61 | self.na|me was a|
|00001530| 20 62 61 64 20 69 64 65 | 61 0a 20 20 20 20 20 20 | bad ide|a. |
|00001540| 2f 2f 20 61 73 20 77 69 | 6e 64 6f 77 20 6e 61 6d |// as wi|ndow nam|
|00001550| 65 20 6d 75 73 74 20 62 | 65 20 61 20 73 75 62 73 |e must b|e a subs|
|00001560| 65 74 20 6f 66 20 61 73 | 63 69 69 2c 20 61 6e 64 |et of as|cii, and|
|00001570| 20 74 68 65 20 63 6f 64 | 65 20 77 61 73 0a 20 20 | the cod|e was. |
|00001580| 20 20 20 20 2f 2f 20 70 | 72 65 76 69 6f 75 73 6c | // p|reviousl|
|00001590| 79 20 74 72 79 69 6e 67 | 20 74 6f 20 61 73 73 69 |y trying| to assi|
|000015a0| 67 6e 20 75 6e 69 63 6f | 64 65 20 74 6f 20 74 68 |gn unico|de to th|
|000015b0| 65 20 77 69 6e 64 6f 77 | 27 73 20 6e 61 6d 65 2e |e window|'s name.|
|000015c0| 0a 20 20 20 20 20 20 2f | 2f 20 49 20 63 68 65 63 |. /|/ I chec|
|000015d0| 6b 65 64 20 61 6c 6c 20 | 74 68 65 20 70 6c 61 63 |ked all |the plac|
|000015e0| 65 73 20 77 68 65 72 65 | 20 77 65 20 67 65 74 20 |es where| we get |
|000015f0| 61 20 70 61 73 73 77 6f | 72 64 20 70 72 6f 6d 70 |a passwo|rd promp|
|00001600| 74 20 61 6e 64 0a 20 20 | 20 20 20 20 2f 2f 20 61 |t and. | // a|
|00001610| 6c 6c 20 6f 66 20 74 68 | 65 6d 20 70 61 73 73 20 |ll of th|em pass |
|00001620| 61 6e 20 61 72 67 75 6d | 65 6e 74 20 61 73 20 70 |an argum|ent as p|
|00001630| 61 72 74 20 6f 66 20 74 | 68 69 73 20 70 61 74 63 |art of t|his patc|
|00001640| 68 2e 0a 20 20 20 20 20 | 20 74 6f 6b 65 6e 4e 61 |h.. | tokenNa|
|00001650| 6d 65 3d 22 22 3b 0a 20 | 20 7d 0a 20 20 20 20 20 |me="";. | }. |
|00001660| 20 0a 0a 20 20 69 66 28 | 74 6f 6b 65 6e 4e 61 6d | .. if(|tokenNam|
|00001670| 65 3d 3d 22 22 29 20 7b | 0a 20 20 20 20 20 76 61 |e=="") {|. va|
|00001680| 72 20 73 65 63 74 6f 6b | 64 62 20 3d 20 43 6f 6d |r sectok|db = Com|
|00001690| 70 6f 6e 65 6e 74 73 2e | 63 6c 61 73 73 65 73 5b |ponents.|classes[|
|000016a0| 6e 73 50 4b 31 31 54 6f | 6b 65 6e 44 42 5d 2e 67 |nsPK11To|kenDB].g|
|000016b0| 65 74 53 65 72 76 69 63 | 65 28 6e 73 49 50 4b 31 |etServic|e(nsIPK1|
|000016c0| 31 54 6f 6b 65 6e 44 42 | 29 3b 0a 20 20 20 20 20 |1TokenDB|);. |
|000016d0| 76 61 72 20 74 6f 6b 65 | 6e 4c 69 73 74 20 3d 20 |var toke|nList = |
|000016e0| 73 65 63 74 6f 6b 64 62 | 2e 6c 69 73 74 54 6f 6b |sectokdb|.listTok|
|000016f0| 65 6e 73 28 29 3b 0a 20 | 20 20 20 20 76 61 72 20 |ens();. | var |
|00001700| 65 6e 75 6d 45 6c 65 6d | 65 6e 74 3b 0a 20 20 20 |enumElem|ent;. |
|00001710| 20 20 76 61 72 20 69 3d | 30 3b 0a 20 20 20 20 20 | var i=|0;. |
|00001720| 76 61 72 20 6d 65 6e 75 | 20 3d 20 64 6f 63 75 6d |var menu| = docum|
|00001730| 65 6e 74 2e 67 65 74 45 | 6c 65 6d 65 6e 74 42 79 |ent.getE|lementBy|
|00001740| 49 64 28 22 74 6f 6b 65 | 6e 4d 65 6e 75 22 29 3b |Id("toke|nMenu");|
|00001750| 0a 20 20 20 20 20 74 72 | 79 20 7b 0a 20 20 20 20 |. tr|y {. |
|00001760| 20 20 20 20 66 6f 72 20 | 28 20 3b 20 21 74 6f 6b | for |( ; !tok|
|00001770| 65 6e 4c 69 73 74 2e 69 | 73 44 6f 6e 65 28 29 3b |enList.i|sDone();|
|00001780| 20 74 6f 6b 65 6e 4c 69 | 73 74 2e 6e 65 78 74 28 | tokenLi|st.next(|
|00001790| 29 29 20 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |)) {. | |
|000017a0| 65 6e 75 6d 45 6c 65 6d | 65 6e 74 20 3d 20 74 6f |enumElem|ent = to|
|000017b0| 6b 65 6e 4c 69 73 74 2e | 63 75 72 72 65 6e 74 49 |kenList.|currentI|
|000017c0| 74 65 6d 28 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |tem();. | |
|000017d0| 20 20 76 61 72 20 74 6f | 6b 65 6e 20 3d 20 65 6e | var to|ken = en|
|000017e0| 75 6d 45 6c 65 6d 65 6e | 74 2e 51 75 65 72 79 49 |umElemen|t.QueryI|
|000017f0| 6e 74 65 72 66 61 63 65 | 28 6e 73 49 50 4b 31 31 |nterface|(nsIPK11|
|00001800| 54 6f 6b 65 6e 29 3b 0a | 20 20 20 20 20 20 20 20 |Token);.| |
|00001810| 20 20 20 69 66 28 74 6f | 6b 65 6e 2e 6e 65 65 64 | if(to|ken.need|
|00001820| 73 4c 6f 67 69 6e 28 29 | 20 7c 7c 20 21 28 74 6f |sLogin()| || !(to|
|00001830| 6b 65 6e 2e 6e 65 65 64 | 73 55 73 65 72 49 6e 69 |ken.need|sUserIni|
|00001840| 74 29 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |t)) {. | |
|00001850| 20 20 20 20 76 61 72 20 | 6d 65 6e 75 49 74 65 6d | var |menuItem|
|00001860| 4e 6f 64 65 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |Node = d|ocument.|
|00001870| 63 72 65 61 74 65 45 6c | 65 6d 65 6e 74 28 22 6d |createEl|ement("m|
|00001880| 65 6e 75 69 74 65 6d 22 | 29 3b 0a 20 20 20 20 20 |enuitem"|);. |
|00001890| 20 20 20 20 20 20 20 20 | 20 6d 65 6e 75 49 74 65 | | menuIte|
|000018a0| 6d 4e 6f 64 65 2e 73 65 | 74 41 74 74 72 69 62 75 |mNode.se|tAttribu|
|000018b0| 74 65 28 22 76 61 6c 75 | 65 22 2c 20 74 6f 6b 65 |te("valu|e", toke|
|000018c0| 6e 2e 74 6f 6b 65 6e 4e | 61 6d 65 29 3b 0a 20 20 |n.tokenN|ame);. |
|000018d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 65 6e 75 | | menu|
|000018e0| 49 74 65 6d 4e 6f 64 65 | 2e 73 65 74 41 74 74 72 |ItemNode|.setAttr|
|000018f0| 69 62 75 74 65 28 22 6c | 61 62 65 6c 22 2c 20 74 |ibute("l|abel", t|
|00001900| 6f 6b 65 6e 2e 74 6f 6b | 65 6e 4e 61 6d 65 29 3b |oken.tok|enName);|
|00001910| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d |. | m|
|00001920| 65 6e 75 2e 66 69 72 73 | 74 43 68 69 6c 64 2e 61 |enu.firs|tChild.a|
|00001930| 70 70 65 6e 64 43 68 69 | 6c 64 28 6d 65 6e 75 49 |ppendChi|ld(menuI|
|00001940| 74 65 6d 4e 6f 64 65 29 | 3b 0a 20 20 20 20 20 20 |temNode)|;. |
|00001950| 20 20 20 20 20 20 20 20 | 69 66 20 28 69 20 3d 3d | |if (i ==|
|00001960| 20 30 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 | 0) {. | |
|00001970| 20 20 20 20 20 20 20 6d | 65 6e 75 2e 73 65 6c 65 | m|enu.sele|
|00001980| 63 74 65 64 49 74 65 6d | 20 3d 20 6d 65 6e 75 49 |ctedItem| = menuI|
|00001990| 74 65 6d 4e 6f 64 65 3b | 0a 20 20 20 20 20 20 20 |temNode;|. |
|000019a0| 20 20 20 20 20 20 20 20 | 20 20 74 6f 6b 65 6e 4e | | tokenN|
|000019b0| 61 6d 65 20 3d 20 74 6f | 6b 65 6e 2e 74 6f 6b 65 |ame = to|ken.toke|
|000019c0| 6e 4e 61 6d 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |nName;. | |
|000019d0| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 20 | }. | |
|000019e0| 20 20 20 20 20 69 2b 2b | 3b 0a 20 20 20 20 20 20 | i++|;. |
|000019f0| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 7d | }. | }|
|00001a00| 0a 20 20 20 20 20 7d 63 | 61 74 63 68 28 65 78 63 |. }c|atch(exc|
|00001a10| 65 70 74 69 6f 6e 29 7b | 7d 0a 20 20 7d 20 65 6c |eption){|}. } el|
|00001a20| 73 65 20 7b 0a 20 20 20 | 20 76 61 72 20 73 65 6c |se {. | var sel|
|00001a30| 20 3d 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 | = docum|ent.getE|
|00001a40| 6c 65 6d 65 6e 74 42 79 | 49 64 28 22 74 6f 6b 65 |lementBy|Id("toke|
|00001a50| 6e 4d 65 6e 75 22 29 3b | 0a 20 20 20 20 73 65 6c |nMenu");|. sel|
|00001a60| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 22 68 |.setAttr|ibute("h|
|00001a70| 69 64 64 65 6e 22 2c 20 | 22 74 72 75 65 22 29 3b |idden", |"true");|
|00001a80| 0a 20 20 20 20 76 61 72 | 20 74 61 67 20 3d 20 64 |. var| tag = d|
|00001a90| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|00001aa0| 6e 74 42 79 49 64 28 22 | 74 6f 6b 65 6e 4e 61 6d |ntById("|tokenNam|
|00001ab0| 65 22 29 3b 0a 20 20 20 | 20 74 61 67 2e 73 65 74 |e");. | tag.set|
|00001ac0| 41 74 74 72 69 62 75 74 | 65 28 22 76 61 6c 75 65 |Attribut|e("value|
|00001ad0| 22 2c 74 6f 6b 65 6e 4e | 61 6d 65 29 3b 0a 20 20 |",tokenN|ame);. |
|00001ae0| 7d 0a 09 20 09 20 0a 20 | 20 70 72 6f 63 65 73 73 |}.. . . | process|
|00001af0| 28 29 3b 0a 7d 0a 0a 66 | 75 6e 63 74 69 6f 6e 20 |();.}..f|unction |
|00001b00| 6f 6e 4d 65 6e 75 43 68 | 61 6e 67 65 28 29 0a 7b |onMenuCh|ange().{|
|00001b10| 0a 20 20 20 2f 2f 67 65 | 74 20 74 68 65 20 73 65 |. //ge|t the se|
|00001b20| 6c 65 63 74 65 64 20 74 | 6f 6b 65 6e 0a 20 20 20 |lected t|oken. |
|00001b30| 76 61 72 20 6c 69 73 74 | 20 3d 20 64 6f 63 75 6d |var list| = docum|
|00001b40| 65 6e 74 2e 67 65 74 45 | 6c 65 6d 65 6e 74 42 79 |ent.getE|lementBy|
|00001b50| 49 64 28 22 74 6f 6b 65 | 6e 4d 65 6e 75 22 29 3b |Id("toke|nMenu");|
|00001b60| 0a 20 20 20 74 6f 6b 65 | 6e 4e 61 6d 65 20 3d 20 |. toke|nName = |
|00001b70| 6c 69 73 74 2e 76 61 6c | 75 65 3b 0a 0a 20 20 20 |list.val|ue;.. |
|00001b80| 70 72 6f 63 65 73 73 28 | 29 3b 0a 7d 0a 0a 0a 66 |process(|);.}...f|
|00001b90| 75 6e 63 74 69 6f 6e 20 | 70 72 6f 63 65 73 73 28 |unction |process(|
|00001ba0| 29 0a 7b 0a 20 20 20 76 | 61 72 20 73 65 63 6d 6f |).{. v|ar secmo|
|00001bb0| 64 64 62 20 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |ddb = Co|mponents|
|00001bc0| 2e 63 6c 61 73 73 65 73 | 5b 6e 73 50 4b 43 53 31 |.classes|[nsPKCS1|
|00001bd0| 31 4d 6f 64 75 6c 65 44 | 42 5d 2e 67 65 74 53 65 |1ModuleD|B].getSe|
|00001be0| 72 76 69 63 65 28 6e 73 | 49 50 4b 43 53 31 31 4d |rvice(ns|IPKCS11M|
|00001bf0| 6f 64 75 6c 65 44 42 29 | 3b 0a 20 20 20 76 61 72 |oduleDB)|;. var|
|00001c00| 20 62 75 6e 64 6c 65 20 | 3d 20 73 72 47 65 74 53 | bundle |= srGetS|
|00001c10| 74 72 42 75 6e 64 6c 65 | 28 22 63 68 72 6f 6d 65 |trBundle|("chrome|
|00001c20| 3a 2f 2f 70 69 70 70 6b | 69 2f 6c 6f 63 61 6c 65 |://pippk|i/locale|
|00001c30| 2f 70 69 70 70 6b 69 2e | 70 72 6f 70 65 72 74 69 |/pippki.|properti|
|00001c40| 65 73 22 29 3b 0a 0a 20 | 20 20 2f 2f 20 49 66 20 |es");.. | // If |
|00001c50| 74 68 65 20 74 6f 6b 65 | 6e 20 69 73 20 75 6e 69 |the toke|n is uni|
|00001c60| 74 69 61 6c 69 7a 65 64 | 2c 20 64 6f 6e 27 74 20 |tialized|, don't |
|00001c70| 75 73 65 20 74 68 65 20 | 6f 6c 64 20 70 61 73 73 |use the |old pass|
|00001c80| 77 6f 72 64 20 62 6f 78 | 2e 0a 20 20 20 2f 2f 20 |word box|.. // |
|00001c90| 4f 74 68 65 72 77 69 73 | 65 2c 20 64 6f 2e 0a 0a |Otherwis|e, do...|
|00001ca0| 20 20 20 76 61 72 20 73 | 6c 6f 74 20 3d 20 73 65 | var s|lot = se|
|00001cb0| 63 6d 6f 64 64 62 2e 66 | 69 6e 64 53 6c 6f 74 42 |cmoddb.f|indSlotB|
|00001cc0| 79 4e 61 6d 65 28 74 6f | 6b 65 6e 4e 61 6d 65 29 |yName(to|kenName)|
|00001cd0| 3b 0a 20 20 20 69 66 20 | 28 73 6c 6f 74 29 20 7b |;. if |(slot) {|
|00001ce0| 0a 20 20 20 20 20 76 61 | 72 20 6f 6c 64 70 77 62 |. va|r oldpwb|
|00001cf0| 6f 78 20 3d 20 64 6f 63 | 75 6d 65 6e 74 2e 67 65 |ox = doc|ument.ge|
|00001d00| 74 45 6c 65 6d 65 6e 74 | 42 79 49 64 28 22 6f 6c |tElement|ById("ol|
|00001d10| 64 70 77 22 29 3b 0a 20 | 20 20 20 20 76 61 72 20 |dpw");. | var |
|00001d20| 6d 73 67 42 6f 78 20 3d | 20 64 6f 63 75 6d 65 6e |msgBox =| documen|
|00001d30| 74 2e 67 65 74 45 6c 65 | 6d 65 6e 74 42 79 49 64 |t.getEle|mentById|
|00001d40| 28 22 6d 65 73 73 61 67 | 65 22 29 3b 0a 20 20 20 |("messag|e");. |
|00001d50| 20 20 76 61 72 20 73 74 | 61 74 75 73 20 3d 20 73 | var st|atus = s|
|00001d60| 6c 6f 74 2e 73 74 61 74 | 75 73 3b 0a 20 20 20 20 |lot.stat|us;. |
|00001d70| 20 69 66 20 28 73 74 61 | 74 75 73 20 3d 3d 20 6e | if (sta|tus == n|
|00001d80| 73 49 50 4b 43 53 31 31 | 53 6c 6f 74 2e 53 4c 4f |sIPKCS11|Slot.SLO|
|00001d90| 54 5f 55 4e 49 4e 49 54 | 49 41 4c 49 5a 45 44 0a |T_UNINIT|IALIZED.|
|00001da0| 20 20 20 20 20 20 20 20 | 20 7c 7c 20 73 74 61 74 | | || stat|
|00001db0| 75 73 20 3d 3d 20 6e 73 | 49 50 4b 43 53 31 31 53 |us == ns|IPKCS11S|
|00001dc0| 6c 6f 74 2e 53 4c 4f 54 | 5f 52 45 41 44 59 29 20 |lot.SLOT|_READY) |
|00001dd0| 7b 0a 20 20 20 20 20 20 | 0a 20 20 20 20 20 20 20 |{. |. |
|00001de0| 6f 6c 64 70 77 62 6f 78 | 2e 73 65 74 41 74 74 72 |oldpwbox|.setAttr|
|00001df0| 69 62 75 74 65 28 22 68 | 69 64 64 65 6e 22 2c 20 |ibute("h|idden", |
|00001e00| 22 74 72 75 65 22 29 3b | 0a 20 20 20 20 20 20 20 |"true");|. |
|00001e10| 6d 73 67 42 6f 78 2e 73 | 65 74 41 74 74 72 69 62 |msgBox.s|etAttrib|
|00001e20| 75 74 65 28 22 76 61 6c | 75 65 22 2c 20 62 75 6e |ute("val|ue", bun|
|00001e30| 64 6c 65 2e 47 65 74 53 | 74 72 69 6e 67 46 72 6f |dle.GetS|tringFro|
|00001e40| 6d 4e 61 6d 65 28 22 70 | 61 73 73 77 6f 72 64 5f |mName("p|assword_|
|00001e50| 6e 6f 74 5f 73 65 74 22 | 29 29 3b 20 0a 20 20 20 |not_set"|)); . |
|00001e60| 20 20 20 20 6d 73 67 42 | 6f 78 2e 73 65 74 41 74 | msgB|ox.setAt|
|00001e70| 74 72 69 62 75 74 65 28 | 22 68 69 64 64 65 6e 22 |tribute(|"hidden"|
|00001e80| 2c 20 22 66 61 6c 73 65 | 22 29 3b 0a 0a 20 20 20 |, "false|");.. |
|00001e90| 20 20 20 20 69 66 20 28 | 73 74 61 74 75 73 20 3d | if (|status =|
|00001ea0| 3d 20 6e 73 49 50 4b 43 | 53 31 31 53 6c 6f 74 2e |= nsIPKC|S11Slot.|
|00001eb0| 53 4c 4f 54 5f 52 45 41 | 44 59 29 20 7b 0a 20 20 |SLOT_REA|DY) {. |
|00001ec0| 20 20 20 20 20 20 20 6f | 6c 64 70 77 62 6f 78 2e | o|ldpwbox.|
|00001ed0| 73 65 74 41 74 74 72 69 | 62 75 74 65 28 22 69 6e |setAttri|bute("in|
|00001ee0| 69 74 65 64 22 2c 20 22 | 65 6d 70 74 79 22 29 3b |ited", "|empty");|
|00001ef0| 0a 20 20 20 20 20 20 20 | 7d 20 65 6c 73 65 20 7b |. |} else {|
|00001f00| 0a 20 20 20 20 20 20 20 | 20 20 6f 6c 64 70 77 62 |. | oldpwb|
|00001f10| 6f 78 2e 73 65 74 41 74 | 74 72 69 62 75 74 65 28 |ox.setAt|tribute(|
|00001f20| 22 69 6e 69 74 65 64 22 | 2c 20 22 74 72 75 65 22 |"inited"|, "true"|
|00001f30| 29 3b 0a 20 20 20 20 20 | 20 20 7d 0a 20 20 20 20 |);. | }. |
|00001f40| 20 20 0a 20 20 20 20 20 | 20 20 2f 2f 20 53 65 6c | . | // Sel|
|00001f50| 65 63 74 20 66 69 72 73 | 74 20 70 61 73 73 77 6f |ect firs|t passwo|
|00001f60| 72 64 20 66 69 65 6c 64 | 0a 20 20 20 20 20 20 20 |rd field|. |
|00001f70| 64 6f 63 75 6d 65 6e 74 | 2e 67 65 74 45 6c 65 6d |document|.getElem|
|00001f80| 65 6e 74 42 79 49 64 28 | 27 70 77 31 27 29 2e 66 |entById(|'pw1').f|
|00001f90| 6f 63 75 73 28 29 3b 0a | 20 20 20 20 0a 20 20 20 |ocus();.| . |
|00001fa0| 20 20 7d 20 65 6c 73 65 | 20 7b 0a 20 20 20 20 20 | } else| {. |
|00001fb0| 20 20 2f 2f 20 53 65 6c | 65 63 74 20 6f 6c 64 20 | // Sel|ect old |
|00001fc0| 70 61 73 73 77 6f 72 64 | 20 66 69 65 6c 64 0a 20 |password| field. |
|00001fd0| 20 20 20 20 20 20 6f 6c | 64 70 77 62 6f 78 2e 73 | ol|dpwbox.s|
|00001fe0| 65 74 41 74 74 72 69 62 | 75 74 65 28 22 68 69 64 |etAttrib|ute("hid|
|00001ff0| 64 65 6e 22 2c 20 22 66 | 61 6c 73 65 22 29 3b 0a |den", "f|alse");.|
|00002000| 20 20 20 20 20 20 20 6d | 73 67 42 6f 78 2e 73 65 | m|sgBox.se|
|00002010| 74 41 74 74 72 69 62 75 | 74 65 28 22 68 69 64 64 |tAttribu|te("hidd|
|00002020| 65 6e 22 2c 20 22 74 72 | 75 65 22 29 3b 0a 20 20 |en", "tr|ue");. |
|00002030| 20 20 20 20 20 6f 6c 64 | 70 77 62 6f 78 2e 73 65 | old|pwbox.se|
|00002040| 74 41 74 74 72 69 62 75 | 74 65 28 22 69 6e 69 74 |tAttribu|te("init|
|00002050| 65 64 22 2c 20 22 66 61 | 6c 73 65 22 29 3b 0a 20 |ed", "fa|lse");. |
|00002060| 20 20 20 20 20 20 6f 6c | 64 70 77 62 6f 78 2e 66 | ol|dpwbox.f|
|00002070| 6f 63 75 73 28 29 3b 0a | 20 20 20 20 20 7d 0a 20 |ocus();.| }. |
|00002080| 20 20 7d 0a 0a 20 20 69 | 66 20 28 70 61 72 61 6d | }.. i|f (param|
|00002090| 73 29 20 7b 0a 20 20 20 | 20 2f 2f 20 52 65 74 75 |s) {. | // Retu|
|000020a0| 72 6e 20 76 61 6c 75 65 | 20 30 20 6d 65 61 6e 73 |rn value| 0 means|
|000020b0| 20 22 63 61 6e 63 65 6c | 65 64 22 0a 20 20 20 20 | "cancel|ed". |
|000020c0| 70 61 72 61 6d 73 2e 53 | 65 74 49 6e 74 28 31 2c |params.S|etInt(1,|
|000020d0| 20 30 29 3b 0a 20 20 7d | 0a 20 20 0a 20 20 63 68 | 0);. }|. . ch|
|000020e0| 65 63 6b 50 61 73 73 77 | 6f 72 64 73 28 29 3b 0a |eckPassw|ords();.|
|000020f0| 7d 0a 0a 66 75 6e 63 74 | 69 6f 6e 20 6f 6e 50 31 |}..funct|ion onP1|
|00002100| 32 4c 6f 61 64 28 64 69 | 73 61 62 6c 65 4f 6b 42 |2Load(di|sableOkB|
|00002110| 75 74 74 6f 6e 29 0a 7b | 0a 20 20 64 6f 63 75 6d |utton).{|. docum|
|00002120| 65 6e 74 2e 64 6f 63 75 | 6d 65 6e 74 45 6c 65 6d |ent.docu|mentElem|
|00002130| 65 6e 74 2e 67 65 74 42 | 75 74 74 6f 6e 28 22 61 |ent.getB|utton("a|
|00002140| 63 63 65 70 74 22 29 2e | 64 69 73 61 62 6c 65 64 |ccept").|disabled|
|00002150| 20 3d 20 64 69 73 61 62 | 6c 65 4f 6b 42 75 74 74 | = disab|leOkButt|
|00002160| 6f 6e 3b 0a 20 20 70 77 | 31 20 3d 20 64 6f 63 75 |on;. pw|1 = docu|
|00002170| 6d 65 6e 74 2e 67 65 74 | 45 6c 65 6d 65 6e 74 42 |ment.get|ElementB|
|00002180| 79 49 64 28 22 70 77 31 | 22 29 3b 0a 20 20 70 61 |yId("pw1|");. pa|
|00002190| 72 61 6d 73 20 3d 20 77 | 69 6e 64 6f 77 2e 61 72 |rams = w|indow.ar|
|000021a0| 67 75 6d 65 6e 74 73 5b | 30 5d 2e 51 75 65 72 79 |guments[|0].Query|
|000021b0| 49 6e 74 65 72 66 61 63 | 65 28 6e 73 49 44 69 61 |Interfac|e(nsIDia|
|000021c0| 6c 6f 67 50 61 72 61 6d | 42 6c 6f 63 6b 29 3b 0a |logParam|Block);.|
|000021d0| 20 20 2f 2f 20 53 65 6c | 65 63 74 20 66 69 72 73 | // Sel|ect firs|
|000021e0| 74 20 70 61 73 73 77 6f | 72 64 20 66 69 65 6c 64 |t passwo|rd field|
|000021f0| 0a 20 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 |. docum|ent.getE|
|00002200| 6c 65 6d 65 6e 74 42 79 | 49 64 28 27 70 77 31 27 |lementBy|Id('pw1'|
|00002210| 29 2e 66 6f 63 75 73 28 | 29 3b 0a 7d 0a 0a 66 75 |).focus(|);.}..fu|
|00002220| 6e 63 74 69 6f 6e 20 73 | 65 74 50 61 73 73 77 6f |nction s|etPasswo|
|00002230| 72 64 28 29 0a 7b 0a 20 | 20 76 61 72 20 70 6b 31 |rd().{. | var pk1|
|00002240| 31 64 62 20 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |1db = Co|mponents|
|00002250| 2e 63 6c 61 73 73 65 73 | 5b 6e 73 50 4b 31 31 54 |.classes|[nsPK11T|
|00002260| 6f 6b 65 6e 44 42 5d 2e | 67 65 74 53 65 72 76 69 |okenDB].|getServi|
|00002270| 63 65 28 6e 73 49 50 4b | 31 31 54 6f 6b 65 6e 44 |ce(nsIPK|11TokenD|
|00002280| 42 29 3b 0a 20 20 76 61 | 72 20 74 6f 6b 65 6e 20 |B);. va|r token |
|00002290| 3d 20 70 6b 31 31 64 62 | 2e 66 69 6e 64 54 6f 6b |= pk11db|.findTok|
|000022a0| 65 6e 42 79 4e 61 6d 65 | 28 74 6f 6b 65 6e 4e 61 |enByName|(tokenNa|
|000022b0| 6d 65 29 3b 0a 0a 20 20 | 76 61 72 20 6f 6c 64 70 |me);.. |var oldp|
|000022c0| 77 62 6f 78 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |wbox = d|ocument.|
|000022d0| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 22 |getEleme|ntById("|
|000022e0| 6f 6c 64 70 77 22 29 3b | 0a 20 20 76 61 72 20 69 |oldpw");|. var i|
|000022f0| 6e 69 74 70 77 20 3d 20 | 6f 6c 64 70 77 62 6f 78 |nitpw = |oldpwbox|
|00002300| 2e 67 65 74 41 74 74 72 | 69 62 75 74 65 28 22 69 |.getAttr|ibute("i|
|00002310| 6e 69 74 65 64 22 29 3b | 0a 20 20 76 61 72 20 62 |nited");|. var b|
|00002320| 75 6e 64 6c 65 20 3d 20 | 73 72 47 65 74 53 74 72 |undle = |srGetStr|
|00002330| 42 75 6e 64 6c 65 28 22 | 63 68 72 6f 6d 65 3a 2f |Bundle("|chrome:/|
|00002340| 2f 70 69 70 70 6b 69 2f | 6c 6f 63 61 6c 65 2f 70 |/pippki/|locale/p|
|00002350| 69 70 70 6b 69 2e 70 72 | 6f 70 65 72 74 69 65 73 |ippki.pr|operties|
|00002360| 22 29 3b 0a 20 20 0a 20 | 20 76 61 72 20 73 75 63 |");. . | var suc|
|00002370| 63 65 73 73 20 3d 20 66 | 61 6c 73 65 3b 0a 20 20 |cess = f|alse;. |
|00002380| 0a 20 20 69 66 20 28 69 | 6e 69 74 70 77 20 3d 3d |. if (i|nitpw ==|
|00002390| 20 22 66 61 6c 73 65 22 | 20 7c 7c 20 69 6e 69 74 | "false"| || init|
|000023a0| 70 77 20 3d 3d 20 22 65 | 6d 70 74 79 22 29 20 7b |pw == "e|mpty") {|
|000023b0| 0a 20 20 20 20 74 72 79 | 20 7b 0a 20 20 20 20 20 |. try| {. |
|000023c0| 20 76 61 72 20 6f 6c 64 | 70 77 20 3d 20 22 22 3b | var old|pw = "";|
|000023d0| 0a 20 20 20 20 20 20 76 | 61 72 20 70 61 73 73 6f |. v|ar passo|
|000023e0| 6b 20 3d 20 30 3b 0a 20 | 20 20 20 20 20 0a 20 20 |k = 0;. | . |
|000023f0| 20 20 20 20 69 66 20 28 | 69 6e 69 74 70 77 20 3d | if (|initpw =|
|00002400| 3d 20 22 65 6d 70 74 79 | 22 29 20 7b 0a 20 20 20 |= "empty|") {. |
|00002410| 20 20 20 20 20 70 61 73 | 73 6f 6b 20 3d 20 31 3b | pas|sok = 1;|
|00002420| 0a 20 20 20 20 20 20 7d | 20 65 6c 73 65 20 7b 0a |. }| else {.|
|00002430| 20 20 20 20 20 20 20 20 | 6f 6c 64 70 77 20 3d 20 | |oldpw = |
|00002440| 6f 6c 64 70 77 62 6f 78 | 2e 76 61 6c 75 65 3b 0a |oldpwbox|.value;.|
|00002450| 20 20 20 20 20 20 20 20 | 70 61 73 73 6f 6b 20 3d | |passok =|
|00002460| 20 74 6f 6b 65 6e 2e 63 | 68 65 63 6b 50 61 73 73 | token.c|heckPass|
|00002470| 77 6f 72 64 28 6f 6c 64 | 70 77 29 3b 0a 20 20 20 |word(old|pw);. |
|00002480| 20 20 20 7d 0a 20 20 20 | 20 20 20 0a 20 20 20 20 | }. | . |
|00002490| 20 20 69 66 20 28 70 61 | 73 73 6f 6b 29 20 7b 0a | if (pa|ssok) {.|
|000024a0| 20 20 20 20 20 20 20 20 | 69 66 20 28 69 6e 69 74 | |if (init|
|000024b0| 70 77 20 3d 3d 20 22 65 | 6d 70 74 79 22 20 26 26 |pw == "e|mpty" &&|
|000024c0| 20 70 77 31 2e 76 61 6c | 75 65 20 3d 3d 20 22 22 | pw1.val|ue == ""|
|000024d0| 29 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 2f 2f |) {. | //|
|000024e0| 20 54 68 69 73 20 6d 61 | 6b 65 73 20 6e 6f 20 73 | This ma|kes no s|
|000024f0| 65 6e 73 65 20 74 68 61 | 74 20 77 65 20 61 72 72 |ense tha|t we arr|
|00002500| 69 76 65 20 68 65 72 65 | 2c 20 0a 20 20 20 20 20 |ive here|, . |
|00002510| 20 20 20 20 20 2f 2f 20 | 77 65 20 72 65 61 63 68 | // |we reach|
|00002520| 65 64 20 61 20 63 61 73 | 65 20 74 68 61 74 20 73 |ed a cas|e that s|
|00002530| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|00002540| 70 72 65 76 65 6e 74 65 | 64 20 62 79 20 63 68 65 |prevente|d by che|
|00002550| 63 6b 50 61 73 73 77 6f | 72 64 73 2e 0a 20 20 20 |ckPasswo|rds.. |
|00002560| 20 20 20 20 20 7d 20 65 | 6c 73 65 20 7b 0a 20 20 | } e|lse {. |
|00002570| 20 20 20 20 20 20 20 20 | 69 66 20 28 70 77 31 2e | |if (pw1.|
|00002580| 76 61 6c 75 65 20 3d 3d | 20 22 22 29 20 7b 0a 20 |value ==| "") {. |
|00002590| 20 20 20 20 20 20 20 20 | 20 20 20 76 61 72 20 73 | | var s|
|000025a0| 65 63 6d 6f 64 64 62 20 | 3d 20 43 6f 6d 70 6f 6e |ecmoddb |= Compon|
|000025b0| 65 6e 74 73 2e 63 6c 61 | 73 73 65 73 5b 6e 73 50 |ents.cla|sses[nsP|
|000025c0| 4b 43 53 31 31 4d 6f 64 | 75 6c 65 44 42 5d 2e 67 |KCS11Mod|uleDB].g|
|000025d0| 65 74 53 65 72 76 69 63 | 65 28 6e 73 49 50 4b 43 |etServic|e(nsIPKC|
|000025e0| 53 31 31 4d 6f 64 75 6c | 65 44 42 29 3b 0a 20 20 |S11Modul|eDB);. |
|000025f0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 73 65 | | if (se|
|00002600| 63 6d 6f 64 64 62 2e 69 | 73 46 49 50 53 45 6e 61 |cmoddb.i|sFIPSEna|
|00002610| 62 6c 65 64 29 20 7b 0a | 20 20 20 20 20 20 20 20 |bled) {.| |
|00002620| 20 20 20 20 20 20 2f 2f | 20 65 6d 70 74 79 20 70 | //| empty p|
|00002630| 61 73 73 77 6f 72 64 73 | 20 61 72 65 20 6e 6f 74 |asswords| are not|
|00002640| 20 61 6c 6c 6f 77 65 64 | 20 69 6e 20 46 49 50 53 | allowed| in FIPS|
|00002650| 20 6d 6f 64 65 0a 20 20 | 20 20 20 20 20 20 20 20 | mode. | |
|00002660| 20 20 20 20 61 6c 65 72 | 74 28 62 75 6e 64 6c 65 | aler|t(bundle|
|00002670| 2e 47 65 74 53 74 72 69 | 6e 67 46 72 6f 6d 4e 61 |.GetStri|ngFromNa|
|00002680| 6d 65 28 22 70 77 5f 63 | 68 61 6e 67 65 32 65 6d |me("pw_c|hange2em|
|00002690| 70 74 79 5f 69 6e 5f 66 | 69 70 73 5f 6d 6f 64 65 |pty_in_f|ips_mode|
|000026a0| 22 29 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |"));. | |
|000026b0| 20 20 20 70 61 73 73 6f | 6b 20 3d 20 30 3b 0a 20 | passo|k = 0;. |
|000026c0| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 | | }. |
|000026d0| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|000026e0| 20 20 20 69 66 20 28 70 | 61 73 73 6f 6b 29 20 7b | if (p|assok) {|
|000026f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 74 6f 6b |. | tok|
|00002700| 65 6e 2e 63 68 61 6e 67 | 65 50 61 73 73 77 6f 72 |en.chang|ePasswor|
|00002710| 64 28 6f 6c 64 70 77 2c | 20 70 77 31 2e 76 61 6c |d(oldpw,| pw1.val|
|00002720| 75 65 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ue);. | |
|00002730| 20 69 66 20 28 70 77 31 | 2e 76 61 6c 75 65 20 3d | if (pw1|.value =|
|00002740| 3d 20 22 22 29 20 7b 0a | 20 20 20 20 20 20 20 20 |= "") {.| |
|00002750| 20 20 20 20 20 20 61 6c | 65 72 74 28 62 75 6e 64 | al|ert(bund|
|00002760| 6c 65 2e 47 65 74 53 74 | 72 69 6e 67 46 72 6f 6d |le.GetSt|ringFrom|
|00002770| 4e 61 6d 65 28 22 70 77 | 5f 65 72 61 73 65 64 5f |Name("pw|_erased_|
|00002780| 6f 6b 22 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ok"). | |
|00002790| 20 20 20 20 20 20 20 20 | 20 2b 20 22 20 22 0a 20 | | + " ". |
|000027a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027b0| 20 20 20 2b 20 62 75 6e | 64 6c 65 2e 47 65 74 53 | + bun|dle.GetS|
|000027c0| 74 72 69 6e 67 46 72 6f | 6d 4e 61 6d 65 28 22 70 |tringFro|mName("p|
|000027d0| 77 5f 65 6d 70 74 79 5f | 77 61 72 6e 69 6e 67 22 |w_empty_|warning"|
|000027e0| 29 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |));. | |
|000027f0| 7d 20 65 6c 73 65 20 7b | 0a 20 20 20 20 20 20 20 |} else {|. |
|00002800| 20 20 20 20 20 20 20 61 | 6c 65 72 74 28 62 75 6e | a|lert(bun|
|00002810| 64 6c 65 2e 47 65 74 53 | 74 72 69 6e 67 46 72 6f |dle.GetS|tringFro|
|00002820| 6d 4e 61 6d 65 28 22 70 | 77 5f 63 68 61 6e 67 65 |mName("p|w_change|
|00002830| 5f 6f 6b 22 29 29 3b 20 | 0a 20 20 20 20 20 20 20 |_ok")); |. |
|00002840| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002850| 20 20 20 73 75 63 63 65 | 73 73 20 3d 20 74 72 75 | succe|ss = tru|
|00002860| 65 3b 0a 20 20 20 20 20 | 20 20 20 20 20 7d 0a 20 |e;. | }. |
|00002870| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 7d | }|. }|
|00002880| 20 65 6c 73 65 20 7b 0a | 20 20 20 20 20 20 20 20 | else {.| |
|00002890| 6f 6c 64 70 77 62 6f 78 | 2e 66 6f 63 75 73 28 29 |oldpwbox|.focus()|
|000028a0| 3b 0a 20 20 20 20 20 20 | 20 20 6f 6c 64 70 77 62 |;. | oldpwb|
|000028b0| 6f 78 2e 73 65 74 41 74 | 74 72 69 62 75 74 65 28 |ox.setAt|tribute(|
|000028c0| 22 76 61 6c 75 65 22 2c | 20 22 22 29 3b 0a 20 20 |"value",| "");. |
|000028d0| 20 20 20 20 20 20 61 6c | 65 72 74 28 62 75 6e 64 | al|ert(bund|
|000028e0| 6c 65 2e 47 65 74 53 74 | 72 69 6e 67 46 72 6f 6d |le.GetSt|ringFrom|
|000028f0| 4e 61 6d 65 28 22 69 6e | 63 6f 72 72 65 63 74 5f |Name("in|correct_|
|00002900| 70 77 22 29 29 3b 20 0a | 20 20 20 20 20 20 7d 0a |pw")); .| }.|
|00002910| 20 20 20 20 7d 20 63 61 | 74 63 68 20 28 65 29 20 | } ca|tch (e) |
|00002920| 7b 0a 20 20 20 20 20 20 | 61 6c 65 72 74 28 62 75 |{. |alert(bu|
|00002930| 6e 64 6c 65 2e 47 65 74 | 53 74 72 69 6e 67 46 72 |ndle.Get|StringFr|
|00002940| 6f 6d 4e 61 6d 65 28 22 | 66 61 69 6c 65 64 5f 70 |omName("|failed_p|
|00002950| 77 5f 63 68 61 6e 67 65 | 22 29 29 3b 20 0a 20 20 |w_change|")); . |
|00002960| 20 20 7d 0a 20 20 7d 20 | 65 6c 73 65 20 7b 0a 20 | }. } |else {. |
|00002970| 20 20 20 74 6f 6b 65 6e | 2e 69 6e 69 74 50 61 73 | token|.initPas|
|00002980| 73 77 6f 72 64 28 70 77 | 31 2e 76 61 6c 75 65 29 |sword(pw|1.value)|
|00002990| 3b 0a 20 20 20 20 69 66 | 20 28 70 77 31 2e 76 61 |;. if| (pw1.va|
|000029a0| 6c 75 65 20 3d 3d 20 22 | 22 29 20 7b 0a 20 20 20 |lue == "|") {. |
|000029b0| 20 20 20 61 6c 65 72 74 | 28 62 75 6e 64 6c 65 2e | alert|(bundle.|
|000029c0| 47 65 74 53 74 72 69 6e | 67 46 72 6f 6d 4e 61 6d |GetStrin|gFromNam|
|000029d0| 65 28 22 70 77 5f 6e 6f | 74 5f 77 61 6e 74 65 64 |e("pw_no|t_wanted|
|000029e0| 22 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 2b |"). | +|
|000029f0| 20 22 20 22 20 0a 20 20 | 20 20 20 20 20 20 20 20 | " " . | |
|00002a00| 20 20 2b 20 62 75 6e 64 | 6c 65 2e 47 65 74 53 74 | + bund|le.GetSt|
|00002a10| 72 69 6e 67 46 72 6f 6d | 4e 61 6d 65 28 22 70 77 |ringFrom|Name("pw|
|00002a20| 5f 65 6d 70 74 79 5f 77 | 61 72 6e 69 6e 67 22 29 |_empty_w|arning")|
|00002a30| 29 3b 0a 20 20 20 20 7d | 0a 20 20 20 20 73 75 63 |);. }|. suc|
|00002a40| 63 65 73 73 20 3d 20 74 | 72 75 65 3b 0a 20 20 7d |cess = t|rue;. }|
|00002a50| 0a 0a 20 20 69 66 20 28 | 73 75 63 63 65 73 73 20 |.. if (|success |
|00002a60| 26 26 20 70 61 72 61 6d | 73 29 0a 20 20 20 20 2f |&& param|s). /|
|00002a70| 2f 20 52 65 74 75 72 6e | 20 76 61 6c 75 65 20 31 |/ Return| value 1|
|00002a80| 20 6d 65 61 6e 73 20 22 | 73 75 63 63 65 73 73 66 | means "|successf|
|00002a90| 75 6c 6c 79 20 65 78 65 | 63 75 74 65 64 20 6f 6b |ully exe|cuted ok|
|00002aa0| 22 0a 20 20 20 20 70 61 | 72 61 6d 73 2e 53 65 74 |". pa|rams.Set|
|00002ab0| 49 6e 74 28 31 2c 20 31 | 29 3b 0a 0a 20 20 2f 2f |Int(1, 1|);.. //|
|00002ac0| 20 54 65 72 6d 69 6e 61 | 74 65 20 64 69 61 6c 6f | Termina|te dialo|
|00002ad0| 67 0a 20 20 72 65 74 75 | 72 6e 20 73 75 63 63 65 |g. retu|rn succe|
|00002ae0| 73 73 3b 0a 7d 0a 0a 66 | 75 6e 63 74 69 6f 6e 20 |ss;.}..f|unction |
|00002af0| 67 65 74 50 61 73 73 77 | 6f 72 64 28 29 0a 7b 0a |getPassw|ord().{.|
|00002b00| 20 20 2f 2f 20 67 72 61 | 62 20 77 68 61 74 20 77 | // gra|b what w|
|00002b10| 61 73 20 65 6e 74 65 72 | 65 64 0a 20 20 70 61 72 |as enter|ed. par|
|00002b20| 61 6d 73 2e 53 65 74 53 | 74 72 69 6e 67 28 32 2c |ams.SetS|tring(2,|
|00002b30| 20 70 77 31 2e 76 61 6c | 75 65 29 3b 0a 20 20 2f | pw1.val|ue);. /|
|00002b40| 2f 20 52 65 74 75 72 6e | 20 76 61 6c 75 65 0a 20 |/ Return| value. |
|00002b50| 20 70 61 72 61 6d 73 2e | 53 65 74 49 6e 74 28 31 | params.|SetInt(1|
|00002b60| 2c 20 31 29 3b 0a 20 20 | 2f 2f 20 54 65 72 6d 69 |, 1);. |// Termi|
|00002b70| 6e 61 74 65 20 64 69 61 | 6c 6f 67 0a 20 20 72 65 |nate dia|log. re|
|00002b80| 74 75 72 6e 20 74 72 75 | 65 3b 0a 7d 0a 0a 66 75 |turn tru|e;.}..fu|
|00002b90| 6e 63 74 69 6f 6e 20 73 | 65 74 50 31 32 50 61 73 |nction s|etP12Pas|
|00002ba0| 73 77 6f 72 64 28 29 0a | 7b 0a 20 20 2f 2f 20 67 |sword().|{. // g|
|00002bb0| 72 61 62 20 77 68 61 74 | 20 77 61 73 20 65 6e 74 |rab what| was ent|
|00002bc0| 65 72 65 64 0a 20 20 70 | 61 72 61 6d 73 2e 53 65 |ered. p|arams.Se|
|00002bd0| 74 53 74 72 69 6e 67 28 | 32 2c 20 70 77 31 2e 76 |tString(|2, pw1.v|
|00002be0| 61 6c 75 65 29 3b 0a 20 | 20 2f 2f 20 52 65 74 75 |alue);. | // Retu|
|00002bf0| 72 6e 20 76 61 6c 75 65 | 0a 20 20 70 61 72 61 6d |rn value|. param|
|00002c00| 73 2e 53 65 74 49 6e 74 | 28 31 2c 20 31 29 3b 0a |s.SetInt|(1, 1);.|
|00002c10| 20 20 2f 2f 20 54 65 72 | 6d 69 6e 61 74 65 20 64 | // Ter|minate d|
|00002c20| 69 61 6c 6f 67 0a 20 20 | 72 65 74 75 72 6e 20 74 |ialog. |return t|
|00002c30| 72 75 65 3b 0a 7d 0a 0a | 66 75 6e 63 74 69 6f 6e |rue;.}..|function|
|00002c40| 20 73 65 74 50 61 73 73 | 77 6f 72 64 53 74 72 65 | setPass|wordStre|
|00002c50| 6e 67 74 68 28 29 0a 7b | 0a 2f 2f 20 48 65 72 65 |ngth().{|.// Here|
|00002c60| 20 69 73 20 68 6f 77 20 | 77 65 20 77 65 69 67 68 | is how |we weigh|
|00002c70| 20 74 68 65 20 71 75 61 | 6c 69 74 79 20 6f 66 20 | the qua|lity of |
|00002c80| 74 68 65 20 70 61 73 73 | 77 6f 72 64 0a 2f 2f 20 |the pass|word.// |
|00002c90| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 61 63 |number o|f charac|
|00002ca0| 74 65 72 73 0a 2f 2f 20 | 6e 75 6d 62 65 72 73 0a |ters.// |numbers.|
|00002cb0| 2f 2f 20 6e 6f 6e 2d 61 | 6c 70 68 61 2d 6e 75 6d |// non-a|lpha-num|
|00002cc0| 65 72 69 63 20 63 68 61 | 72 73 0a 2f 2f 20 75 70 |eric cha|rs.// up|
|00002cd0| 70 65 72 20 61 6e 64 20 | 6c 6f 77 65 72 20 63 61 |per and |lower ca|
|00002ce0| 73 65 20 63 68 61 72 61 | 63 74 65 72 73 0a 0a 20 |se chara|cters.. |
|00002cf0| 20 76 61 72 20 70 77 3d | 64 6f 63 75 6d 65 6e 74 | var pw=|document|
|00002d00| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00002d10| 27 70 77 31 27 29 2e 76 | 61 6c 75 65 3b 0a 2f 2f |'pw1').v|alue;.//|
|00002d20| 20 20 61 6c 65 72 74 28 | 22 70 61 73 73 77 6f 72 | alert(|"passwor|
|00002d30| 64 3d 27 22 20 2b 20 70 | 77 20 2b 22 27 22 29 3b |d='" + p|w +"'");|
|00002d40| 0a 0a 2f 2f 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |..//leng|th of th|
|00002d50| 65 20 70 61 73 73 77 6f | 72 64 0a 20 20 76 61 72 |e passwo|rd. var|
|00002d60| 20 70 77 6c 65 6e 67 74 | 68 3d 28 70 77 2e 6c 65 | pwlengt|h=(pw.le|
|00002d70| 6e 67 74 68 29 3b 0a 20 | 20 69 66 20 28 70 77 6c |ngth);. | if (pwl|
|00002d80| 65 6e 67 74 68 3e 35 29 | 0a 20 20 20 20 70 77 6c |ength>5)|. pwl|
|00002d90| 65 6e 67 74 68 3d 35 3b | 0a 0a 0a 2f 2f 75 73 65 |ength=5;|...//use|
|00002da0| 20 6f 66 20 6e 75 6d 62 | 65 72 73 20 69 6e 20 74 | of numb|ers in t|
|00002db0| 68 65 20 70 61 73 73 77 | 6f 72 64 0a 20 20 76 61 |he passw|ord. va|
|00002dc0| 72 20 6e 75 6d 6e 75 6d | 65 72 69 63 20 3d 20 70 |r numnum|eric = p|
|00002dd0| 77 2e 72 65 70 6c 61 63 | 65 20 28 2f 5b 30 2d 39 |w.replac|e (/[0-9|
|00002de0| 5d 2f 67 2c 20 22 22 29 | 3b 0a 20 20 76 61 72 20 |]/g, "")|;. var |
|00002df0| 6e 75 6d 65 72 69 63 3d | 28 70 77 2e 6c 65 6e 67 |numeric=|(pw.leng|
|00002e00| 74 68 20 2d 20 6e 75 6d | 6e 75 6d 65 72 69 63 2e |th - num|numeric.|
|00002e10| 6c 65 6e 67 74 68 29 3b | 0a 20 20 69 66 20 28 6e |length);|. if (n|
|00002e20| 75 6d 65 72 69 63 3e 33 | 29 0a 20 20 20 20 6e 75 |umeric>3|). nu|
|00002e30| 6d 65 72 69 63 3d 33 3b | 0a 0a 2f 2f 75 73 65 20 |meric=3;|..//use |
|00002e40| 6f 66 20 73 79 6d 62 6f | 6c 73 20 69 6e 20 74 68 |of symbo|ls in th|
|00002e50| 65 20 70 61 73 73 77 6f | 72 64 0a 20 20 76 61 72 |e passwo|rd. var|
|00002e60| 20 73 79 6d 62 6f 6c 73 | 20 3d 20 70 77 2e 72 65 | symbols| = pw.re|
|00002e70| 70 6c 61 63 65 20 28 2f | 5c 57 2f 67 2c 20 22 22 |place (/|\W/g, ""|
|00002e80| 29 3b 0a 20 20 76 61 72 | 20 6e 75 6d 73 79 6d 62 |);. var| numsymb|
|00002e90| 6f 6c 73 3d 28 70 77 2e | 6c 65 6e 67 74 68 20 2d |ols=(pw.|length -|
|00002ea0| 20 73 79 6d 62 6f 6c 73 | 2e 6c 65 6e 67 74 68 29 | symbols|.length)|
|00002eb0| 3b 0a 20 20 69 66 20 28 | 6e 75 6d 73 79 6d 62 6f |;. if (|numsymbo|
|00002ec0| 6c 73 3e 33 29 0a 20 20 | 20 20 6e 75 6d 73 79 6d |ls>3). | numsym|
|00002ed0| 62 6f 6c 73 3d 33 3b 0a | 0a 2f 2f 75 73 65 20 6f |bols=3;.|.//use o|
|00002ee0| 66 20 75 70 70 65 72 63 | 61 73 65 20 69 6e 20 74 |f upperc|ase in t|
|00002ef0| 68 65 20 70 61 73 73 77 | 6f 72 64 0a 20 20 76 61 |he passw|ord. va|
|00002f00| 72 20 6e 75 6d 75 70 70 | 65 72 20 3d 20 70 77 2e |r numupp|er = pw.|
|00002f10| 72 65 70 6c 61 63 65 20 | 28 2f 5b 41 2d 5a 5d 2f |replace |(/[A-Z]/|
|00002f20| 67 2c 20 22 22 29 3b 0a | 20 20 76 61 72 20 75 70 |g, "");.| var up|
|00002f30| 70 65 72 3d 28 70 77 2e | 6c 65 6e 67 74 68 20 2d |per=(pw.|length -|
|00002f40| 20 6e 75 6d 75 70 70 65 | 72 2e 6c 65 6e 67 74 68 | numuppe|r.length|
|00002f50| 29 3b 0a 20 20 69 66 20 | 28 75 70 70 65 72 3e 33 |);. if |(upper>3|
|00002f60| 29 0a 20 20 20 20 75 70 | 70 65 72 3d 33 3b 0a 0a |). up|per=3;..|
|00002f70| 0a 20 20 76 61 72 20 70 | 77 73 74 72 65 6e 67 74 |. var p|wstrengt|
|00002f80| 68 3d 28 28 70 77 6c 65 | 6e 67 74 68 2a 31 30 29 |h=((pwle|ngth*10)|
|00002f90| 2d 32 30 29 20 2b 20 28 | 6e 75 6d 65 72 69 63 2a |-20) + (|numeric*|
|00002fa0| 31 30 29 20 2b 20 28 6e | 75 6d 73 79 6d 62 6f 6c |10) + (n|umsymbol|
|00002fb0| 73 2a 31 35 29 20 2b 20 | 28 75 70 70 65 72 2a 31 |s*15) + |(upper*1|
|00002fc0| 30 29 3b 0a 0a 20 20 2f | 2f 20 6d 61 6b 65 20 73 |0);.. /|/ make s|
|00002fd0| 75 72 65 20 77 65 27 72 | 65 20 67 69 76 65 20 61 |ure we'r|e give a|
|00002fe0| 20 76 61 6c 75 65 20 62 | 65 74 77 65 65 6e 20 30 | value b|etween 0|
|00002ff0| 20 61 6e 64 20 31 30 30 | 0a 20 20 69 66 20 28 20 | and 100|. if ( |
|00003000| 70 77 73 74 72 65 6e 67 | 74 68 20 3c 20 30 20 29 |pwstreng|th < 0 )|
|00003010| 20 7b 0a 20 20 20 20 70 | 77 73 74 72 65 6e 67 74 | {. p|wstrengt|
|00003020| 68 20 3d 20 30 3b 0a 20 | 20 7d 0a 20 20 0a 20 20 |h = 0;. | }. . |
|00003030| 69 66 20 28 20 70 77 73 | 74 72 65 6e 67 74 68 20 |if ( pws|trength |
|00003040| 3e 20 31 30 30 20 29 20 | 7b 0a 20 20 20 20 70 77 |> 100 ) |{. pw|
|00003050| 73 74 72 65 6e 67 74 68 | 20 3d 20 31 30 30 3b 0a |strength| = 100;.|
|00003060| 20 20 7d 0a 0a 20 20 76 | 61 72 20 6d 79 6d 65 74 | }.. v|ar mymet|
|00003070| 65 72 3d 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 |er=docum|ent.getE|
|00003080| 6c 65 6d 65 6e 74 42 79 | 49 64 28 27 70 77 6d 65 |lementBy|Id('pwme|
|00003090| 74 65 72 27 29 3b 0a 20 | 20 6d 79 6d 65 74 65 72 |ter');. | mymeter|
|000030a0| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 22 76 |.setAttr|ibute("v|
|000030b0| 61 6c 75 65 22 2c 70 77 | 73 74 72 65 6e 67 74 68 |alue",pw|strength|
|000030c0| 29 3b 0a 0a 20 20 72 65 | 74 75 72 6e 3b 0a 7d 0a |);.. re|turn;.}.|
|000030d0| 0a 66 75 6e 63 74 69 6f | 6e 20 63 68 65 63 6b 50 |.functio|n checkP|
|000030e0| 61 73 73 77 6f 72 64 73 | 28 29 0a 7b 0a 20 20 76 |asswords|().{. v|
|000030f0| 61 72 20 70 77 31 3d 64 | 6f 63 75 6d 65 6e 74 2e |ar pw1=d|ocument.|
|00003100| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 27 |getEleme|ntById('|
|00003110| 70 77 31 27 29 2e 76 61 | 6c 75 65 3b 0a 20 20 76 |pw1').va|lue;. v|
|00003120| 61 72 20 70 77 32 3d 64 | 6f 63 75 6d 65 6e 74 2e |ar pw2=d|ocument.|
|00003130| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 27 |getEleme|ntById('|
|00003140| 70 77 32 27 29 2e 76 61 | 6c 75 65 3b 0a 0a 20 20 |pw2').va|lue;.. |
|00003150| 76 61 72 20 6f 6c 64 70 | 77 62 6f 78 20 3d 20 64 |var oldp|wbox = d|
|00003160| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|00003170| 6e 74 42 79 49 64 28 22 | 6f 6c 64 70 77 22 29 3b |ntById("|oldpw");|
|00003180| 0a 20 20 69 66 20 28 6f | 6c 64 70 77 62 6f 78 29 |. if (o|ldpwbox)|
|00003190| 20 7b 0a 20 20 20 20 76 | 61 72 20 69 6e 69 74 70 | {. v|ar initp|
|000031a0| 77 20 3d 20 6f 6c 64 70 | 77 62 6f 78 2e 67 65 74 |w = oldp|wbox.get|
|000031b0| 41 74 74 72 69 62 75 74 | 65 28 22 69 6e 69 74 65 |Attribut|e("inite|
|000031c0| 64 22 29 3b 0a 0a 20 20 | 20 20 69 66 20 28 69 6e |d");.. | if (in|
|000031d0| 69 74 70 77 20 3d 3d 20 | 22 65 6d 70 74 79 22 20 |itpw == |"empty" |
|000031e0| 26 26 20 70 77 31 20 3d | 3d 20 22 22 29 20 7b 0a |&& pw1 =|= "") {.|
|000031f0| 20 20 20 20 20 20 2f 2f | 20 54 68 65 20 74 6f 6b | //| The tok|
|00003200| 65 6e 20 68 61 73 20 61 | 6c 72 65 61 64 79 20 62 |en has a|lready b|
|00003210| 65 65 6e 20 69 6e 69 74 | 69 61 6c 69 7a 65 64 2c |een init|ialized,|
|00003220| 20 74 68 65 72 65 66 6f | 72 65 20 74 68 69 73 20 | therefo|re this |
|00003230| 64 69 61 6c 6f 67 0a 20 | 20 20 20 20 20 2f 2f 20 |dialog. | // |
|00003240| 77 61 73 20 63 61 6c 6c | 65 64 20 77 69 74 68 20 |was call|ed with |
|00003250| 74 68 65 20 69 6e 74 65 | 6e 74 69 6f 6e 20 74 6f |the inte|ntion to|
|00003260| 20 63 68 61 6e 67 65 20 | 74 68 65 20 70 61 73 73 | change |the pass|
|00003270| 77 6f 72 64 2e 0a 20 20 | 20 20 20 20 2f 2f 20 54 |word.. | // T|
|00003280| 68 65 20 74 6f 6b 65 6e | 20 63 75 72 72 65 6e 74 |he token| current|
|00003290| 6c 79 20 75 73 65 73 20 | 61 6e 20 65 6d 70 74 79 |ly uses |an empty|
|000032a0| 20 70 61 73 73 77 6f 72 | 64 2e 0a 20 20 20 20 20 | passwor|d.. |
|000032b0| 20 2f 2f 20 57 65 20 77 | 69 6c 6c 20 6e 6f 74 20 | // We w|ill not |
|000032c0| 61 6c 6c 6f 77 20 63 68 | 61 6e 67 69 6e 67 20 74 |allow ch|anging t|
|000032d0| 68 65 20 70 61 73 73 77 | 6f 72 64 20 66 72 6f 6d |he passw|ord from|
|000032e0| 20 65 6d 70 74 79 20 74 | 6f 20 65 6d 70 74 79 2e | empty t|o empty.|
|000032f0| 0a 20 20 20 20 20 20 64 | 6f 63 75 6d 65 6e 74 2e |. d|ocument.|
|00003300| 64 6f 63 75 6d 65 6e 74 | 45 6c 65 6d 65 6e 74 2e |document|Element.|
|00003310| 67 65 74 42 75 74 74 6f | 6e 28 22 61 63 63 65 70 |getButto|n("accep|
|00003320| 74 22 29 2e 64 69 73 61 | 62 6c 65 64 20 3d 20 74 |t").disa|bled = t|
|00003330| 72 75 65 3b 0a 20 20 20 | 20 20 20 72 65 74 75 72 |rue;. | retur|
|00003340| 6e 3b 0a 20 20 20 20 7d | 0a 20 20 7d 0a 0a 20 20 |n;. }|. }.. |
|00003350| 64 6f 63 75 6d 65 6e 74 | 2e 64 6f 63 75 6d 65 6e |document|.documen|
|00003360| 74 45 6c 65 6d 65 6e 74 | 2e 67 65 74 42 75 74 74 |tElement|.getButt|
|00003370| 6f 6e 28 22 61 63 63 65 | 70 74 22 29 2e 64 69 73 |on("acce|pt").dis|
|00003380| 61 62 6c 65 64 20 3d 20 | 28 70 77 31 20 21 3d 20 |abled = |(pw1 != |
|00003390| 70 77 32 29 3b 0a 7d 0a | 50 4b 03 04 0a 00 00 00 |pw2);.}.|PK......|
|000033a0| 00 00 4d 2e d8 34 43 3d | 48 04 b0 0c 00 00 b0 0c |..M..4C=|H.......|
|000033b0| 00 00 1f 00 00 00 63 6f | 6e 74 65 6e 74 2f 70 69 |......co|ntent/pi|
|000033c0| 70 70 6b 69 2f 72 65 73 | 65 74 70 61 73 73 77 6f |ppki/res|etpasswo|
|000033d0| 72 64 2e 6a 73 2f 2a 20 | 2a 2a 2a 2a 2a 20 42 45 |rd.js/* |***** BE|
|000033e0| 47 49 4e 20 4c 49 43 45 | 4e 53 45 20 42 4c 4f 43 |GIN LICE|NSE BLOC|
|000033f0| 4b 20 2a 2a 2a 2a 2a 0a | 20 2a 20 56 65 72 73 69 |K *****.| * Versi|
|00003400| 6f 6e 3a 20 4d 50 4c 20 | 31 2e 31 2f 47 50 4c 20 |on: MPL |1.1/GPL |
|00003410| 32 2e 30 2f 4c 47 50 4c | 20 32 2e 31 0a 20 2a 0a |2.0/LGPL| 2.1. *.|
|00003420| 20 2a 20 54 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 | * The c|ontents |
|00003430| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 61 72 65 |of this |file are|
|00003440| 20 73 75 62 6a 65 63 74 | 20 74 6f 20 74 68 65 20 | subject| to the |
|00003450| 4d 6f 7a 69 6c 6c 61 20 | 50 75 62 6c 69 63 20 4c |Mozilla |Public L|
|00003460| 69 63 65 6e 73 65 20 56 | 65 72 73 69 6f 6e 0a 20 |icense V|ersion. |
|00003470| 2a 20 31 2e 31 20 28 74 | 68 65 20 22 4c 69 63 65 |* 1.1 (t|he "Lice|
|00003480| 6e 73 65 22 29 3b 20 79 | 6f 75 20 6d 61 79 20 6e |nse"); y|ou may n|
|00003490| 6f 74 20 75 73 65 20 74 | 68 69 73 20 66 69 6c 65 |ot use t|his file|
|000034a0| 20 65 78 63 65 70 74 20 | 69 6e 20 63 6f 6d 70 6c | except |in compl|
|000034b0| 69 61 6e 63 65 20 77 69 | 74 68 0a 20 2a 20 74 68 |iance wi|th. * th|
|000034c0| 65 20 4c 69 63 65 6e 73 | 65 2e 20 59 6f 75 20 6d |e Licens|e. You m|
|000034d0| 61 79 20 6f 62 74 61 69 | 6e 20 61 20 63 6f 70 79 |ay obtai|n a copy|
|000034e0| 20 6f 66 20 74 68 65 20 | 4c 69 63 65 6e 73 65 20 | of the |License |
|000034f0| 61 74 0a 20 2a 20 68 74 | 74 70 3a 2f 2f 77 77 77 |at. * ht|tp://www|
|00003500| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 4d 50 4c |.mozilla|.org/MPL|
|00003510| 2f 0a 20 2a 0a 20 2a 20 | 53 6f 66 74 77 61 72 65 |/. *. * |Software|
|00003520| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 75 6e 64 | distrib|uted und|
|00003530| 65 72 20 74 68 65 20 4c | 69 63 65 6e 73 65 20 69 |er the L|icense i|
|00003540| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 6f 6e |s distri|buted on|
|00003550| 20 61 6e 20 22 41 53 20 | 49 53 22 20 62 61 73 69 | an "AS |IS" basi|
|00003560| 73 2c 0a 20 2a 20 57 49 | 54 48 4f 55 54 20 57 41 |s,. * WI|THOUT WA|
|00003570| 52 52 41 4e 54 59 20 4f | 46 20 41 4e 59 20 4b 49 |RRANTY O|F ANY KI|
|00003580| 4e 44 2c 20 65 69 74 68 | 65 72 20 65 78 70 72 65 |ND, eith|er expre|
|00003590| 73 73 20 6f 72 20 69 6d | 70 6c 69 65 64 2e 20 53 |ss or im|plied. S|
|000035a0| 65 65 20 74 68 65 20 4c | 69 63 65 6e 73 65 0a 20 |ee the L|icense. |
|000035b0| 2a 20 66 6f 72 20 74 68 | 65 20 73 70 65 63 69 66 |* for th|e specif|
|000035c0| 69 63 20 6c 61 6e 67 75 | 61 67 65 20 67 6f 76 65 |ic langu|age gove|
|000035d0| 72 6e 69 6e 67 20 72 69 | 67 68 74 73 20 61 6e 64 |rning ri|ghts and|
|000035e0| 20 6c 69 6d 69 74 61 74 | 69 6f 6e 73 20 75 6e 64 | limitat|ions und|
|000035f0| 65 72 20 74 68 65 0a 20 | 2a 20 4c 69 63 65 6e 73 |er the. |* Licens|
|00003600| 65 2e 0a 20 2a 0a 20 2a | 20 54 68 65 20 4f 72 69 |e.. *. *| The Ori|
|00003610| 67 69 6e 61 6c 20 43 6f | 64 65 20 69 73 20 6d 6f |ginal Co|de is mo|
|00003620| 7a 69 6c 6c 61 2e 6f 72 | 67 20 63 6f 64 65 2e 0a |zilla.or|g code..|
|00003630| 20 2a 0a 20 2a 20 54 68 | 65 20 49 6e 69 74 69 61 | *. * Th|e Initia|
|00003640| 6c 20 44 65 76 65 6c 6f | 70 65 72 20 6f 66 20 74 |l Develo|per of t|
|00003650| 68 65 20 4f 72 69 67 69 | 6e 61 6c 20 43 6f 64 65 |he Origi|nal Code|
|00003660| 20 69 73 0a 20 2a 20 4e | 65 74 73 63 61 70 65 20 | is. * N|etscape |
|00003670| 43 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 43 |Communic|ations C|
|00003680| 6f 72 70 6f 72 61 74 69 | 6f 6e 2e 0a 20 2a 20 50 |orporati|on.. * P|
|00003690| 6f 72 74 69 6f 6e 73 20 | 63 72 65 61 74 65 64 20 |ortions |created |
|000036a0| 62 79 20 74 68 65 20 49 | 6e 69 74 69 61 6c 20 44 |by the I|nitial D|
|000036b0| 65 76 65 6c 6f 70 65 72 | 20 61 72 65 20 43 6f 70 |eveloper| are Cop|
|000036c0| 79 72 69 67 68 74 20 28 | 43 29 20 32 30 30 31 0a |yright (|C) 2001.|
|000036d0| 20 2a 20 74 68 65 20 49 | 6e 69 74 69 61 6c 20 44 | * the I|nitial D|
|000036e0| 65 76 65 6c 6f 70 65 72 | 2e 20 41 6c 6c 20 52 69 |eveloper|. All Ri|
|000036f0| 67 68 74 73 20 52 65 73 | 65 72 76 65 64 2e 0a 20 |ghts Res|erved.. |
|00003700| 2a 0a 20 2a 20 43 6f 6e | 74 72 69 62 75 74 6f 72 |*. * Con|tributor|
|00003710| 28 73 29 3a 0a 20 2a 0a | 20 2a 20 41 6c 74 65 72 |(s):. *.| * Alter|
|00003720| 6e 61 74 69 76 65 6c 79 | 2c 20 74 68 65 20 63 6f |natively|, the co|
|00003730| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 69 73 20 66 |ntents o|f this f|
|00003740| 69 6c 65 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |ile may |be used |
|00003750| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00003760| 6f 66 0a 20 2a 20 65 69 | 74 68 65 72 20 74 68 65 |of. * ei|ther the|
|00003770| 20 47 4e 55 20 47 65 6e | 65 72 61 6c 20 50 75 62 | GNU Gen|eral Pub|
|00003780| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 56 65 72 73 |lic Lice|nse Vers|
|00003790| 69 6f 6e 20 32 20 6f 72 | 20 6c 61 74 65 72 20 28 |ion 2 or| later (|
|000037a0| 74 68 65 20 22 47 50 4c | 22 29 2c 20 6f 72 0a 20 |the "GPL|"), or. |
|000037b0| 2a 20 74 68 65 20 47 4e | 55 20 4c 65 73 73 65 72 |* the GN|U Lesser|
|000037c0| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|000037d0| 4c 69 63 65 6e 73 65 20 | 56 65 72 73 69 6f 6e 20 |License |Version |
|000037e0| 32 2e 31 20 6f 72 20 6c | 61 74 65 72 20 28 74 68 |2.1 or l|ater (th|
|000037f0| 65 20 22 4c 47 50 4c 22 | 29 2c 0a 20 2a 20 69 6e |e "LGPL"|),. * in|
|00003800| 20 77 68 69 63 68 20 63 | 61 73 65 20 74 68 65 20 | which c|ase the |
|00003810| 70 72 6f 76 69 73 69 6f | 6e 73 20 6f 66 20 74 68 |provisio|ns of th|
|00003820| 65 20 47 50 4c 20 6f 72 | 20 74 68 65 20 4c 47 50 |e GPL or| the LGP|
|00003830| 4c 20 61 72 65 20 61 70 | 70 6c 69 63 61 62 6c 65 |L are ap|plicable|
|00003840| 20 69 6e 73 74 65 61 64 | 0a 20 2a 20 6f 66 20 74 | instead|. * of t|
|00003850| 68 6f 73 65 20 61 62 6f | 76 65 2e 20 49 66 20 79 |hose abo|ve. If y|
|00003860| 6f 75 20 77 69 73 68 20 | 74 6f 20 61 6c 6c 6f 77 |ou wish |to allow|
|00003870| 20 75 73 65 20 6f 66 20 | 79 6f 75 72 20 76 65 72 | use of |your ver|
|00003880| 73 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 66 69 6c |sion of |this fil|
|00003890| 65 20 6f 6e 6c 79 0a 20 | 2a 20 75 6e 64 65 72 20 |e only. |* under |
|000038a0| 74 68 65 20 74 65 72 6d | 73 20 6f 66 20 65 69 74 |the term|s of eit|
|000038b0| 68 65 72 20 74 68 65 20 | 47 50 4c 20 6f 72 20 74 |her the |GPL or t|
|000038c0| 68 65 20 4c 47 50 4c 2c | 20 61 6e 64 20 6e 6f 74 |he LGPL,| and not|
|000038d0| 20 74 6f 20 61 6c 6c 6f | 77 20 6f 74 68 65 72 73 | to allo|w others|
|000038e0| 20 74 6f 0a 20 2a 20 75 | 73 65 20 79 6f 75 72 20 | to. * u|se your |
|000038f0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 69 73 20 |version |of this |
|00003900| 66 69 6c 65 20 75 6e 64 | 65 72 20 74 68 65 20 74 |file und|er the t|
|00003910| 65 72 6d 73 20 6f 66 20 | 74 68 65 20 4d 50 4c 2c |erms of |the MPL,|
|00003920| 20 69 6e 64 69 63 61 74 | 65 20 79 6f 75 72 0a 20 | indicat|e your. |
|00003930| 2a 20 64 65 63 69 73 69 | 6f 6e 20 62 79 20 64 65 |* decisi|on by de|
|00003940| 6c 65 74 69 6e 67 20 74 | 68 65 20 70 72 6f 76 69 |leting t|he provi|
|00003950| 73 69 6f 6e 73 20 61 62 | 6f 76 65 20 61 6e 64 20 |sions ab|ove and |
|00003960| 72 65 70 6c 61 63 65 20 | 74 68 65 6d 20 77 69 74 |replace |them wit|
|00003970| 68 20 74 68 65 20 6e 6f | 74 69 63 65 0a 20 2a 20 |h the no|tice. * |
|00003980| 61 6e 64 20 6f 74 68 65 | 72 20 70 72 6f 76 69 73 |and othe|r provis|
|00003990| 69 6f 6e 73 20 72 65 71 | 75 69 72 65 64 20 62 79 |ions req|uired by|
|000039a0| 20 74 68 65 20 47 50 4c | 20 6f 72 20 74 68 65 20 | the GPL| or the |
|000039b0| 4c 47 50 4c 2e 20 49 66 | 20 79 6f 75 20 64 6f 20 |LGPL. If| you do |
|000039c0| 6e 6f 74 20 64 65 6c 65 | 74 65 0a 20 2a 20 74 68 |not dele|te. * th|
|000039d0| 65 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 61 62 6f |e provis|ions abo|
|000039e0| 76 65 2c 20 61 20 72 65 | 63 69 70 69 65 6e 74 20 |ve, a re|cipient |
|000039f0| 6d 61 79 20 75 73 65 20 | 79 6f 75 72 20 76 65 72 |may use |your ver|
|00003a00| 73 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 66 69 6c |sion of |this fil|
|00003a10| 65 20 75 6e 64 65 72 0a | 20 2a 20 74 68 65 20 74 |e under.| * the t|
|00003a20| 65 72 6d 73 20 6f 66 20 | 61 6e 79 20 6f 6e 65 20 |erms of |any one |
|00003a30| 6f 66 20 74 68 65 20 4d | 50 4c 2c 20 74 68 65 20 |of the M|PL, the |
|00003a40| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2e |GPL or t|he LGPL.|
|00003a50| 0a 20 2a 0a 20 2a 20 2a | 2a 2a 2a 2a 20 45 4e 44 |. *. * *|**** END|
|00003a60| 20 4c 49 43 45 4e 53 45 | 20 42 4c 4f 43 4b 20 2a | LICENSE| BLOCK *|
|00003a70| 2a 2a 2a 2a 20 2a 2f 0a | 0a 63 6f 6e 73 74 20 6e |**** */.|.const n|
|00003a80| 73 50 4b 31 31 54 6f 6b | 65 6e 44 42 20 3d 20 22 |sPK11Tok|enDB = "|
|00003a90| 40 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 73 65 63 |@mozilla|.org/sec|
|00003aa0| 75 72 69 74 79 2f 70 6b | 31 31 74 6f 6b 65 6e 64 |urity/pk|11tokend|
|00003ab0| 62 3b 31 22 3b 0a 63 6f | 6e 73 74 20 6e 73 49 50 |b;1";.co|nst nsIP|
|00003ac0| 4b 31 31 54 6f 6b 65 6e | 44 42 20 3d 20 43 6f 6d |K11Token|DB = Com|
|00003ad0| 70 6f 6e 65 6e 74 73 2e | 69 6e 74 65 72 66 61 63 |ponents.|interfac|
|00003ae0| 65 73 2e 6e 73 49 50 4b | 31 31 54 6f 6b 65 6e 44 |es.nsIPK|11TokenD|
|00003af0| 42 3b 0a 0a 76 61 72 20 | 74 6f 6b 65 6e 4e 61 6d |B;..var |tokenNam|
|00003b00| 65 3b 0a 0a 66 75 6e 63 | 74 69 6f 6e 20 6f 6e 4c |e;..func|tion onL|
|00003b10| 6f 61 64 28 29 0a 7b 0a | 20 20 69 66 20 28 22 61 |oad().{.| if ("a|
|00003b20| 72 67 75 6d 65 6e 74 73 | 22 20 69 6e 20 77 69 6e |rguments|" in win|
|00003b30| 64 6f 77 29 20 7b 0a 20 | 20 20 20 76 61 72 20 70 |dow) {. | var p|
|00003b40| 61 72 61 6d 73 20 3d 20 | 77 69 6e 64 6f 77 2e 61 |arams = |window.a|
|00003b50| 72 67 75 6d 65 6e 74 73 | 5b 30 5d 2e 51 75 65 72 |rguments|[0].Quer|
|00003b60| 79 49 6e 74 65 72 66 61 | 63 65 28 6e 73 49 44 69 |yInterfa|ce(nsIDi|
|00003b70| 61 6c 6f 67 50 61 72 61 | 6d 42 6c 6f 63 6b 29 3b |alogPara|mBlock);|
|00003b80| 0a 20 20 20 20 74 6f 6b | 65 6e 4e 61 6d 65 20 3d |. tok|enName =|
|00003b90| 20 70 61 72 61 6d 73 2e | 47 65 74 53 74 72 69 6e | params.|GetStrin|
|00003ba0| 67 28 31 29 3b 0a 20 20 | 7d 20 65 6c 73 65 20 7b |g(1);. |} else {|
|00003bb0| 0a 20 20 20 20 74 6f 6b | 65 6e 4e 61 6d 65 20 3d |. tok|enName =|
|00003bc0| 20 73 65 6c 66 2e 6e 61 | 6d 65 3b 0a 20 20 7d 0a | self.na|me;. }.|
|00003bd0| 7d 0a 0a 66 75 6e 63 74 | 69 6f 6e 20 72 65 73 65 |}..funct|ion rese|
|00003be0| 74 50 61 73 73 77 6f 72 | 64 28 29 0a 7b 0a 20 20 |tPasswor|d().{. |
|00003bf0| 76 61 72 20 70 6b 31 31 | 64 62 20 3d 20 43 6f 6d |var pk11|db = Com|
|00003c00| 70 6f 6e 65 6e 74 73 2e | 63 6c 61 73 73 65 73 5b |ponents.|classes[|
|00003c10| 6e 73 50 4b 31 31 54 6f | 6b 65 6e 44 42 5d 2e 67 |nsPK11To|kenDB].g|
|00003c20| 65 74 53 65 72 76 69 63 | 65 28 6e 73 49 50 4b 31 |etServic|e(nsIPK1|
|00003c30| 31 54 6f 6b 65 6e 44 42 | 29 3b 0a 20 20 76 61 72 |1TokenDB|);. var|
|00003c40| 20 74 6f 6b 65 6e 20 3d | 20 70 6b 31 31 64 62 2e | token =| pk11db.|
|00003c50| 66 69 6e 64 54 6f 6b 65 | 6e 42 79 4e 61 6d 65 28 |findToke|nByName(|
|00003c60| 74 6f 6b 65 6e 4e 61 6d | 65 29 3b 0a 20 20 74 6f |tokenNam|e);. to|
|00003c70| 6b 65 6e 2e 72 65 73 65 | 74 28 29 3b 0a 0a 20 20 |ken.rese|t();.. |
|00003c80| 76 61 72 20 70 72 65 66 | 20 3d 20 43 6f 6d 70 6f |var pref| = Compo|
|00003c90| 6e 65 6e 74 73 2e 63 6c | 61 73 73 65 73 5b 27 40 |nents.cl|asses['@|
|00003ca0| 6d 6f 7a 69 6c 6c 61 2e | 6f 72 67 2f 70 72 65 66 |mozilla.|org/pref|
|00003cb0| 65 72 65 6e 63 65 73 2d | 73 65 72 76 69 63 65 3b |erences-|service;|
|00003cc0| 31 27 5d 2e 67 65 74 53 | 65 72 76 69 63 65 28 43 |1'].getS|ervice(C|
|00003cd0| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 69 6e 74 65 72 66 |omponent|s.interf|
|00003ce0| 61 63 65 73 2e 6e 73 49 | 50 72 65 66 53 65 72 76 |aces.nsI|PrefServ|
|00003cf0| 69 63 65 29 3b 0a 20 20 | 69 66 20 28 70 72 65 66 |ice);. |if (pref|
|00003d00| 29 20 7b 0a 20 20 20 20 | 70 72 65 66 20 3d 20 70 |) {. |pref = p|
|00003d10| 72 65 66 2e 67 65 74 42 | 72 61 6e 63 68 28 6e 75 |ref.getB|ranch(nu|
|00003d20| 6c 6c 29 3b 0a 20 20 20 | 20 74 72 79 20 7b 0a 20 |ll);. | try {. |
|00003d30| 20 20 20 20 20 69 66 20 | 28 70 72 65 66 2e 67 65 | if |(pref.ge|
|00003d40| 74 42 6f 6f 6c 50 72 65 | 66 28 22 77 61 6c 6c 65 |tBoolPre|f("walle|
|00003d50| 74 2e 63 72 79 70 74 6f | 22 29 29 20 7b 0a 20 20 |t.crypto|")) {. |
|00003d60| 20 20 20 20 20 20 2f 2f | 20 64 61 74 61 20 69 6e | //| data in|
|00003d70| 20 77 61 6c 6c 65 74 20 | 69 73 20 65 6e 63 72 79 | wallet |is encry|
|00003d80| 70 74 65 64 2c 20 63 6c | 65 61 72 20 69 74 0a 20 |pted, cl|ear it. |
|00003d90| 20 20 20 20 20 20 20 76 | 61 72 20 77 61 6c 6c 65 | v|ar walle|
|00003da0| 74 20 3d 20 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 63 |t = Comp|onents.c|
|00003db0| 6c 61 73 73 65 73 5b 27 | 40 6d 6f 7a 69 6c 6c 61 |lasses['|@mozilla|
|00003dc0| 2e 6f 72 67 2f 77 61 6c | 6c 65 74 2f 77 61 6c 6c |.org/wal|let/wall|
|00003dd0| 65 74 2d 73 65 72 76 69 | 63 65 3b 31 27 5d 3b 0a |et-servi|ce;1'];.|
|00003de0| 20 20 20 20 20 20 20 20 | 69 66 20 28 77 61 6c 6c | |if (wall|
|00003df0| 65 74 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |et) {. | |
|00003e00| 77 61 6c 6c 65 74 20 3d | 20 77 61 6c 6c 65 74 2e |wallet =| wallet.|
|00003e10| 67 65 74 53 65 72 76 69 | 63 65 28 43 6f 6d 70 6f |getServi|ce(Compo|
|00003e20| 6e 65 6e 74 73 2e 69 6e | 74 65 72 66 61 63 65 73 |nents.in|terfaces|
|00003e30| 2e 6e 73 49 57 61 6c 6c | 65 74 53 65 72 76 69 63 |.nsIWall|etServic|
|00003e40| 65 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 77 61 |e);. | wa|
|00003e50| 6c 6c 65 74 2e 57 41 4c | 4c 45 54 5f 44 65 6c 65 |llet.WAL|LET_Dele|
|00003e60| 74 65 41 6c 6c 28 29 3b | 0a 20 20 20 20 20 20 20 |teAll();|. |
|00003e70| 20 7d 0a 20 20 20 20 20 | 20 7d 0a 20 20 20 20 7d | }. | }. }|
|00003e80| 0a 20 20 20 20 63 61 74 | 63 68 28 65 29 20 7b 0a |. cat|ch(e) {.|
|00003e90| 20 20 20 20 20 20 2f 2f | 20 77 61 6c 6c 65 74 2e | //| wallet.|
|00003ea0| 63 72 79 70 74 6f 20 70 | 72 65 66 20 69 73 20 6d |crypto p|ref is m|
|00003eb0| 69 73 73 69 6e 67 0a 20 | 20 20 20 7d 0a 20 20 7d |issing. | }. }|
|00003ec0| 0a 0a 20 20 76 61 72 20 | 62 75 6e 64 6c 65 20 3d |.. var |bundle =|
|00003ed0| 20 64 6f 63 75 6d 65 6e | 74 2e 67 65 74 45 6c 65 | documen|t.getEle|
|00003ee0| 6d 65 6e 74 42 79 49 64 | 28 22 70 69 70 70 6b 69 |mentById|("pippki|
|00003ef0| 5f 62 75 6e 64 6c 65 22 | 29 3b 0a 20 20 76 61 72 |_bundle"|);. var|
|00003f00| 20 70 72 6f 6d 70 74 53 | 65 72 76 69 63 65 20 3d | promptS|ervice =|
|00003f10| 20 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 63 6c 61 73 | Compone|nts.clas|
|00003f20| 73 65 73 5b 22 40 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |ses["@mo|zilla.or|
|00003f30| 67 2f 65 6d 62 65 64 63 | 6f 6d 70 2f 70 72 6f 6d |g/embedc|omp/prom|
|00003f40| 70 74 2d 73 65 72 76 69 | 63 65 3b 31 22 5d 2e 67 |pt-servi|ce;1"].g|
|00003f50| 65 74 53 65 72 76 69 63 | 65 28 29 3b 0a 20 20 70 |etServic|e();. p|
|00003f60| 72 6f 6d 70 74 53 65 72 | 76 69 63 65 20 3d 20 70 |romptSer|vice = p|
|00003f70| 72 6f 6d 70 74 53 65 72 | 76 69 63 65 2e 51 75 65 |romptSer|vice.Que|
|00003f80| 72 79 49 6e 74 65 72 66 | 61 63 65 28 43 6f 6d 70 |ryInterf|ace(Comp|
|00003f90| 6f 6e 65 6e 74 73 2e 69 | 6e 74 65 72 66 61 63 65 |onents.i|nterface|
|00003fa0| 73 2e 6e 73 49 50 72 6f | 6d 70 74 53 65 72 76 69 |s.nsIPro|mptServi|
|00003fb0| 63 65 29 3b 0a 20 20 69 | 66 20 28 70 72 6f 6d 70 |ce);. i|f (promp|
|00003fc0| 74 53 65 72 76 69 63 65 | 20 26 26 20 62 75 6e 64 |tService| && bund|
|00003fd0| 6c 65 29 20 7b 0a 20 20 | 20 20 70 72 6f 6d 70 74 |le) {. | prompt|
|00003fe0| 53 65 72 76 69 63 65 2e | 61 6c 65 72 74 28 77 69 |Service.|alert(wi|
|00003ff0| 6e 64 6f 77 2c 0a 20 20 | 20 20 20 20 62 75 6e 64 |ndow,. | bund|
|00004000| 6c 65 2e 67 65 74 53 74 | 72 69 6e 67 28 22 72 65 |le.getSt|ring("re|
|00004010| 73 65 74 50 61 73 73 77 | 6f 72 64 43 6f 6e 66 69 |setPassw|ordConfi|
|00004020| 72 6d 61 74 69 6f 6e 54 | 69 74 6c 65 22 29 2c 20 |rmationT|itle"), |
|00004030| 0a 20 20 20 20 20 20 62 | 75 6e 64 6c 65 2e 67 65 |. b|undle.ge|
|00004040| 74 53 74 72 69 6e 67 28 | 22 72 65 73 65 74 50 61 |tString(|"resetPa|
|00004050| 73 73 77 6f 72 64 43 6f | 6e 66 69 72 6d 61 74 69 |sswordCo|nfirmati|
|00004060| 6f 6e 4d 65 73 73 61 67 | 65 22 29 29 3b 0a 20 20 |onMessag|e"));. |
|00004070| 7d 0a 0a 20 20 72 65 74 | 75 72 6e 20 74 72 75 65 |}.. ret|urn true|
|00004080| 3b 0a 7d 0a 0a 50 4b 03 | 04 0a 00 00 00 00 00 50 |;.}..PK.|.......P|
|00004090| 40 99 30 f8 b7 ee 56 71 | 0b 00 00 71 0b 00 00 1e |@.0...Vq|...q....|
|000040a0| 00 00 00 63 6f 6e 74 65 | 6e 74 2f 70 69 70 70 6b |...conte|nt/pippk|
|000040b0| 69 2f 50 72 65 66 4f 76 | 65 72 6c 61 79 2e 78 75 |i/PrefOv|erlay.xu|
|000040c0| 6c 3c 3f 78 6d 6c 20 76 | 65 72 73 69 6f 6e 3d 22 |l<?xml v|ersion="|
|000040d0| 31 2e 30 22 3f 3e 0a 3c | 21 2d 2d 20 2a 2a 2a 2a |1.0"?>.<|!-- ****|
|000040e0| 2a 20 42 45 47 49 4e 20 | 4c 49 43 45 4e 53 45 20 |* BEGIN |LICENSE |
|000040f0| 42 4c 4f 43 4b 20 2a 2a | 2a 2a 2a 0a 20 20 20 2d |BLOCK **|***. -|
|00004100| 20 56 65 72 73 69 6f 6e | 3a 20 4d 50 4c 20 31 2e | Version|: MPL 1.|
|00004110| 31 2f 47 50 4c 20 32 2e | 30 2f 4c 47 50 4c 20 32 |1/GPL 2.|0/LGPL 2|
|00004120| 2e 31 0a 20 20 20 2d 0a | 20 20 20 2d 20 54 68 65 |.1. -.| - The|
|00004130| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|00004140| 73 20 66 69 6c 65 20 61 | 72 65 20 73 75 62 6a 65 |s file a|re subje|
|00004150| 63 74 20 74 6f 20 74 68 | 65 20 4d 6f 7a 69 6c 6c |ct to th|e Mozill|
|00004160| 61 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |a Public| License|
|00004170| 20 56 65 72 73 69 6f 6e | 0a 20 20 20 2d 20 31 2e | Version|. - 1.|
|00004180| 31 20 28 74 68 65 20 22 | 4c 69 63 65 6e 73 65 22 |1 (the "|License"|
|00004190| 29 3b 20 79 6f 75 20 6d | 61 79 20 6e 6f 74 20 75 |); you m|ay not u|
|000041a0| 73 65 20 74 68 69 73 20 | 66 69 6c 65 20 65 78 63 |se this |file exc|
|000041b0| 65 70 74 20 69 6e 20 63 | 6f 6d 70 6c 69 61 6e 63 |ept in c|omplianc|
|000041c0| 65 20 77 69 74 68 0a 20 | 20 20 2d 20 74 68 65 20 |e with. | - the |
|000041d0| 4c 69 63 65 6e 73 65 2e | 20 59 6f 75 20 6d 61 79 |License.| You may|
|000041e0| 20 6f 62 74 61 69 6e 20 | 61 20 63 6f 70 79 20 6f | obtain |a copy o|
|000041f0| 66 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 61 74 |f the Li|cense at|
|00004200| 0a 20 20 20 2d 20 68 74 | 74 70 3a 2f 2f 77 77 77 |. - ht|tp://www|
|00004210| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 4d 50 4c |.mozilla|.org/MPL|
|00004220| 2f 0a 20 20 20 2d 0a 20 | 20 20 2d 20 53 6f 66 74 |/. -. | - Soft|
|00004230| 77 61 72 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |ware dis|tributed|
|00004240| 20 75 6e 64 65 72 20 74 | 68 65 20 4c 69 63 65 6e | under t|he Licen|
|00004250| 73 65 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |se is di|stribute|
|00004260| 64 20 6f 6e 20 61 6e 20 | 22 41 53 20 49 53 22 20 |d on an |"AS IS" |
|00004270| 62 61 73 69 73 2c 0a 20 | 20 20 2d 20 57 49 54 48 |basis,. | - WITH|
|00004280| 4f 55 54 20 57 41 52 52 | 41 4e 54 59 20 4f 46 20 |OUT WARR|ANTY OF |
|00004290| 41 4e 59 20 4b 49 4e 44 | 2c 20 65 69 74 68 65 72 |ANY KIND|, either|
|000042a0| 20 65 78 70 72 65 73 73 | 20 6f 72 20 69 6d 70 6c | express| or impl|
|000042b0| 69 65 64 2e 20 53 65 65 | 20 74 68 65 20 4c 69 63 |ied. See| the Lic|
|000042c0| 65 6e 73 65 0a 20 20 20 | 2d 20 66 6f 72 20 74 68 |ense. |- for th|
|000042d0| 65 20 73 70 65 63 69 66 | 69 63 20 6c 61 6e 67 75 |e specif|ic langu|
|000042e0| 61 67 65 20 67 6f 76 65 | 72 6e 69 6e 67 20 72 69 |age gove|rning ri|
|000042f0| 67 68 74 73 20 61 6e 64 | 20 6c 69 6d 69 74 61 74 |ghts and| limitat|
|00004300| 69 6f 6e 73 20 75 6e 64 | 65 72 20 74 68 65 0a 20 |ions und|er the. |
|00004310| 20 20 2d 20 4c 69 63 65 | 6e 73 65 2e 0a 20 20 20 | - Lice|nse.. |
|00004320| 2d 0a 20 20 20 2d 20 54 | 68 65 20 4f 72 69 67 69 |-. - T|he Origi|
|00004330| 6e 61 6c 20 43 6f 64 65 | 20 69 73 20 6d 6f 7a 69 |nal Code| is mozi|
|00004340| 6c 6c 61 2e 6f 72 67 20 | 63 6f 64 65 2e 0a 20 20 |lla.org |code.. |
|00004350| 20 2d 0a 20 20 20 2d 20 | 54 68 65 20 49 6e 69 74 | -. - |The Init|
|00004360| 69 61 6c 20 44 65 76 65 | 6c 6f 70 65 72 20 6f 66 |ial Deve|loper of|
|00004370| 20 74 68 65 20 4f 72 69 | 67 69 6e 61 6c 20 43 6f | the Ori|ginal Co|
|00004380| 64 65 20 69 73 0a 20 20 | 20 2d 20 4e 65 74 73 63 |de is. | - Netsc|
|00004390| 61 70 65 20 43 6f 6d 6d | 75 6e 69 63 61 74 69 6f |ape Comm|unicatio|
|000043a0| 6e 73 20 43 6f 72 70 2e | 0a 20 20 20 2d 20 50 6f |ns Corp.|. - Po|
|000043b0| 72 74 69 6f 6e 73 20 63 | 72 65 61 74 65 64 20 62 |rtions c|reated b|
|000043c0| 79 20 74 68 65 20 49 6e | 69 74 69 61 6c 20 44 65 |y the In|itial De|
|000043d0| 76 65 6c 6f 70 65 72 20 | 61 72 65 20 43 6f 70 79 |veloper |are Copy|
|000043e0| 72 69 67 68 74 20 28 43 | 29 20 32 30 30 31 0a 20 |right (C|) 2001. |
|000043f0| 20 20 2d 20 74 68 65 20 | 49 6e 69 74 69 61 6c 20 | - the |Initial |
|00004400| 44 65 76 65 6c 6f 70 65 | 72 2e 20 41 6c 6c 20 52 |Develope|r. All R|
|00004410| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 2e 0a |ights Re|served..|
|00004420| 20 20 20 2d 0a 20 20 20 | 2d 20 43 6f 6e 74 72 69 | -. |- Contri|
|00004430| 62 75 74 6f 72 28 73 29 | 3a 0a 20 20 20 2d 20 20 |butor(s)|:. - |
|00004440| 20 54 65 72 72 79 20 48 | 61 79 65 73 20 3c 74 68 | Terry H|ayes <th|
|00004450| 61 79 65 73 40 6e 65 74 | 73 63 61 70 65 2e 63 6f |ayes@net|scape.co|
|00004460| 6d 3e 0a 20 20 20 2d 0a | 20 20 20 2d 20 41 6c 74 |m>. -.| - Alt|
|00004470| 65 72 6e 61 74 69 76 65 | 6c 79 2c 20 74 68 65 20 |ernative|ly, the |
|00004480| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 74 68 69 73 |contents| of this|
|00004490| 20 66 69 6c 65 20 6d 61 | 79 20 62 65 20 75 73 65 | file ma|y be use|
|000044a0| 64 20 75 6e 64 65 72 20 | 74 68 65 20 74 65 72 6d |d under |the term|
|000044b0| 73 20 6f 66 0a 20 20 20 | 2d 20 65 69 74 68 65 72 |s of. |- either|
|000044c0| 20 74 68 65 20 47 4e 55 | 20 47 65 6e 65 72 61 6c | the GNU| General|
|000044d0| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|000044e0| 56 65 72 73 69 6f 6e 20 | 32 20 6f 72 20 6c 61 74 |Version |2 or lat|
|000044f0| 65 72 20 28 74 68 65 20 | 22 47 50 4c 22 29 2c 20 |er (the |"GPL"), |
|00004500| 6f 72 0a 20 20 20 2d 20 | 74 68 65 20 47 4e 55 20 |or. - |the GNU |
|00004510| 4c 65 73 73 65 72 20 47 | 65 6e 65 72 61 6c 20 50 |Lesser G|eneral P|
|00004520| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 56 65 |ublic Li|cense Ve|
|00004530| 72 73 69 6f 6e 20 32 2e | 31 20 6f 72 20 6c 61 74 |rsion 2.|1 or lat|
|00004540| 65 72 20 28 74 68 65 20 | 22 4c 47 50 4c 22 29 2c |er (the |"LGPL"),|
|00004550| 0a 20 20 20 2d 20 69 6e | 20 77 68 69 63 68 20 63 |. - in| which c|
|00004560| 61 73 65 20 74 68 65 20 | 70 72 6f 76 69 73 69 6f |ase the |provisio|
|00004570| 6e 73 20 6f 66 20 74 68 | 65 20 47 50 4c 20 6f 72 |ns of th|e GPL or|
|00004580| 20 74 68 65 20 4c 47 50 | 4c 20 61 72 65 20 61 70 | the LGP|L are ap|
|00004590| 70 6c 69 63 61 62 6c 65 | 20 69 6e 73 74 65 61 64 |plicable| instead|
|000045a0| 0a 20 20 20 2d 20 6f 66 | 20 74 68 6f 73 65 20 61 |. - of| those a|
|000045b0| 62 6f 76 65 2e 20 49 66 | 20 79 6f 75 20 77 69 73 |bove. If| you wis|
|000045c0| 68 20 74 6f 20 61 6c 6c | 6f 77 20 75 73 65 20 6f |h to all|ow use o|
|000045d0| 66 20 79 6f 75 72 20 76 | 65 72 73 69 6f 6e 20 6f |f your v|ersion o|
|000045e0| 66 20 74 68 69 73 20 66 | 69 6c 65 20 6f 6e 6c 79 |f this f|ile only|
|000045f0| 0a 20 20 20 2d 20 75 6e | 64 65 72 20 74 68 65 20 |. - un|der the |
|00004600| 74 65 72 6d 73 20 6f 66 | 20 65 69 74 68 65 72 20 |terms of| either |
|00004610| 74 68 65 20 47 50 4c 20 | 6f 72 20 74 68 65 20 4c |the GPL |or the L|
|00004620| 47 50 4c 2c 20 61 6e 64 | 20 6e 6f 74 20 74 6f 20 |GPL, and| not to |
|00004630| 61 6c 6c 6f 77 20 6f 74 | 68 65 72 73 20 74 6f 0a |allow ot|hers to.|
|00004640| 20 20 20 2d 20 75 73 65 | 20 79 6f 75 72 20 76 65 | - use| your ve|
|00004650| 72 73 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 66 69 |rsion of| this fi|
|00004660| 6c 65 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 |le under| the ter|
|00004670| 6d 73 20 6f 66 20 74 68 | 65 20 4d 50 4c 2c 20 69 |ms of th|e MPL, i|
|00004680| 6e 64 69 63 61 74 65 20 | 79 6f 75 72 0a 20 20 20 |ndicate |your. |
|00004690| 2d 20 64 65 63 69 73 69 | 6f 6e 20 62 79 20 64 65 |- decisi|on by de|
|000046a0| 6c 65 74 69 6e 67 20 74 | 68 65 20 70 72 6f 76 69 |leting t|he provi|
|000046b0| 73 69 6f 6e 73 20 61 62 | 6f 76 65 20 61 6e 64 20 |sions ab|ove and |
|000046c0| 72 65 70 6c 61 63 65 20 | 74 68 65 6d 20 77 69 74 |replace |them wit|
|000046d0| 68 20 74 68 65 20 6e 6f | 74 69 63 65 0a 20 20 20 |h the no|tice. |
|000046e0| 2d 20 61 6e 64 20 6f 74 | 68 65 72 20 70 72 6f 76 |- and ot|her prov|
|000046f0| 69 73 69 6f 6e 73 20 72 | 65 71 75 69 72 65 64 20 |isions r|equired |
|00004700| 62 79 20 74 68 65 20 47 | 50 4c 20 6f 72 20 74 68 |by the G|PL or th|
|00004710| 65 20 4c 47 50 4c 2e 20 | 49 66 20 79 6f 75 20 64 |e LGPL. |If you d|
|00004720| 6f 20 6e 6f 74 20 64 65 | 6c 65 74 65 0a 20 20 20 |o not de|lete. |
|00004730| 2d 20 74 68 65 20 70 72 | 6f 76 69 73 69 6f 6e 73 |- the pr|ovisions|
|00004740| 20 61 62 6f 76 65 2c 20 | 61 20 72 65 63 69 70 69 | above, |a recipi|
|00004750| 65 6e 74 20 6d 61 79 20 | 75 73 65 20 79 6f 75 72 |ent may |use your|
|00004760| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 69 73 | version| of this|
|00004770| 20 66 69 6c 65 20 75 6e | 64 65 72 0a 20 20 20 2d | file un|der. -|
|00004780| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 61 6e | the ter|ms of an|
|00004790| 79 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 4d 50 4c |y one of| the MPL|
|000047a0| 2c 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |, the GP|L or the|
|000047b0| 20 4c 47 50 4c 2e 0a 20 | 20 20 2d 0a 20 20 20 2d | LGPL.. | -. -|
|000047c0| 20 2a 2a 2a 2a 2a 20 45 | 4e 44 20 4c 49 43 45 4e | ***** E|ND LICEN|
|000047d0| 53 45 20 42 4c 4f 43 4b | 20 2a 2a 2a 2a 2a 20 2d |SE BLOCK| ***** -|
|000047e0| 2d 3e 0a 0a 3c 21 2d 2d | 20 54 68 69 73 20 66 69 |->..<!--| This fi|
|000047f0| 6c 65 20 6f 76 65 72 6c | 61 79 73 20 22 63 68 72 |le overl|ays "chr|
|00004800| 6f 6d 65 3a 2f 2f 63 6f | 6d 6d 75 6e 69 63 61 74 |ome://co|mmunicat|
|00004810| 6f 72 2f 63 6f 6e 74 65 | 6e 74 2f 70 72 65 66 2f |or/conte|nt/pref/|
|00004820| 70 72 65 66 74 72 65 65 | 2e 78 75 6c 22 20 2d 2d |preftree|.xul" --|
|00004830| 3e 0a 0a 3c 21 44 4f 43 | 54 59 50 45 20 6f 76 65 |>..<!DOC|TYPE ove|
|00004840| 72 6c 61 79 20 53 59 53 | 54 45 4d 20 22 63 68 72 |rlay SYS|TEM "chr|
|00004850| 6f 6d 65 3a 2f 2f 70 69 | 70 70 6b 69 2f 6c 6f 63 |ome://pi|ppki/loc|
|00004860| 61 6c 65 2f 50 72 65 66 | 4f 76 65 72 6c 61 79 2e |ale/Pref|Overlay.|
|00004870| 64 74 64 22 3e 0a 0a 3c | 6f 76 65 72 6c 61 79 20 |dtd">..<|overlay |
|00004880| 69 64 3d 22 70 69 70 50 | 72 65 66 4f 76 65 72 6c |id="pipP|refOverl|
|00004890| 61 79 49 44 22 0a 20 20 | 20 20 20 20 20 20 20 78 |ayID". | x|
|000048a0| 6d 6c 6e 73 3d 22 68 74 | 74 70 3a 2f 2f 77 77 77 |mlns="ht|tp://www|
|000048b0| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 6b 65 79 |.mozilla|.org/key|
|000048c0| 6d 61 73 74 65 72 2f 67 | 61 74 65 6b 65 65 70 65 |master/g|atekeepe|
|000048d0| 72 2f 74 68 65 72 65 2e | 69 73 2e 6f 6e 6c 79 2e |r/there.|is.only.|
|000048e0| 78 75 6c 22 3e 0a 0a 20 | 20 3c 74 72 65 65 63 68 |xul">.. | <treech|
|000048f0| 69 6c 64 72 65 6e 20 69 | 64 3d 22 73 65 63 75 72 |ildren i|d="secur|
|00004900| 69 74 79 43 68 69 6c 64 | 72 65 6e 22 3e 0a 20 20 |ityChild|ren">. |
|00004910| 20 20 3c 74 72 65 65 69 | 74 65 6d 20 69 64 3d 22 | <treei|tem id="|
|00004920| 6d 61 73 74 65 72 70 61 | 73 73 49 74 65 6d 22 3e |masterpa|ssItem">|
|00004930| 0a 20 20 20 20 20 20 3c | 74 72 65 65 72 6f 77 3e |. <|treerow>|
|00004940| 0a 20 20 20 20 20 20 20 | 20 3c 74 72 65 65 63 65 |. | <treece|
|00004950| 6c 6c 20 75 72 6c 3d 22 | 63 68 72 6f 6d 65 3a 2f |ll url="|chrome:/|
|00004960| 2f 70 69 70 70 6b 69 2f | 63 6f 6e 74 65 6e 74 2f |/pippki/|content/|
|00004970| 70 72 65 66 2d 6d 61 73 | 74 65 72 70 61 73 73 2e |pref-mas|terpass.|
|00004980| 78 75 6c 22 0a 20 20 20 | 20 20 20 20 20 20 20 20 |xul". | |
|00004990| 20 20 20 20 20 20 20 20 | 20 20 20 6c 61 62 65 6c | | label|
|000049a0| 3d 22 26 6d 61 73 74 65 | 72 70 61 73 73 2e 6c 61 |="&maste|rpass.la|
|000049b0| 62 65 6c 3b 22 2f 3e 0a | 20 20 20 20 20 20 3c 2f |bel;"/>.| </|
|000049c0| 74 72 65 65 72 6f 77 3e | 0a 20 20 20 20 3c 2f 74 |treerow>|. </t|
|000049d0| 72 65 65 69 74 65 6d 3e | 0a 20 20 20 20 3c 74 72 |reeitem>|. <tr|
|000049e0| 65 65 69 74 65 6d 20 69 | 64 3d 22 73 73 6c 49 74 |eeitem i|d="sslIt|
|000049f0| 65 6d 22 3e 0a 20 20 20 | 20 20 20 3c 74 72 65 65 |em">. | <tree|
|00004a00| 72 6f 77 3e 0a 20 20 20 | 20 20 20 20 20 3c 74 72 |row>. | <tr|
|00004a10| 65 65 63 65 6c 6c 20 75 | 72 6c 3d 22 63 68 72 6f |eecell u|rl="chro|
|00004a20| 6d 65 3a 2f 2f 70 69 70 | 70 6b 69 2f 63 6f 6e 74 |me://pip|pki/cont|
|00004a30| 65 6e 74 2f 70 72 65 66 | 2d 73 73 6c 2e 78 75 6c |ent/pref|-ssl.xul|
|00004a40| 22 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |". | |
|00004a50| 20 20 20 20 20 20 20 20 | 6c 61 62 65 6c 3d 22 26 | |label="&|
|00004a60| 73 73 6c 2e 6c 61 62 65 | 6c 3b 22 2f 3e 0a 20 20 |ssl.labe|l;"/>. |
|00004a70| 20 20 20 20 3c 2f 74 72 | 65 65 72 6f 77 3e 0a 20 | </tr|eerow>. |
|00004a80| 20 20 20 3c 2f 74 72 65 | 65 69 74 65 6d 3e 0a 20 | </tre|eitem>. |
|00004a90| 20 20 20 3c 74 72 65 65 | 69 74 65 6d 20 69 64 3d | <tree|item id=|
|00004aa0| 22 63 65 72 74 49 74 65 | 6d 22 3e 0a 20 20 20 20 |"certIte|m">. |
|00004ab0| 20 20 3c 74 72 65 65 72 | 6f 77 3e 0a 20 20 20 20 | <treer|ow>. |
|00004ac0| 20 20 20 20 3c 74 72 65 | 65 63 65 6c 6c 20 75 72 | <tre|ecell ur|
|00004ad0| 6c 3d 22 63 68 72 6f 6d | 65 3a 2f 2f 70 69 70 70 |l="chrom|e://pipp|
|00004ae0| 6b 69 2f 63 6f 6e 74 65 | 6e 74 2f 70 72 65 66 2d |ki/conte|nt/pref-|
|00004af0| 63 65 72 74 73 2e 78 75 | 6c 22 0a 20 20 20 20 20 |certs.xu|l". |
|00004b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004b10| 20 6c 61 62 65 6c 3d 22 | 26 63 65 72 74 73 2e 6c | label="|&certs.l|
|00004b20| 61 62 65 6c 3b 22 2f 3e | 0a 20 20 20 20 20 20 3c |abel;"/>|. <|
|00004b30| 2f 74 72 65 65 72 6f 77 | 3e 0a 20 20 20 20 3c 2f |/treerow|>. </|
|00004b40| 74 72 65 65 69 74 65 6d | 3e 0a 20 20 20 20 3c 74 |treeitem|>. <t|
|00004b50| 72 65 65 69 74 65 6d 20 | 69 64 3d 22 76 61 6c 69 |reeitem |id="vali|
|00004b60| 64 61 74 69 6f 6e 49 74 | 65 6d 22 3e 0a 20 20 20 |dationIt|em">. |
|00004b70| 20 20 20 3c 74 72 65 65 | 72 6f 77 3e 0a 20 20 20 | <tree|row>. |
|00004b80| 20 20 20 20 20 3c 74 72 | 65 65 63 65 6c 6c 20 75 | <tr|eecell u|
|00004b90| 72 6c 3d 22 63 68 72 6f | 6d 65 3a 2f 2f 70 69 70 |rl="chro|me://pip|
|00004ba0| 70 6b 69 2f 63 6f 6e 74 | 65 6e 74 2f 70 72 65 66 |pki/cont|ent/pref|
|00004bb0| 2d 76 61 6c 69 64 61 74 | 69 6f 6e 2e 78 75 6c 22 |-validat|ion.xul"|
|00004bc0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004bd0| 20 20 20 20 20 20 20 6c | 61 62 65 6c 3d 22 26 76 | l|abel="&v|
|00004be0| 61 6c 69 64 61 74 69 6f | 6e 2e 6c 61 62 65 6c 3b |alidatio|n.label;|
|00004bf0| 22 2f 3e 0a 20 20 20 20 | 20 20 3c 2f 74 72 65 65 |"/>. | </tree|
|00004c00| 72 6f 77 3e 0a 20 20 20 | 20 3c 2f 74 72 65 65 69 |row>. | </treei|
|00004c10| 74 65 6d 3e 0a 20 20 3c | 2f 74 72 65 65 63 68 69 |tem>. <|/treechi|
|00004c20| 6c 64 72 65 6e 3e 0a 3c | 2f 6f 76 65 72 6c 61 79 |ldren>.<|/overlay|
|00004c30| 3e 0a 50 4b 03 04 0a 00 | 00 00 00 00 50 40 99 30 |>.PK....|....P@.0|
|00004c40| e7 cb c7 16 5a 0c 00 00 | 5a 0c 00 00 1f 00 00 00 |....Z...|Z.......|
|00004c50| 63 6f 6e 74 65 6e 74 2f | 70 69 70 70 6b 69 2f 70 |content/|pippki/p|
|00004c60| 72 65 66 2d 73 65 63 75 | 72 69 74 79 2e 6a 73 2f |ref-secu|rity.js/|
|00004c70| 2a 20 2d 2a 2d 20 4d 6f | 64 65 3a 20 43 2b 2b 3b |* -*- Mo|de: C++;|
|00004c80| 20 74 61 62 2d 77 69 64 | 74 68 3a 20 32 3b 20 69 | tab-wid|th: 2; i|
|00004c90| 6e 64 65 6e 74 2d 74 61 | 62 73 2d 6d 6f 64 65 3a |ndent-ta|bs-mode:|
|00004ca0| 20 6e 69 6c 3b 20 63 2d | 62 61 73 69 63 2d 6f 66 | nil; c-|basic-of|
|00004cb0| 66 73 65 74 3a 20 32 20 | 2d 2a 2d 0a 20 2a 0a 20 |fset: 2 |-*-. *. |
|00004cc0| 2a 20 2a 2a 2a 2a 2a 20 | 42 45 47 49 4e 20 4c 49 |* ***** |BEGIN LI|
|00004cd0| 43 45 4e 53 45 20 42 4c | 4f 43 4b 20 2a 2a 2a 2a |CENSE BL|OCK ****|
|00004ce0| 2a 0a 20 2a 20 56 65 72 | 73 69 6f 6e 3a 20 4d 50 |*. * Ver|sion: MP|
|00004cf0| 4c 20 31 2e 31 2f 47 50 | 4c 20 32 2e 30 2f 4c 47 |L 1.1/GP|L 2.0/LG|
|00004d00| 50 4c 20 32 2e 31 0a 20 | 2a 0a 20 2a 20 54 68 65 |PL 2.1. |*. * The|
|00004d10| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|00004d20| 73 20 66 69 6c 65 20 61 | 72 65 20 73 75 62 6a 65 |s file a|re subje|
|00004d30| 63 74 20 74 6f 20 74 68 | 65 20 4d 6f 7a 69 6c 6c |ct to th|e Mozill|
|00004d40| 61 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |a Public| License|
|00004d50| 20 56 65 72 73 69 6f 6e | 0a 20 2a 20 31 2e 31 20 | Version|. * 1.1 |
|00004d60| 28 74 68 65 20 22 4c 69 | 63 65 6e 73 65 22 29 3b |(the "Li|cense");|
|00004d70| 20 79 6f 75 20 6d 61 79 | 20 6e 6f 74 20 75 73 65 | you may| not use|
|00004d80| 20 74 68 69 73 20 66 69 | 6c 65 20 65 78 63 65 70 | this fi|le excep|
|00004d90| 74 20 69 6e 20 63 6f 6d | 70 6c 69 61 6e 63 65 20 |t in com|pliance |
|00004da0| 77 69 74 68 0a 20 2a 20 | 74 68 65 20 4c 69 63 65 |with. * |the Lice|
|00004db0| 6e 73 65 2e 20 59 6f 75 | 20 6d 61 79 20 6f 62 74 |nse. You| may obt|
|00004dc0| 61 69 6e 20 61 20 63 6f | 70 79 20 6f 66 20 74 68 |ain a co|py of th|
|00004dd0| 65 20 4c 69 63 65 6e 73 | 65 20 61 74 0a 20 2a 20 |e Licens|e at. * |
|00004de0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 6d 6f 7a 69 6c |http://w|ww.mozil|
|00004df0| 6c 61 2e 6f 72 67 2f 4d | 50 4c 2f 0a 20 2a 0a 20 |la.org/M|PL/. *. |
|00004e00| 2a 20 53 6f 66 74 77 61 | 72 65 20 64 69 73 74 72 |* Softwa|re distr|
|00004e10| 69 62 75 74 65 64 20 75 | 6e 64 65 72 20 74 68 65 |ibuted u|nder the|
|00004e20| 20 4c 69 63 65 6e 73 65 | 20 69 73 20 64 69 73 74 | License| is dist|
|00004e30| 72 69 62 75 74 65 64 20 | 6f 6e 20 61 6e 20 22 41 |ributed |on an "A|
|00004e40| 53 20 49 53 22 20 62 61 | 73 69 73 2c 0a 20 2a 20 |S IS" ba|sis,. * |
|00004e50| 57 49 54 48 4f 55 54 20 | 57 41 52 52 41 4e 54 59 |WITHOUT |WARRANTY|
|00004e60| 20 4f 46 20 41 4e 59 20 | 4b 49 4e 44 2c 20 65 69 | OF ANY |KIND, ei|
|00004e70| 74 68 65 72 20 65 78 70 | 72 65 73 73 20 6f 72 20 |ther exp|ress or |
|00004e80| 69 6d 70 6c 69 65 64 2e | 20 53 65 65 20 74 68 65 |implied.| See the|
|00004e90| 20 4c 69 63 65 6e 73 65 | 0a 20 2a 20 66 6f 72 20 | License|. * for |
|00004ea0| 74 68 65 20 73 70 65 63 | 69 66 69 63 20 6c 61 6e |the spec|ific lan|
|00004eb0| 67 75 61 67 65 20 67 6f | 76 65 72 6e 69 6e 67 20 |guage go|verning |
|00004ec0| 72 69 67 68 74 73 20 61 | 6e 64 20 6c 69 6d 69 74 |rights a|nd limit|
|00004ed0| 61 74 69 6f 6e 73 20 75 | 6e 64 65 72 20 74 68 65 |ations u|nder the|
|00004ee0| 0a 20 2a 20 4c 69 63 65 | 6e 73 65 2e 0a 20 2a 0a |. * Lice|nse.. *.|
|00004ef0| 20 2a 20 54 68 65 20 4f | 72 69 67 69 6e 61 6c 20 | * The O|riginal |
|00004f00| 43 6f 64 65 20 69 73 20 | 6d 6f 7a 69 6c 6c 61 2e |Code is |mozilla.|
|00004f10| 6f 72 67 20 63 6f 64 65 | 2e 0a 20 2a 0a 20 2a 20 |org code|.. *. * |
|00004f20| 54 68 65 20 49 6e 69 74 | 69 61 6c 20 44 65 76 65 |The Init|ial Deve|
|00004f30| 6c 6f 70 65 72 20 6f 66 | 20 74 68 65 20 4f 72 69 |loper of| the Ori|
|00004f40| 67 69 6e 61 6c 20 43 6f | 64 65 20 69 73 0a 20 2a |ginal Co|de is. *|
|00004f50| 20 4e 65 74 73 63 61 70 | 65 20 43 6f 6d 6d 75 6e | Netscap|e Commun|
|00004f60| 69 63 61 74 69 6f 6e 73 | 20 43 6f 72 70 6f 72 61 |ications| Corpora|
|00004f70| 74 69 6f 6e 2e 0a 20 2a | 20 50 6f 72 74 69 6f 6e |tion.. *| Portion|
|00004f80| 73 20 63 72 65 61 74 65 | 64 20 62 79 20 74 68 65 |s create|d by the|
|00004f90| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00004fa0| 65 72 20 61 72 65 20 43 | 6f 70 79 72 69 67 68 74 |er are C|opyright|
|00004fb0| 20 28 43 29 20 31 39 39 | 38 0a 20 2a 20 74 68 65 | (C) 199|8. * the|
|00004fc0| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00004fd0| 65 72 2e 20 41 6c 6c 20 | 52 69 67 68 74 73 20 52 |er. All |Rights R|
|00004fe0| 65 73 65 72 76 65 64 2e | 0a 20 2a 0a 20 2a 20 43 |eserved.|. *. * C|
|00004ff0| 6f 6e 74 72 69 62 75 74 | 6f 72 28 73 29 3a 0a 20 |ontribut|or(s):. |
|00005000| 2a 20 20 20 4a 61 76 69 | 65 72 20 44 65 6c 67 61 |* Javi|er Delga|
|00005010| 64 69 6c 6c 6f 20 3c 6a | 61 76 69 40 6e 65 74 73 |dillo <j|avi@nets|
|00005020| 63 61 70 65 2e 63 6f 6d | 3e 0a 20 2a 0a 20 2a 20 |cape.com|>. *. * |
|00005030| 41 6c 74 65 72 6e 61 74 | 69 76 65 6c 79 2c 20 74 |Alternat|ively, t|
|00005040| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 74 |he conte|nts of t|
|00005050| 68 69 73 20 66 69 6c 65 | 20 6d 61 79 20 62 65 20 |his file| may be |
|00005060| 75 73 65 64 20 75 6e 64 | 65 72 20 74 68 65 20 74 |used und|er the t|
|00005070| 65 72 6d 73 20 6f 66 0a | 20 2a 20 65 69 74 68 65 |erms of.| * eithe|
|00005080| 72 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |r the GN|U Genera|
|00005090| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|000050a0| 20 56 65 72 73 69 6f 6e | 20 32 20 6f 72 20 6c 61 | Version| 2 or la|
|000050b0| 74 65 72 20 28 74 68 65 | 20 22 47 50 4c 22 29 2c |ter (the| "GPL"),|
|000050c0| 20 6f 72 0a 20 2a 20 74 | 68 65 20 47 4e 55 20 4c | or. * t|he GNU L|
|000050d0| 65 73 73 65 72 20 47 65 | 6e 65 72 61 6c 20 50 75 |esser Ge|neral Pu|
|000050e0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 56 65 72 |blic Lic|ense Ver|
|000050f0| 73 69 6f 6e 20 32 2e 31 | 20 6f 72 20 6c 61 74 65 |sion 2.1| or late|
|00005100| 72 20 28 74 68 65 20 22 | 4c 47 50 4c 22 29 2c 0a |r (the "|LGPL"),.|
|00005110| 20 2a 20 69 6e 20 77 68 | 69 63 68 20 63 61 73 65 | * in wh|ich case|
|00005120| 20 74 68 65 20 70 72 6f | 76 69 73 69 6f 6e 73 20 | the pro|visions |
|00005130| 6f 66 20 74 68 65 20 47 | 50 4c 20 6f 72 20 74 68 |of the G|PL or th|
|00005140| 65 20 4c 47 50 4c 20 61 | 72 65 20 61 70 70 6c 69 |e LGPL a|re appli|
|00005150| 63 61 62 6c 65 20 69 6e | 73 74 65 61 64 0a 20 2a |cable in|stead. *|
|00005160| 20 6f 66 20 74 68 6f 73 | 65 20 61 62 6f 76 65 2e | of thos|e above.|
|00005170| 20 49 66 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 | If you |wish to |
|00005180| 61 6c 6c 6f 77 20 75 73 | 65 20 6f 66 20 79 6f 75 |allow us|e of you|
|00005190| 72 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 69 |r versio|n of thi|
|000051a0| 73 20 66 69 6c 65 20 6f | 6e 6c 79 0a 20 2a 20 75 |s file o|nly. * u|
|000051b0| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|000051c0| 66 20 65 69 74 68 65 72 | 20 74 68 65 20 47 50 4c |f either| the GPL|
|000051d0| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2c 20 61 6e | or the |LGPL, an|
|000051e0| 64 20 6e 6f 74 20 74 6f | 20 61 6c 6c 6f 77 20 6f |d not to| allow o|
|000051f0| 74 68 65 72 73 20 74 6f | 0a 20 2a 20 75 73 65 20 |thers to|. * use |
|00005200| 79 6f 75 72 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |your ver|sion of |
|00005210| 74 68 69 73 20 66 69 6c | 65 20 75 6e 64 65 72 20 |this fil|e under |
|00005220| 74 68 65 20 74 65 72 6d | 73 20 6f 66 20 74 68 65 |the term|s of the|
|00005230| 20 4d 50 4c 2c 20 69 6e | 64 69 63 61 74 65 20 79 | MPL, in|dicate y|
|00005240| 6f 75 72 0a 20 2a 20 64 | 65 63 69 73 69 6f 6e 20 |our. * d|ecision |
|00005250| 62 79 20 64 65 6c 65 74 | 69 6e 67 20 74 68 65 20 |by delet|ing the |
|00005260| 70 72 6f 76 69 73 69 6f | 6e 73 20 61 62 6f 76 65 |provisio|ns above|
|00005270| 20 61 6e 64 20 72 65 70 | 6c 61 63 65 20 74 68 65 | and rep|lace the|
|00005280| 6d 20 77 69 74 68 20 74 | 68 65 20 6e 6f 74 69 63 |m with t|he notic|
|00005290| 65 0a 20 2a 20 61 6e 64 | 20 6f 74 68 65 72 20 70 |e. * and| other p|
|000052a0| 72 6f 76 69 73 69 6f 6e | 73 20 72 65 71 75 69 72 |rovision|s requir|
|000052b0| 65 64 20 62 79 20 74 68 | 65 20 47 50 4c 20 6f 72 |ed by th|e GPL or|
|000052c0| 20 74 68 65 20 4c 47 50 | 4c 2e 20 49 66 20 79 6f | the LGP|L. If yo|
|000052d0| 75 20 64 6f 20 6e 6f 74 | 20 64 65 6c 65 74 65 0a |u do not| delete.|
|000052e0| 20 2a 20 74 68 65 20 70 | 72 6f 76 69 73 69 6f 6e | * the p|rovision|
|000052f0| 73 20 61 62 6f 76 65 2c | 20 61 20 72 65 63 69 70 |s above,| a recip|
|00005300| 69 65 6e 74 20 6d 61 79 | 20 75 73 65 20 79 6f 75 |ient may| use you|
|00005310| 72 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 69 |r versio|n of thi|
|00005320| 73 20 66 69 6c 65 20 75 | 6e 64 65 72 0a 20 2a 20 |s file u|nder. * |
|00005330| 74 68 65 20 74 65 72 6d | 73 20 6f 66 20 61 6e 79 |the term|s of any|
|00005340| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 4d 50 4c 2c | one of |the MPL,|
|00005350| 20 74 68 65 20 47 50 4c | 20 6f 72 20 74 68 65 20 | the GPL| or the |
|00005360| 4c 47 50 4c 2e 0a 20 2a | 0a 20 2a 20 2a 2a 2a 2a |LGPL.. *|. * ****|
|00005370| 2a 20 45 4e 44 20 4c 49 | 43 45 4e 53 45 20 42 4c |* END LI|CENSE BL|
|00005380| 4f 43 4b 20 2a 2a 2a 2a | 2a 20 2a 2f 0a 0a 66 75 |OCK ****|* */..fu|
|00005390| 6e 63 74 69 6f 6e 20 6f | 70 65 6e 43 65 72 74 4d |nction o|penCertM|
|000053a0| 61 6e 61 67 65 72 28 29 | 0a 7b 0a 20 20 20 20 2f |anager()|.{. /|
|000053b0| 2f 63 68 65 63 6b 20 66 | 6f 72 20 61 6e 20 65 78 |/check f|or an ex|
|000053c0| 69 73 74 69 6e 67 20 63 | 65 72 74 4d 61 6e 61 67 |isting c|ertManag|
|000053d0| 65 72 20 77 69 6e 64 6f | 77 20 61 6e 64 20 66 6f |er windo|w and fo|
|000053e0| 63 75 73 20 69 74 3b 20 | 69 74 27 73 20 6e 6f 74 |cus it; |it's not|
|000053f0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6d 6f 64 | applica|tion mod|
|00005400| 61 6c 0a 20 20 20 20 63 | 6f 6e 73 74 20 6b 57 69 |al. c|onst kWi|
|00005410| 6e 64 6f 77 4d 65 64 69 | 61 74 6f 72 43 6f 6e 74 |ndowMedi|atorCont|
|00005420| 72 61 63 74 49 44 20 3d | 20 22 40 6d 6f 7a 69 6c |ractID =| "@mozil|
|00005430| 6c 61 2e 6f 72 67 2f 61 | 70 70 73 68 65 6c 6c 2f |la.org/a|ppshell/|
|00005440| 77 69 6e 64 6f 77 2d 6d | 65 64 69 61 74 6f 72 3b |window-m|ediator;|
|00005450| 31 22 3b 0a 20 20 20 20 | 63 6f 6e 73 74 20 6b 57 |1";. |const kW|
|00005460| 69 6e 64 6f 77 4d 65 64 | 69 61 74 6f 72 49 49 44 |indowMed|iatorIID|
|00005470| 20 3d 20 43 6f 6d 70 6f | 6e 65 6e 74 73 2e 69 6e | = Compo|nents.in|
|00005480| 74 65 72 66 61 63 65 73 | 2e 6e 73 49 57 69 6e 64 |terfaces|.nsIWind|
|00005490| 6f 77 4d 65 64 69 61 74 | 6f 72 3b 0a 20 20 20 20 |owMediat|or;. |
|000054a0| 63 6f 6e 73 74 20 6b 57 | 69 6e 64 6f 77 4d 65 64 |const kW|indowMed|
|000054b0| 69 61 74 6f 72 20 3d 20 | 43 6f 6d 70 6f 6e 65 6e |iator = |Componen|
|000054c0| 74 73 2e 63 6c 61 73 73 | 65 73 5b 6b 57 69 6e 64 |ts.class|es[kWind|
|000054d0| 6f 77 4d 65 64 69 61 74 | 6f 72 43 6f 6e 74 72 61 |owMediat|orContra|
|000054e0| 63 74 49 44 5d 2e 67 65 | 74 53 65 72 76 69 63 65 |ctID].ge|tService|
|000054f0| 28 6b 57 69 6e 64 6f 77 | 4d 65 64 69 61 74 6f 72 |(kWindow|Mediator|
|00005500| 49 49 44 29 3b 0a 20 20 | 20 20 76 61 72 20 6c 61 |IID);. | var la|
|00005510| 73 74 43 65 72 74 4d 61 | 6e 61 67 65 72 20 3d 20 |stCertMa|nager = |
|00005520| 6b 57 69 6e 64 6f 77 4d | 65 64 69 61 74 6f 72 2e |kWindowM|ediator.|
|00005530| 67 65 74 4d 6f 73 74 52 | 65 63 65 6e 74 57 69 6e |getMostR|ecentWin|
|00005540| 64 6f 77 28 22 6d 6f 7a | 69 6c 6c 61 3a 63 65 72 |dow("moz|illa:cer|
|00005550| 74 6d 61 6e 61 67 65 72 | 22 29 3b 0a 20 20 20 20 |tmanager|");. |
|00005560| 69 66 20 28 6c 61 73 74 | 43 65 72 74 4d 61 6e 61 |if (last|CertMana|
|00005570| 67 65 72 29 0a 20 20 20 | 20 20 20 6c 61 73 74 43 |ger). | lastC|
|00005580| 65 72 74 4d 61 6e 61 67 | 65 72 2e 66 6f 63 75 73 |ertManag|er.focus|
|00005590| 28 29 3b 0a 20 20 20 20 | 65 6c 73 65 20 7b 0a 20 |();. |else {. |
|000055a0| 20 20 20 20 20 77 69 6e | 64 6f 77 2e 6f 70 65 6e | win|dow.open|
|000055b0| 28 27 63 68 72 6f 6d 65 | 3a 2f 2f 70 69 70 70 6b |('chrome|://pippk|
|000055c0| 69 2f 63 6f 6e 74 65 6e | 74 2f 63 65 72 74 4d 61 |i/conten|t/certMa|
|000055d0| 6e 61 67 65 72 2e 78 75 | 6c 27 2c 20 20 22 22 2c |nager.xu|l', "",|
|000055e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000055f0| 20 20 20 27 63 68 72 6f | 6d 65 2c 63 65 6e 74 65 | 'chro|me,cente|
|00005600| 72 73 63 72 65 65 6e 2c | 72 65 73 69 7a 61 62 6c |rscreen,|resizabl|
|00005610| 65 2c 64 69 61 6c 6f 67 | 27 29 3b 0a 20 20 20 20 |e,dialog|');. |
|00005620| 7d 0a 7d 0a 0a 66 75 6e | 63 74 69 6f 6e 20 6f 70 |}.}..fun|ction op|
|00005630| 65 6e 44 65 76 69 63 65 | 4d 61 6e 61 67 65 72 28 |enDevice|Manager(|
|00005640| 29 0a 7b 0a 20 20 20 20 | 2f 2f 63 68 65 63 6b 20 |).{. |//check |
|00005650| 66 6f 72 20 61 6e 20 65 | 78 69 73 74 69 6e 67 20 |for an e|xisting |
|00005660| 64 65 76 69 63 65 4d 61 | 6e 67 65 72 20 77 69 6e |deviceMa|nger win|
|00005670| 64 6f 77 20 61 6e 64 20 | 66 6f 63 75 73 20 69 74 |dow and |focus it|
|00005680| 3b 20 69 74 27 73 20 6e | 6f 74 20 61 70 70 6c 69 |; it's n|ot appli|
|00005690| 63 61 74 69 6f 6e 20 6d | 6f 64 61 6c 0a 20 20 20 |cation m|odal. |
|000056a0| 20 63 6f 6e 73 74 20 6b | 57 69 6e 64 6f 77 4d 65 | const k|WindowMe|
|000056b0| 64 69 61 74 6f 72 43 6f | 6e 74 72 61 63 74 49 44 |diatorCo|ntractID|
|000056c0| 20 3d 20 22 40 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 | = "@moz|illa.org|
|000056d0| 2f 61 70 70 73 68 65 6c | 6c 2f 77 69 6e 64 6f 77 |/appshel|l/window|
|000056e0| 2d 6d 65 64 69 61 74 6f | 72 3b 31 22 3b 0a 20 20 |-mediato|r;1";. |
|000056f0| 20 20 63 6f 6e 73 74 20 | 6b 57 69 6e 64 6f 77 4d | const |kWindowM|
|00005700| 65 64 69 61 74 6f 72 49 | 49 44 20 3d 20 43 6f 6d |ediatorI|ID = Com|
|00005710| 70 6f 6e 65 6e 74 73 2e | 69 6e 74 65 72 66 61 63 |ponents.|interfac|
|00005720| 65 73 2e 6e 73 49 57 69 | 6e 64 6f 77 4d 65 64 69 |es.nsIWi|ndowMedi|
|00005730| 61 74 6f 72 3b 0a 20 20 | 20 20 63 6f 6e 73 74 20 |ator;. | const |
|00005740| 6b 57 69 6e 64 6f 77 4d | 65 64 69 61 74 6f 72 20 |kWindowM|ediator |
|00005750| 3d 20 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 63 6c 61 |= Compon|ents.cla|
|00005760| 73 73 65 73 5b 6b 57 69 | 6e 64 6f 77 4d 65 64 69 |sses[kWi|ndowMedi|
|00005770| 61 74 6f 72 43 6f 6e 74 | 72 61 63 74 49 44 5d 2e |atorCont|ractID].|
|00005780| 67 65 74 53 65 72 76 69 | 63 65 28 6b 57 69 6e 64 |getServi|ce(kWind|
|00005790| 6f 77 4d 65 64 69 61 74 | 6f 72 49 49 44 29 3b 0a |owMediat|orIID);.|
|000057a0| 20 20 20 20 76 61 72 20 | 6c 61 73 74 43 65 72 74 | var |lastCert|
|000057b0| 4d 61 6e 61 67 65 72 20 | 3d 20 6b 57 69 6e 64 6f |Manager |= kWindo|
|000057c0| 77 4d 65 64 69 61 74 6f | 72 2e 67 65 74 4d 6f 73 |wMediato|r.getMos|
|000057d0| 74 52 65 63 65 6e 74 57 | 69 6e 64 6f 77 28 22 6d |tRecentW|indow("m|
|000057e0| 6f 7a 69 6c 6c 61 3a 64 | 65 76 69 63 65 6d 61 6e |ozilla:d|eviceman|
|000057f0| 61 67 65 72 22 29 3b 0a | 20 20 20 20 69 66 20 28 |ager");.| if (|
|00005800| 6c 61 73 74 43 65 72 74 | 4d 61 6e 61 67 65 72 29 |lastCert|Manager)|
|00005810| 0a 20 20 20 20 20 20 6c | 61 73 74 43 65 72 74 4d |. l|astCertM|
|00005820| 61 6e 61 67 65 72 2e 66 | 6f 63 75 73 28 29 3b 0a |anager.f|ocus();.|
|00005830| 20 20 20 20 65 6c 73 65 | 20 7b 0a 20 20 20 20 20 | else| {. |
|00005840| 20 77 69 6e 64 6f 77 2e | 6f 70 65 6e 28 27 63 68 | window.|open('ch|
|00005850| 72 6f 6d 65 3a 2f 2f 70 | 69 70 70 6b 69 2f 63 6f |rome://p|ippki/co|
|00005860| 6e 74 65 6e 74 2f 64 65 | 76 69 63 65 5f 6d 61 6e |ntent/de|vice_man|
|00005870| 61 67 65 72 2e 78 75 6c | 27 2c 20 20 22 64 65 76 |ager.xul|', "dev|
|00005880| 6d 67 72 22 2c 0a 20 20 | 20 20 20 20 20 20 20 20 |mgr",. | |
|00005890| 20 20 20 20 20 20 20 20 | 27 63 68 72 6f 6d 65 2c | |'chrome,|
|000058a0| 63 65 6e 74 65 72 73 63 | 72 65 65 6e 2c 72 65 73 |centersc|reen,res|
|000058b0| 69 7a 61 62 6c 65 2c 64 | 69 61 6c 6f 67 27 29 3b |izable,d|ialog');|
|000058c0| 0a 20 20 20 20 7d 0a 7d | 0a 50 4b 03 04 0a 00 00 |. }.}|.PK.....|
|000058d0| 00 00 00 05 7f b5 34 1c | 49 e1 28 55 10 00 00 55 |......4.|I.(U...U|
|000058e0| 10 00 00 1b 00 00 00 63 | 6f 6e 74 65 6e 74 2f 70 |.......c|ontent/p|
|000058f0| 69 70 70 6b 69 2f 70 72 | 65 66 2d 73 73 6c 2e 78 |ippki/pr|ef-ssl.x|
|00005900| 75 6c 3c 3f 78 6d 6c 20 | 76 65 72 73 69 6f 6e 3d |ul<?xml |version=|
|00005910| 22 31 2e 30 22 3f 3e 20 | 0a 3c 21 2d 2d 20 2a 2a |"1.0"?> |.<!-- **|
|00005920| 2a 2a 2a 20 42 45 47 49 | 4e 20 4c 49 43 45 4e 53 |*** BEGI|N LICENS|
|00005930| 45 20 42 4c 4f 43 4b 20 | 2a 2a 2a 2a 2a 0a 20 20 |E BLOCK |*****. |
|00005940| 20 2d 20 56 65 72 73 69 | 6f 6e 3a 20 4d 50 4c 20 | - Versi|on: MPL |
|00005950| 31 2e 31 2f 47 50 4c 20 | 32 2e 30 2f 4c 47 50 4c |1.1/GPL |2.0/LGPL|
|00005960| 20 32 2e 31 0a 20 20 20 | 2d 0a 20 20 20 2d 20 54 | 2.1. |-. - T|
|00005970| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 74 |he conte|nts of t|
|00005980| 68 69 73 20 66 69 6c 65 | 20 61 72 65 20 73 75 62 |his file| are sub|
|00005990| 6a 65 63 74 20 74 6f 20 | 74 68 65 20 4d 6f 7a 69 |ject to |the Mozi|
|000059a0| 6c 6c 61 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |lla Publ|ic Licen|
|000059b0| 73 65 20 56 65 72 73 69 | 6f 6e 0a 20 20 20 2d 20 |se Versi|on. - |
|000059c0| 31 2e 31 20 28 74 68 65 | 20 22 4c 69 63 65 6e 73 |1.1 (the| "Licens|
|000059d0| 65 22 29 3b 20 79 6f 75 | 20 6d 61 79 20 6e 6f 74 |e"); you| may not|
|000059e0| 20 75 73 65 20 74 68 69 | 73 20 66 69 6c 65 20 65 | use thi|s file e|
|000059f0| 78 63 65 70 74 20 69 6e | 20 63 6f 6d 70 6c 69 61 |xcept in| complia|
|00005a00| 6e 63 65 20 77 69 74 68 | 0a 20 20 20 2d 20 74 68 |nce with|. - th|
|00005a10| 65 20 4c 69 63 65 6e 73 | 65 2e 20 59 6f 75 20 6d |e Licens|e. You m|
|00005a20| 61 79 20 6f 62 74 61 69 | 6e 20 61 20 63 6f 70 79 |ay obtai|n a copy|
|00005a30| 20 6f 66 20 74 68 65 20 | 4c 69 63 65 6e 73 65 20 | of the |License |
|00005a40| 61 74 0a 20 20 20 2d 20 | 68 74 74 70 3a 2f 2f 77 |at. - |http://w|
|00005a50| 77 77 2e 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 2f 4d |ww.mozil|la.org/M|
|00005a60| 50 4c 2f 0a 20 20 20 2d | 0a 20 20 20 2d 20 53 6f |PL/. -|. - So|
|00005a70| 66 74 77 61 72 65 20 64 | 69 73 74 72 69 62 75 74 |ftware d|istribut|
|00005a80| 65 64 20 75 6e 64 65 72 | 20 74 68 65 20 4c 69 63 |ed under| the Lic|
|00005a90| 65 6e 73 65 20 69 73 20 | 64 69 73 74 72 69 62 75 |ense is |distribu|
|00005aa0| 74 65 64 20 6f 6e 20 61 | 6e 20 22 41 53 20 49 53 |ted on a|n "AS IS|
|00005ab0| 22 20 62 61 73 69 73 2c | 0a 20 20 20 2d 20 57 49 |" basis,|. - WI|
|00005ac0| 54 48 4f 55 54 20 57 41 | 52 52 41 4e 54 59 20 4f |THOUT WA|RRANTY O|
|00005ad0| 46 20 41 4e 59 20 4b 49 | 4e 44 2c 20 65 69 74 68 |F ANY KI|ND, eith|
|00005ae0| 65 72 20 65 78 70 72 65 | 73 73 20 6f 72 20 69 6d |er expre|ss or im|
|00005af0| 70 6c 69 65 64 2e 20 53 | 65 65 20 74 68 65 20 4c |plied. S|ee the L|
|00005b00| 69 63 65 6e 73 65 0a 20 | 20 20 2d 20 66 6f 72 20 |icense. | - for |
|00005b10| 74 68 65 20 73 70 65 63 | 69 66 69 63 20 6c 61 6e |the spec|ific lan|
|00005b20| 67 75 61 67 65 20 67 6f | 76 65 72 6e 69 6e 67 20 |guage go|verning |
|00005b30| 72 69 67 68 74 73 20 61 | 6e 64 20 6c 69 6d 69 74 |rights a|nd limit|
|00005b40| 61 74 69 6f 6e 73 20 75 | 6e 64 65 72 20 74 68 65 |ations u|nder the|
|00005b50| 0a 20 20 20 2d 20 4c 69 | 63 65 6e 73 65 2e 0a 20 |. - Li|cense.. |
|00005b60| 20 20 2d 0a 20 20 20 2d | 20 54 68 65 20 4f 72 69 | -. -| The Ori|
|00005b70| 67 69 6e 61 6c 20 43 6f | 64 65 20 69 73 20 6d 6f |ginal Co|de is mo|
|00005b80| 7a 69 6c 6c 61 2e 6f 72 | 67 20 63 6f 64 65 2e 0a |zilla.or|g code..|
|00005b90| 20 20 20 2d 0a 20 20 20 | 2d 20 54 68 65 20 49 6e | -. |- The In|
|00005ba0| 69 74 69 61 6c 20 44 65 | 76 65 6c 6f 70 65 72 20 |itial De|veloper |
|00005bb0| 6f 66 20 74 68 65 20 4f | 72 69 67 69 6e 61 6c 20 |of the O|riginal |
|00005bc0| 43 6f 64 65 20 69 73 0a | 20 20 20 2d 20 4e 65 74 |Code is.| - Net|
|00005bd0| 73 63 61 70 65 20 43 6f | 6d 6d 75 6e 69 63 61 74 |scape Co|mmunicat|
|00005be0| 69 6f 6e 73 20 43 6f 72 | 70 2e 0a 20 20 20 2d 20 |ions Cor|p.. - |
|00005bf0| 50 6f 72 74 69 6f 6e 73 | 20 63 72 65 61 74 65 64 |Portions| created|
|00005c00| 20 62 79 20 74 68 65 20 | 49 6e 69 74 69 61 6c 20 | by the |Initial |
|00005c10| 44 65 76 65 6c 6f 70 65 | 72 20 61 72 65 20 43 6f |Develope|r are Co|
|00005c20| 70 79 72 69 67 68 74 20 | 28 43 29 20 32 30 30 31 |pyright |(C) 2001|
|00005c30| 0a 20 20 20 2d 20 74 68 | 65 20 49 6e 69 74 69 61 |. - th|e Initia|
|00005c40| 6c 20 44 65 76 65 6c 6f | 70 65 72 2e 20 41 6c 6c |l Develo|per. All|
|00005c50| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved|
|00005c60| 2e 0a 20 20 20 2d 0a 20 | 20 20 2d 20 43 6f 6e 74 |.. -. | - Cont|
|00005c70| 72 69 62 75 74 6f 72 28 | 73 29 3a 0a 20 20 20 2d |ributor(|s):. -|
|00005c80| 20 20 20 42 6f 62 20 4c | 6f 72 64 20 3c 6c 6f 72 | Bob L|ord <lor|
|00005c90| 64 40 6e 65 74 73 63 61 | 70 65 2e 63 6f 6d 3e 0a |d@netsca|pe.com>.|
|00005ca0| 20 20 20 2d 20 20 20 54 | 65 72 72 79 20 48 61 79 | - T|erry Hay|
|00005cb0| 65 73 20 3c 74 68 61 79 | 65 73 40 6e 65 74 73 63 |es <thay|es@netsc|
|00005cc0| 61 70 65 2e 63 6f 6d 3e | 0a 20 20 20 2d 0a 20 20 |ape.com>|. -. |
|00005cd0| 20 2d 20 41 6c 74 65 72 | 6e 61 74 69 76 65 6c 79 | - Alter|natively|
|00005ce0| 2c 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |, the co|ntents o|
|00005cf0| 66 20 74 68 69 73 20 66 | 69 6c 65 20 6d 61 79 20 |f this f|ile may |
|00005d00| 62 65 20 75 73 65 64 20 | 75 6e 64 65 72 20 74 68 |be used |under th|
|00005d10| 65 20 74 65 72 6d 73 20 | 6f 66 0a 20 20 20 2d 20 |e terms |of. - |
|00005d20| 65 69 74 68 65 72 20 74 | 68 65 20 47 4e 55 20 47 |either t|he GNU G|
|00005d30| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00005d40| 63 65 6e 73 65 20 56 65 | 72 73 69 6f 6e 20 32 20 |cense Ve|rsion 2 |
|00005d50| 6f 72 20 6c 61 74 65 72 | 20 28 74 68 65 20 22 47 |or later| (the "G|
|00005d60| 50 4c 22 29 2c 20 6f 72 | 0a 20 20 20 2d 20 74 68 |PL"), or|. - th|
|00005d70| 65 20 47 4e 55 20 4c 65 | 73 73 65 72 20 47 65 6e |e GNU Le|sser Gen|
|00005d80| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00005d90| 6e 73 65 20 56 65 72 73 | 69 6f 6e 20 32 2e 31 20 |nse Vers|ion 2.1 |
|00005da0| 6f 72 20 6c 61 74 65 72 | 20 28 74 68 65 20 22 4c |or later| (the "L|
|00005db0| 47 50 4c 22 29 2c 0a 20 | 20 20 2d 20 69 6e 20 77 |GPL"),. | - in w|
|00005dc0| 68 69 63 68 20 63 61 73 | 65 20 74 68 65 20 70 72 |hich cas|e the pr|
|00005dd0| 6f 76 69 73 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |ovisions| of the |
|00005de0| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 20 |GPL or t|he LGPL |
|00005df0| 61 72 65 20 61 70 70 6c | 69 63 61 62 6c 65 20 69 |are appl|icable i|
|00005e00| 6e 73 74 65 61 64 0a 20 | 20 20 2d 20 6f 66 20 74 |nstead. | - of t|
|00005e10| 68 6f 73 65 20 61 62 6f | 76 65 2e 20 49 66 20 79 |hose abo|ve. If y|
|00005e20| 6f 75 20 77 69 73 68 20 | 74 6f 20 61 6c 6c 6f 77 |ou wish |to allow|
|00005e30| 20 75 73 65 20 6f 66 20 | 79 6f 75 72 20 76 65 72 | use of |your ver|
|00005e40| 73 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 66 69 6c |sion of |this fil|
|00005e50| 65 20 6f 6e 6c 79 0a 20 | 20 20 2d 20 75 6e 64 65 |e only. | - unde|
|00005e60| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 65 |r the te|rms of e|
|00005e70| 69 74 68 65 72 20 74 68 | 65 20 47 50 4c 20 6f 72 |ither th|e GPL or|
|00005e80| 20 74 68 65 20 4c 47 50 | 4c 2c 20 61 6e 64 20 6e | the LGP|L, and n|
|00005e90| 6f 74 20 74 6f 20 61 6c | 6c 6f 77 20 6f 74 68 65 |ot to al|low othe|
|00005ea0| 72 73 20 74 6f 0a 20 20 | 20 2d 20 75 73 65 20 79 |rs to. | - use y|
|00005eb0| 6f 75 72 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |our vers|ion of t|
|00005ec0| 68 69 73 20 66 69 6c 65 | 20 75 6e 64 65 72 20 74 |his file| under t|
|00005ed0| 68 65 20 74 65 72 6d 73 | 20 6f 66 20 74 68 65 20 |he terms| of the |
|00005ee0| 4d 50 4c 2c 20 69 6e 64 | 69 63 61 74 65 20 79 6f |MPL, ind|icate yo|
|00005ef0| 75 72 0a 20 20 20 2d 20 | 64 65 63 69 73 69 6f 6e |ur. - |decision|
|00005f00| 20 62 79 20 64 65 6c 65 | 74 69 6e 67 20 74 68 65 | by dele|ting the|
|00005f10| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 61 62 6f 76 | provisi|ons abov|
|00005f20| 65 20 61 6e 64 20 72 65 | 70 6c 61 63 65 20 74 68 |e and re|place th|
|00005f30| 65 6d 20 77 69 74 68 20 | 74 68 65 20 6e 6f 74 69 |em with |the noti|
|00005f40| 63 65 0a 20 20 20 2d 20 | 61 6e 64 20 6f 74 68 65 |ce. - |and othe|
|00005f50| 72 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 72 65 71 |r provis|ions req|
|00005f60| 75 69 72 65 64 20 62 79 | 20 74 68 65 20 47 50 4c |uired by| the GPL|
|00005f70| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2e 20 49 66 | or the |LGPL. If|
|00005f80| 20 79 6f 75 20 64 6f 20 | 6e 6f 74 20 64 65 6c 65 | you do |not dele|
|00005f90| 74 65 0a 20 20 20 2d 20 | 74 68 65 20 70 72 6f 76 |te. - |the prov|
|00005fa0| 69 73 69 6f 6e 73 20 61 | 62 6f 76 65 2c 20 61 20 |isions a|bove, a |
|00005fb0| 72 65 63 69 70 69 65 6e | 74 20 6d 61 79 20 75 73 |recipien|t may us|
|00005fc0| 65 20 79 6f 75 72 20 76 | 65 72 73 69 6f 6e 20 6f |e your v|ersion o|
|00005fd0| 66 20 74 68 69 73 20 66 | 69 6c 65 20 75 6e 64 65 |f this f|ile unde|
|00005fe0| 72 0a 20 20 20 2d 20 74 | 68 65 20 74 65 72 6d 73 |r. - t|he terms|
|00005ff0| 20 6f 66 20 61 6e 79 20 | 6f 6e 65 20 6f 66 20 74 | of any |one of t|
|00006000| 68 65 20 4d 50 4c 2c 20 | 74 68 65 20 47 50 4c 20 |he MPL, |the GPL |
|00006010| 6f 72 20 74 68 65 20 4c | 47 50 4c 2e 0a 20 20 20 |or the L|GPL.. |
|00006020| 2d 0a 20 20 20 2d 20 2a | 2a 2a 2a 2a 20 45 4e 44 |-. - *|**** END|
|00006030| 20 4c 49 43 45 4e 53 45 | 20 42 4c 4f 43 4b 20 2a | LICENSE| BLOCK *|
|00006040| 2a 2a 2a 2a 20 2d 2d 3e | 0a 0a 3c 3f 78 6d 6c 2d |**** -->|..<?xml-|
|00006050| 73 74 79 6c 65 73 68 65 | 65 74 20 68 72 65 66 3d |styleshe|et href=|
|00006060| 22 63 68 72 6f 6d 65 3a | 2f 2f 63 6f 6d 6d 75 6e |"chrome:|//commun|
|00006070| 69 63 61 74 6f 72 2f 73 | 6b 69 6e 2f 22 20 74 79 |icator/s|kin/" ty|
|00006080| 70 65 3d 22 74 65 78 74 | 2f 63 73 73 22 3f 3e 0a |pe="text|/css"?>.|
|00006090| 0a 3c 21 44 4f 43 54 59 | 50 45 20 70 61 67 65 20 |.<!DOCTY|PE page |
|000060a0| 5b 0a 20 20 3c 21 45 4e | 54 49 54 59 20 25 20 62 |[. <!EN|TITY % b|
|000060b0| 72 61 6e 64 44 54 44 20 | 53 59 53 54 45 4d 20 22 |randDTD |SYSTEM "|
|000060c0| 63 68 72 6f 6d 65 3a 2f | 2f 62 72 61 6e 64 69 6e |chrome:/|/brandin|
|000060d0| 67 2f 6c 6f 63 61 6c 65 | 2f 62 72 61 6e 64 2e 64 |g/locale|/brand.d|
|000060e0| 74 64 22 3e 0a 20 20 3c | 21 45 4e 54 49 54 59 20 |td">. <|!ENTITY |
|000060f0| 25 20 70 72 65 66 53 73 | 6c 44 54 44 20 53 59 53 |% prefSs|lDTD SYS|
|00006100| 54 45 4d 20 22 63 68 72 | 6f 6d 65 3a 2f 2f 70 69 |TEM "chr|ome://pi|
|00006110| 70 70 6b 69 2f 6c 6f 63 | 61 6c 65 2f 70 72 65 66 |ppki/loc|ale/pref|
|00006120| 2d 73 73 6c 2e 64 74 64 | 22 3e 0a 20 20 25 62 72 |-ssl.dtd|">. %br|
|00006130| 61 6e 64 44 54 44 3b 0a | 20 20 25 70 72 65 66 53 |andDTD;.| %prefS|
|00006140| 73 6c 44 54 44 3b 0a 5d | 3e 0a 0a 3c 70 61 67 65 |slDTD;.]|>..<page|
|00006150| 20 78 6d 6c 6e 73 3d 22 | 68 74 74 70 3a 2f 2f 77 | xmlns="|http://w|
|00006160| 77 77 2e 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 2f 6b |ww.mozil|la.org/k|
|00006170| 65 79 6d 61 73 74 65 72 | 2f 67 61 74 65 6b 65 65 |eymaster|/gatekee|
|00006180| 70 65 72 2f 74 68 65 72 | 65 2e 69 73 2e 6f 6e 6c |per/ther|e.is.onl|
|00006190| 79 2e 78 75 6c 22 0a 20 | 20 20 20 20 20 6f 6e 6c |y.xul". | onl|
|000061a0| 6f 61 64 3d 22 70 61 72 | 65 6e 74 2e 69 6e 69 74 |oad="par|ent.init|
|000061b0| 50 61 6e 65 6c 28 27 63 | 68 72 6f 6d 65 3a 2f 2f |Panel('c|hrome://|
|000061c0| 70 69 70 70 6b 69 2f 63 | 6f 6e 74 65 6e 74 2f 70 |pippki/c|ontent/p|
|000061d0| 72 65 66 2d 73 73 6c 2e | 78 75 6c 27 29 3b 22 0a |ref-ssl.|xul');".|
|000061e0| 20 20 20 20 20 20 68 65 | 61 64 65 72 74 69 74 6c | he|adertitl|
|000061f0| 65 3d 22 26 70 72 65 66 | 2e 73 73 6c 2e 74 69 74 |e="&pref|.ssl.tit|
|00006200| 6c 65 3b 22 3e 0a 0a 20 | 20 3c 21 2d 2d 20 4c 69 |le;">.. | <!-- Li|
|00006210| 73 74 20 65 6c 65 6d 65 | 6e 74 73 20 74 6f 20 6d |st eleme|nts to m|
|00006220| 61 6e 61 67 65 20 66 6f | 72 20 70 72 65 66 73 20 |anage fo|r prefs |
|00006230| 2d 2d 3e 0a 20 20 3c 73 | 63 72 69 70 74 20 74 79 |-->. <s|cript ty|
|00006240| 70 65 3d 22 61 70 70 6c | 69 63 61 74 69 6f 6e 2f |pe="appl|ication/|
|00006250| 78 2d 6a 61 76 61 73 63 | 72 69 70 74 22 3e 0a 20 |x-javasc|ript">. |
|00006260| 20 3c 21 5b 43 44 41 54 | 41 5b 0a 20 20 20 20 76 | <![CDAT|A[. v|
|00006270| 61 72 20 5f 65 6c 65 6d | 65 6e 74 49 44 73 20 3d |ar _elem|entIDs =|
|00006280| 20 5b 22 65 6e 61 62 6c | 65 53 53 4c 33 22 2c 20 | ["enabl|eSSL3", |
|00006290| 22 65 6e 61 62 6c 65 54 | 4c 53 22 2c 20 0a 20 20 |"enableT|LS", . |
|000062a0| 20 20 20 20 20 20 22 77 | 61 72 6e 45 6e 74 65 72 | "w|arnEnter|
|000062b0| 69 6e 67 53 65 63 75 72 | 65 22 2c 20 22 77 61 72 |ingSecur|e", "war|
|000062c0| 6e 45 6e 74 65 72 69 6e | 67 57 65 61 6b 22 2c 20 |nEnterin|gWeak", |
|000062d0| 0a 20 20 20 20 20 20 20 | 20 22 77 61 72 6e 4c 65 |. | "warnLe|
|000062e0| 61 76 69 6e 67 53 65 63 | 75 72 65 22 2c 20 22 77 |avingSec|ure", "w|
|000062f0| 61 72 6e 49 6e 73 65 63 | 75 72 65 50 6f 73 74 22 |arnInsec|urePost"|
|00006300| 2c 0a 20 20 20 20 20 20 | 20 20 22 77 61 72 6e 56 |,. | "warnV|
|00006310| 69 65 77 4d 69 78 65 64 | 22 20 5d 3b 0a 20 20 5d |iewMixed|" ];. ]|
|00006320| 5d 3e 0a 20 20 3c 2f 73 | 63 72 69 70 74 3e 0a 20 |]>. </s|cript>. |
|00006330| 20 20 20 20 20 20 20 20 | 20 20 20 0a 20 20 3c 67 | | . <g|
|00006340| 72 6f 75 70 62 6f 78 20 | 6f 72 69 65 6e 74 3d 22 |roupbox |orient="|
|00006350| 68 6f 72 69 7a 6f 6e 74 | 61 6c 22 3e 0a 20 20 20 |horizont|al">. |
|00006360| 20 3c 63 61 70 74 69 6f | 6e 20 6c 61 62 65 6c 3d | <captio|n label=|
|00006370| 22 26 53 53 4c 50 72 6f | 74 6f 63 6f 6c 56 65 72 |"&SSLPro|tocolVer|
|00006380| 73 69 6f 6e 73 2e 63 61 | 70 74 69 6f 6e 3b 22 2f |sions.ca|ption;"/|
|00006390| 3e 0a 0a 20 20 20 20 3c | 21 2d 2d 20 50 72 65 66 |>.. <|!-- Pref|
|000063a0| 73 20 2d 2d 3e 0a 20 20 | 20 20 3c 76 62 6f 78 20 |s -->. | <vbox |
|000063b0| 66 6c 65 78 3d 22 31 22 | 20 61 6c 69 67 6e 3d 22 |flex="1"| align="|
|000063c0| 73 74 61 72 74 22 3e 0a | 20 20 20 20 20 20 3c 63 |start">.| <c|
|000063d0| 68 65 63 6b 62 6f 78 20 | 69 64 3d 22 65 6e 61 62 |heckbox |id="enab|
|000063e0| 6c 65 53 53 4c 33 22 20 | 6c 61 62 65 6c 3d 22 26 |leSSL3" |label="&|
|000063f0| 65 6e 61 62 6c 65 2e 73 | 73 6c 33 3b 22 0a 20 20 |enable.s|sl3;". |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.