diff --git a/.eslintrc.json b/.eslintrc.json index 6dbacac..d1d31b7 100755 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -52,9 +52,9 @@ "no-trailing-spaces": "warn", "eol-last": "error", "func-call-spacing": "error", - //"key-spacing": ["warn", { - // "mode": "minimum" - //}], + "key-spacing": ["warn", { + "mode": "minimum" + }], "indent": ["error", 4, { "ArrayExpression": "first", "SwitchCase": 1 diff --git a/src/core/Recipe.js b/src/core/Recipe.js index 1b0e7f7..e7e5625 100755 --- a/src/core/Recipe.js +++ b/src/core/Recipe.js @@ -164,10 +164,10 @@ Recipe.prototype.execute = async function(dish, startFrom) { if (op.isFlowControl()) { // Package up the current state let state = { - "progress" : i, - "dish" : dish, - "opList" : this.opList, - "numJumps" : numJumps + "progress": i, + "dish": dish, + "opList": this.opList, + "numJumps": numJumps }; state = await op.run(state); diff --git a/src/core/config/OperationConfig.js b/src/core/config/OperationConfig.js index fe31352..b0c005b 100755 --- a/src/core/config/OperationConfig.js +++ b/src/core/config/OperationConfig.js @@ -2292,7 +2292,7 @@ const OperationConfig = { } ] }, - "Windows Filetime to UNIX Timestamp":{ + "Windows Filetime to UNIX Timestamp": { description: "Converts a Windows Filetime value to a UNIX timestamp.

A Windows Filetime is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 UTC.

A UNIX timestamp is a 32-bit value representing the number of seconds since January 1, 1970 UTC (the UNIX epoch).

This operation also supports UNIX timestamps in milliseconds, microseconds and nanoseconds.", run: DateTime.runFromFiletimeToUnix, inputType: "string", @@ -2310,7 +2310,7 @@ const OperationConfig = { } ] }, - "UNIX Timestamp to Windows Filetime":{ + "UNIX Timestamp to Windows Filetime": { description: "Converts a UNIX timestamp to a Windows Filetime value.

A Windows Filetime is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 UTC.

A UNIX timestamp is a 32-bit value representing the number of seconds since January 1, 1970 UTC (the UNIX epoch).

This operation also supports UNIX timestamps in milliseconds, microseconds and nanoseconds.", run: DateTime.runToFiletimeFromUnix, inputType: "string", diff --git a/src/core/operations/Code.js b/src/core/operations/Code.js index 82f6c6d..9840797 100755 --- a/src/core/operations/Code.js +++ b/src/core/operations/Code.js @@ -329,7 +329,7 @@ const Code = { * @param {Object[]} args * @returns {string} */ - runXpath:function(input, args) { + runXpath: function(input, args) { let query = args[0], delimiter = args[1]; diff --git a/src/core/operations/Compress.js b/src/core/operations/Compress.js index 020d40c..639b89c 100755 --- a/src/core/operations/Compress.js +++ b/src/core/operations/Compress.js @@ -9,12 +9,12 @@ import bzip2 from "exports-loader?bzip2!../lib/bzip2.js"; const Zlib = { RawDeflate: rawdeflate.Zlib.RawDeflate, RawInflate: rawinflate.Zlib.RawInflate, - Deflate: zlibAndGzip.Zlib.Deflate, - Inflate: zlibAndGzip.Zlib.Inflate, - Gzip: zlibAndGzip.Zlib.Gzip, - Gunzip: zlibAndGzip.Zlib.Gunzip, - Zip: zip.Zlib.Zip, - Unzip: unzip.Zlib.Unzip, + Deflate: zlibAndGzip.Zlib.Deflate, + Inflate: zlibAndGzip.Zlib.Inflate, + Gzip: zlibAndGzip.Zlib.Gzip, + Gunzip: zlibAndGzip.Zlib.Gunzip, + Zip: zip.Zlib.Zip, + Unzip: unzip.Zlib.Unzip, }; @@ -54,9 +54,9 @@ const Compress = { * @default */ RAW_COMPRESSION_TYPE_LOOKUP: { - "Fixed Huffman Coding" : Zlib.RawDeflate.CompressionType.FIXED, - "Dynamic Huffman Coding" : Zlib.RawDeflate.CompressionType.DYNAMIC, - "None (Store)" : Zlib.RawDeflate.CompressionType.NONE, + "Fixed Huffman Coding": Zlib.RawDeflate.CompressionType.FIXED, + "Dynamic Huffman Coding": Zlib.RawDeflate.CompressionType.DYNAMIC, + "None (Store)": Zlib.RawDeflate.CompressionType.NONE, }, /** @@ -99,8 +99,8 @@ const Compress = { * @default */ RAW_BUFFER_TYPE_LOOKUP: { - "Adaptive" : Zlib.RawInflate.BufferType.ADAPTIVE, - "Block" : Zlib.RawInflate.BufferType.BLOCK, + "Adaptive": Zlib.RawInflate.BufferType.ADAPTIVE, + "Block": Zlib.RawInflate.BufferType.BLOCK, }, /** @@ -150,9 +150,9 @@ const Compress = { * @default */ ZLIB_COMPRESSION_TYPE_LOOKUP: { - "Fixed Huffman Coding" : Zlib.Deflate.CompressionType.FIXED, - "Dynamic Huffman Coding" : Zlib.Deflate.CompressionType.DYNAMIC, - "None (Store)" : Zlib.Deflate.CompressionType.NONE, + "Fixed Huffman Coding": Zlib.Deflate.CompressionType.FIXED, + "Dynamic Huffman Coding": Zlib.Deflate.CompressionType.DYNAMIC, + "None (Store)": Zlib.Deflate.CompressionType.NONE, }, /** @@ -175,8 +175,8 @@ const Compress = { * @default */ ZLIB_BUFFER_TYPE_LOOKUP: { - "Adaptive" : Zlib.Inflate.BufferType.ADAPTIVE, - "Block" : Zlib.Inflate.BufferType.BLOCK, + "Adaptive": Zlib.Inflate.BufferType.ADAPTIVE, + "Block": Zlib.Inflate.BufferType.BLOCK, }, /** @@ -264,17 +264,17 @@ const Compress = { * @default */ ZIP_COMPRESSION_METHOD_LOOKUP: { - "Deflate" : Zlib.Zip.CompressionMethod.DEFLATE, - "None (Store)" : Zlib.Zip.CompressionMethod.STORE + "Deflate": Zlib.Zip.CompressionMethod.DEFLATE, + "None (Store)": Zlib.Zip.CompressionMethod.STORE }, /** * @constant * @default */ ZIP_OS_LOOKUP: { - "MSDOS" : Zlib.Zip.OperatingSystem.MSDOS, - "Unix" : Zlib.Zip.OperatingSystem.UNIX, - "Macintosh" : Zlib.Zip.OperatingSystem.MACINTOSH + "MSDOS": Zlib.Zip.OperatingSystem.MSDOS, + "Unix": Zlib.Zip.OperatingSystem.UNIX, + "Macintosh": Zlib.Zip.OperatingSystem.MACINTOSH }, /** diff --git a/src/core/operations/Convert.js b/src/core/operations/Convert.js index cb2d860..2c95253 100755 --- a/src/core/operations/Convert.js +++ b/src/core/operations/Convert.js @@ -25,36 +25,36 @@ const Convert = { * @default */ DISTANCE_FACTOR: { // Multiples of a metre - "Nanometres (nm)" : 1e-9, - "Micrometres (µm)" : 1e-6, - "Millimetres (mm)" : 1e-3, - "Centimetres (cm)" : 1e-2, - "Metres (m)" : 1, - "Kilometers (km)" : 1e3, + "Nanometres (nm)": 1e-9, + "Micrometres (µm)": 1e-6, + "Millimetres (mm)": 1e-3, + "Centimetres (cm)": 1e-2, + "Metres (m)": 1, + "Kilometers (km)": 1e3, - "Thou (th)" : 0.0000254, - "Inches (in)" : 0.0254, - "Feet (ft)" : 0.3048, - "Yards (yd)" : 0.9144, - "Chains (ch)" : 20.1168, - "Furlongs (fur)" : 201.168, - "Miles (mi)" : 1609.344, - "Leagues (lea)" : 4828.032, + "Thou (th)": 0.0000254, + "Inches (in)": 0.0254, + "Feet (ft)": 0.3048, + "Yards (yd)": 0.9144, + "Chains (ch)": 20.1168, + "Furlongs (fur)": 201.168, + "Miles (mi)": 1609.344, + "Leagues (lea)": 4828.032, - "Fathoms (ftm)" : 1.853184, - "Cables" : 185.3184, - "Nautical miles" : 1853.184, + "Fathoms (ftm)": 1.853184, + "Cables": 185.3184, + "Nautical miles": 1853.184, - "Cars (4m)" : 4, - "Buses (8.4m)" : 8.4, + "Cars (4m)": 4, + "Buses (8.4m)": 8.4, "American football fields (91m)": 91, "Football pitches (105m)": 105, - "Earth-to-Moons" : 380000000, - "Earth's equators" : 40075016.686, + "Earth-to-Moons": 380000000, + "Earth's equators": 40075016.686, "Astronomical units (au)": 149597870700, - "Light-years (ly)" : 9460730472580800, - "Parsecs (pc)" : 3.0856776e16 + "Light-years (ly)": 9460730472580800, + "Parsecs (pc)": 3.0856776e16 }, /** @@ -90,52 +90,52 @@ const Convert = { * @default */ DATA_FACTOR: { // Multiples of a bit - "Bits (b)" : 1, - "Nibbles" : 4, - "Octets" : 8, - "Bytes (B)" : 8, + "Bits (b)": 1, + "Nibbles": 4, + "Octets": 8, + "Bytes (B)": 8, // Binary bits (2^n) - "Kibibits (Kib)" : 1024, - "Mebibits (Mib)" : 1048576, - "Gibibits (Gib)" : 1073741824, - "Tebibits (Tib)" : 1099511627776, - "Pebibits (Pib)" : 1125899906842624, - "Exbibits (Eib)" : 1152921504606846976, - "Zebibits (Zib)" : 1180591620717411303424, - "Yobibits (Yib)" : 1208925819614629174706176, + "Kibibits (Kib)": 1024, + "Mebibits (Mib)": 1048576, + "Gibibits (Gib)": 1073741824, + "Tebibits (Tib)": 1099511627776, + "Pebibits (Pib)": 1125899906842624, + "Exbibits (Eib)": 1152921504606846976, + "Zebibits (Zib)": 1180591620717411303424, + "Yobibits (Yib)": 1208925819614629174706176, // Decimal bits (10^n) - "Decabits" : 10, - "Hectobits" : 100, - "Kilobits (Kb)" : 1e3, - "Megabits (Mb)" : 1e6, - "Gigabits (Gb)" : 1e9, - "Terabits (Tb)" : 1e12, - "Petabits (Pb)" : 1e15, - "Exabits (Eb)" : 1e18, - "Zettabits (Zb)" : 1e21, - "Yottabits (Yb)" : 1e24, + "Decabits": 10, + "Hectobits": 100, + "Kilobits (Kb)": 1e3, + "Megabits (Mb)": 1e6, + "Gigabits (Gb)": 1e9, + "Terabits (Tb)": 1e12, + "Petabits (Pb)": 1e15, + "Exabits (Eb)": 1e18, + "Zettabits (Zb)": 1e21, + "Yottabits (Yb)": 1e24, // Binary bytes (8 x 2^n) - "Kibibytes (KiB)" : 8192, - "Mebibytes (MiB)" : 8388608, - "Gibibytes (GiB)" : 8589934592, - "Tebibytes (TiB)" : 8796093022208, - "Pebibytes (PiB)" : 9007199254740992, - "Exbibytes (EiB)" : 9223372036854775808, - "Zebibytes (ZiB)" : 9444732965739290427392, - "Yobibytes (YiB)" : 9671406556917033397649408, + "Kibibytes (KiB)": 8192, + "Mebibytes (MiB)": 8388608, + "Gibibytes (GiB)": 8589934592, + "Tebibytes (TiB)": 8796093022208, + "Pebibytes (PiB)": 9007199254740992, + "Exbibytes (EiB)": 9223372036854775808, + "Zebibytes (ZiB)": 9444732965739290427392, + "Yobibytes (YiB)": 9671406556917033397649408, // Decimal bytes (8 x 10^n) - "Kilobytes (KB)" : 8e3, - "Megabytes (MB)" : 8e6, - "Gigabytes (GB)" : 8e9, - "Terabytes (TB)" : 8e12, - "Petabytes (PB)" : 8e15, - "Exabytes (EB)" : 8e18, - "Zettabytes (ZB)" : 8e21, - "Yottabytes (YB)" : 8e24, + "Kilobytes (KB)": 8e3, + "Megabytes (MB)": 8e6, + "Gigabytes (GB)": 8e9, + "Terabytes (TB)": 8e12, + "Petabytes (PB)": 8e15, + "Exabytes (EB)": 8e18, + "Zettabytes (ZB)": 8e21, + "Yottabytes (YB)": 8e24, }, /** @@ -171,51 +171,51 @@ const Convert = { */ AREA_FACTOR: { // Multiples of a square metre // Metric - "Square metre (sq m)" : 1, - "Square kilometre (sq km)" : 1e6, + "Square metre (sq m)": 1, + "Square kilometre (sq km)": 1e6, - "Centiare (ca)" : 1, - "Deciare (da)" : 10, - "Are (a)" : 100, - "Decare (daa)" : 1e3, - "Hectare (ha)" : 1e4, + "Centiare (ca)": 1, + "Deciare (da)": 10, + "Are (a)": 100, + "Decare (daa)": 1e3, + "Hectare (ha)": 1e4, // Imperial - "Square inch (sq in)" : 0.00064516, - "Square foot (sq ft)" : 0.09290304, - "Square yard (sq yd)" : 0.83612736, - "Square mile (sq mi)" : 2589988.110336, - "Perch (sq per)" : 42.21, - "Rood (ro)" : 1011, - "International acre (ac)" : 4046.8564224, + "Square inch (sq in)": 0.00064516, + "Square foot (sq ft)": 0.09290304, + "Square yard (sq yd)": 0.83612736, + "Square mile (sq mi)": 2589988.110336, + "Perch (sq per)": 42.21, + "Rood (ro)": 1011, + "International acre (ac)": 4046.8564224, // US customary units - "US survey acre (ac)" : 4046.87261, - "US survey square mile (sq mi)" : 2589998.470305239, - "US survey township" : 93239944.9309886, + "US survey acre (ac)": 4046.87261, + "US survey square mile (sq mi)": 2589998.470305239, + "US survey township": 93239944.9309886, // Nuclear physics - "Yoctobarn (yb)" : 1e-52, - "Zeptobarn (zb)" : 1e-49, - "Attobarn (ab)" : 1e-46, - "Femtobarn (fb)" : 1e-43, - "Picobarn (pb)" : 1e-40, - "Nanobarn (nb)" : 1e-37, - "Microbarn (μb)" : 1e-34, - "Millibarn (mb)" : 1e-31, - "Barn (b)" : 1e-28, - "Kilobarn (kb)" : 1e-25, - "Megabarn (Mb)" : 1e-22, + "Yoctobarn (yb)": 1e-52, + "Zeptobarn (zb)": 1e-49, + "Attobarn (ab)": 1e-46, + "Femtobarn (fb)": 1e-43, + "Picobarn (pb)": 1e-40, + "Nanobarn (nb)": 1e-37, + "Microbarn (μb)": 1e-34, + "Millibarn (mb)": 1e-31, + "Barn (b)": 1e-28, + "Kilobarn (kb)": 1e-25, + "Megabarn (Mb)": 1e-22, - "Planck area" : 2.6e-70, - "Shed" : 1e-52, - "Outhouse" : 1e-34, + "Planck area": 2.6e-70, + "Shed": 1e-52, + "Outhouse": 1e-34, // Comparisons - "Washington D.C." : 176119191.502848, - "Isle of Wight" : 380000000, - "Wales" : 20779000000, - "Texas" : 696241000000, + "Washington D.C.": 176119191.502848, + "Isle of Wight": 380000000, + "Wales": 20779000000, + "Texas": 696241000000, }, /** @@ -252,81 +252,81 @@ const Convert = { */ MASS_FACTOR: { // Multiples of a gram // Metric - "Yoctogram (yg)" : 1e-24, - "Zeptogram (zg)" : 1e-21, - "Attogram (ag)" : 1e-18, - "Femtogram (fg)" : 1e-15, - "Picogram (pg)" : 1e-12, - "Nanogram (ng)" : 1e-9, - "Microgram (μg)" : 1e-6, - "Milligram (mg)" : 1e-3, - "Centigram (cg)" : 1e-2, - "Decigram (dg)" : 1e-1, - "Gram (g)" : 1, - "Decagram (dag)" : 10, - "Hectogram (hg)" : 100, - "Kilogram (kg)" : 1000, - "Megagram (Mg)" : 1e6, - "Tonne (t)" : 1e6, - "Gigagram (Gg)" : 1e9, - "Teragram (Tg)" : 1e12, - "Petagram (Pg)" : 1e15, - "Exagram (Eg)" : 1e18, - "Zettagram (Zg)" : 1e21, - "Yottagram (Yg)" : 1e24, + "Yoctogram (yg)": 1e-24, + "Zeptogram (zg)": 1e-21, + "Attogram (ag)": 1e-18, + "Femtogram (fg)": 1e-15, + "Picogram (pg)": 1e-12, + "Nanogram (ng)": 1e-9, + "Microgram (μg)": 1e-6, + "Milligram (mg)": 1e-3, + "Centigram (cg)": 1e-2, + "Decigram (dg)": 1e-1, + "Gram (g)": 1, + "Decagram (dag)": 10, + "Hectogram (hg)": 100, + "Kilogram (kg)": 1000, + "Megagram (Mg)": 1e6, + "Tonne (t)": 1e6, + "Gigagram (Gg)": 1e9, + "Teragram (Tg)": 1e12, + "Petagram (Pg)": 1e15, + "Exagram (Eg)": 1e18, + "Zettagram (Zg)": 1e21, + "Yottagram (Yg)": 1e24, // Imperial Avoirdupois - "Grain (gr)" : 64.79891e-3, - "Dram (dr)" : 1.7718451953125, - "Ounce (oz)" : 28.349523125, - "Pound (lb)" : 453.59237, - "Nail" : 3175.14659, - "Stone (st)" : 6.35029318e3, - "Quarter (gr)" : 12700.58636, - "Tod" : 12700.58636, - "US hundredweight (cwt)" : 45.359237e3, - "Imperial hundredweight (cwt)" : 50.80234544e3, - "US ton (t)" : 907.18474e3, - "Imperial ton (t)" : 1016.0469088e3, + "Grain (gr)": 64.79891e-3, + "Dram (dr)": 1.7718451953125, + "Ounce (oz)": 28.349523125, + "Pound (lb)": 453.59237, + "Nail": 3175.14659, + "Stone (st)": 6.35029318e3, + "Quarter (gr)": 12700.58636, + "Tod": 12700.58636, + "US hundredweight (cwt)": 45.359237e3, + "Imperial hundredweight (cwt)": 50.80234544e3, + "US ton (t)": 907.18474e3, + "Imperial ton (t)": 1016.0469088e3, // Imperial Troy - "Pennyweight (dwt)" : 1.55517384, - "Troy dram (dr t)" : 3.8879346, - "Troy ounce (oz t)" : 31.1034768, - "Troy pound (lb t)" : 373.2417216, - "Mark" : 248.8278144, + "Pennyweight (dwt)": 1.55517384, + "Troy dram (dr t)": 3.8879346, + "Troy ounce (oz t)": 31.1034768, + "Troy pound (lb t)": 373.2417216, + "Mark": 248.8278144, // Archaic - "Wey" : 76.5e3, - "Wool wey" : 101.7e3, - "Suffolk wey" : 161.5e3, - "Wool sack" : 153000, - "Coal sack" : 50.80234544e3, - "Load" : 918000, - "Last" : 1836000, - "Flax or feather last" : 770e3, - "Gunpowder last" : 1090e3, - "Picul" : 60.478982e3, - "Rice last" : 1200e3, + "Wey": 76.5e3, + "Wool wey": 101.7e3, + "Suffolk wey": 161.5e3, + "Wool sack": 153000, + "Coal sack": 50.80234544e3, + "Load": 918000, + "Last": 1836000, + "Flax or feather last": 770e3, + "Gunpowder last": 1090e3, + "Picul": 60.478982e3, + "Rice last": 1200e3, // Comparisons - "Big Ben (14 tonnes)" : 14e6, - "Blue whale (180 tonnes)" : 180e6, - "International Space Station (417 tonnes)" : 417e6, - "Space Shuttle (2,041 tonnes)" : 2041e6, - "RMS Titanic (52,000 tonnes)" : 52000e6, - "Great Pyramid of Giza (6,000,000 tonnes)" : 6e12, - "Earth's oceans (1.4 yottagrams)" : 1.4e24, + "Big Ben (14 tonnes)": 14e6, + "Blue whale (180 tonnes)": 180e6, + "International Space Station (417 tonnes)": 417e6, + "Space Shuttle (2,041 tonnes)": 2041e6, + "RMS Titanic (52,000 tonnes)": 52000e6, + "Great Pyramid of Giza (6,000,000 tonnes)": 6e12, + "Earth's oceans (1.4 yottagrams)": 1.4e24, // Astronomical - "A teaspoon of neutron star (5,500 million tonnes)" : 5.5e15, - "Lunar mass (ML)" : 7.342e25, - "Earth mass (M⊕)" : 5.97219e27, - "Jupiter mass (MJ)" : 1.8981411476999997e30, - "Solar mass (M☉)" : 1.98855e33, - "Sagittarius A* (7.5 x 10^36 kgs-ish)" : 7.5e39, - "Milky Way galaxy (1.2 x 10^42 kgs)" : 1.2e45, - "The observable universe (1.45 x 10^53 kgs)" : 1.45e56, + "A teaspoon of neutron star (5,500 million tonnes)": 5.5e15, + "Lunar mass (ML)": 7.342e25, + "Earth mass (M⊕)": 5.97219e27, + "Jupiter mass (MJ)": 1.8981411476999997e30, + "Solar mass (M☉)": 1.98855e33, + "Sagittarius A* (7.5 x 10^36 kgs-ish)": 7.5e39, + "Milky Way galaxy (1.2 x 10^42 kgs)": 1.2e45, + "The observable universe (1.45 x 10^53 kgs)": 1.45e56, }, /** @@ -361,37 +361,37 @@ const Convert = { */ SPEED_FACTOR: { // Multiples of m/s // Metric - "Metres per second (m/s)" : 1, - "Kilometres per hour (km/h)" : 0.2778, + "Metres per second (m/s)": 1, + "Kilometres per hour (km/h)": 0.2778, // Imperial - "Miles per hour (mph)" : 0.44704, - "Knots (kn)" : 0.5144, + "Miles per hour (mph)": 0.44704, + "Knots (kn)": 0.5144, // Comparisons - "Human hair growth rate" : 4.8e-9, - "Bamboo growth rate" : 1.4e-5, - "World's fastest snail" : 0.00275, - "Usain Bolt's top speed" : 12.42, - "Jet airliner cruising speed" : 250, - "Concorde" : 603, - "SR-71 Blackbird" : 981, - "Space Shuttle" : 1400, - "International Space Station" : 7700, + "Human hair growth rate": 4.8e-9, + "Bamboo growth rate": 1.4e-5, + "World's fastest snail": 0.00275, + "Usain Bolt's top speed": 12.42, + "Jet airliner cruising speed": 250, + "Concorde": 603, + "SR-71 Blackbird": 981, + "Space Shuttle": 1400, + "International Space Station": 7700, // Scientific - "Sound in standard atmosphere" : 340.3, - "Sound in water" : 1500, - "Lunar escape velocity" : 2375, - "Earth escape velocity" : 11200, - "Earth's solar orbit" : 29800, - "Solar system's Milky Way orbit" : 200000, - "Milky Way relative to the cosmic microwave background" : 552000, - "Solar escape velocity" : 617700, - "Neutron star escape velocity (0.3c)" : 100000000, - "Light in a diamond (0.4136c)" : 124000000, - "Signal in an optical fibre (0.667c)" : 200000000, - "Light (c)" : 299792458, + "Sound in standard atmosphere": 340.3, + "Sound in water": 1500, + "Lunar escape velocity": 2375, + "Earth escape velocity": 11200, + "Earth's solar orbit": 29800, + "Solar system's Milky Way orbit": 200000, + "Milky Way relative to the cosmic microwave background": 552000, + "Solar escape velocity": 617700, + "Neutron star escape velocity (0.3c)": 100000000, + "Light in a diamond (0.4136c)": 124000000, + "Signal in an optical fibre (0.667c)": 200000000, + "Light (c)": 299792458, }, /** diff --git a/src/core/operations/HTML.js b/src/core/operations/HTML.js index 3ff610d..5a15167 100755 --- a/src/core/operations/HTML.js +++ b/src/core/operations/HTML.js @@ -332,260 +332,260 @@ const HTML = { * @constant */ _byteToEntity: { - 34 : """, - 38 : "&", - 39 : "'", - 60 : "<", - 62 : ">", - 160 : " ", - 161 : "¡", - 162 : "¢", - 163 : "£", - 164 : "¤", - 165 : "¥", - 166 : "¦", - 167 : "§", - 168 : "¨", - 169 : "©", - 170 : "ª", - 171 : "«", - 172 : "¬", - 173 : "­", - 174 : "®", - 175 : "¯", - 176 : "°", - 177 : "±", - 178 : "²", - 179 : "³", - 180 : "´", - 181 : "µ", - 182 : "¶", - 183 : "·", - 184 : "¸", - 185 : "¹", - 186 : "º", - 187 : "»", - 188 : "¼", - 189 : "½", - 190 : "¾", - 191 : "¿", - 192 : "À", - 193 : "Á", - 194 : "Â", - 195 : "Ã", - 196 : "Ä", - 197 : "Å", - 198 : "Æ", - 199 : "Ç", - 200 : "È", - 201 : "É", - 202 : "Ê", - 203 : "Ë", - 204 : "Ì", - 205 : "Í", - 206 : "Î", - 207 : "Ï", - 208 : "Ð", - 209 : "Ñ", - 210 : "Ò", - 211 : "Ó", - 212 : "Ô", - 213 : "Õ", - 214 : "Ö", - 215 : "×", - 216 : "Ø", - 217 : "Ù", - 218 : "Ú", - 219 : "Û", - 220 : "Ü", - 221 : "Ý", - 222 : "Þ", - 223 : "ß", - 224 : "à", - 225 : "á", - 226 : "â", - 227 : "ã", - 228 : "ä", - 229 : "å", - 230 : "æ", - 231 : "ç", - 232 : "è", - 233 : "é", - 234 : "ê", - 235 : "ë", - 236 : "ì", - 237 : "í", - 238 : "î", - 239 : "ï", - 240 : "ð", - 241 : "ñ", - 242 : "ò", - 243 : "ó", - 244 : "ô", - 245 : "õ", - 246 : "ö", - 247 : "÷", - 248 : "ø", - 249 : "ù", - 250 : "ú", - 251 : "û", - 252 : "ü", - 253 : "ý", - 254 : "þ", - 255 : "ÿ", - 338 : "Œ", - 339 : "œ", - 352 : "Š", - 353 : "š", - 376 : "Ÿ", - 402 : "ƒ", - 710 : "ˆ", - 732 : "˜", - 913 : "Α", - 914 : "Β", - 915 : "Γ", - 916 : "Δ", - 917 : "Ε", - 918 : "Ζ", - 919 : "Η", - 920 : "Θ", - 921 : "Ι", - 922 : "Κ", - 923 : "Λ", - 924 : "Μ", - 925 : "Ν", - 926 : "Ξ", - 927 : "Ο", - 928 : "Π", - 929 : "Ρ", - 931 : "Σ", - 932 : "Τ", - 933 : "Υ", - 934 : "Φ", - 935 : "Χ", - 936 : "Ψ", - 937 : "Ω", - 945 : "α", - 946 : "β", - 947 : "γ", - 948 : "δ", - 949 : "ε", - 950 : "ζ", - 951 : "η", - 952 : "θ", - 953 : "ι", - 954 : "κ", - 955 : "λ", - 956 : "μ", - 957 : "ν", - 958 : "ξ", - 959 : "ο", - 960 : "π", - 961 : "ρ", - 962 : "ς", - 963 : "σ", - 964 : "τ", - 965 : "υ", - 966 : "φ", - 967 : "χ", - 968 : "ψ", - 969 : "ω", - 977 : "ϑ", - 978 : "ϒ", - 982 : "ϖ", - 8194 : " ", - 8195 : " ", - 8201 : " ", - 8204 : "‌", - 8205 : "‍", - 8206 : "‎", - 8207 : "‏", - 8211 : "–", - 8212 : "—", - 8216 : "‘", - 8217 : "’", - 8218 : "‚", - 8220 : "“", - 8221 : "”", - 8222 : "„", - 8224 : "†", - 8225 : "‡", - 8226 : "•", - 8230 : "…", - 8240 : "‰", - 8242 : "′", - 8243 : "″", - 8249 : "‹", - 8250 : "›", - 8254 : "‾", - 8260 : "⁄", - 8364 : "€", - 8465 : "ℑ", - 8472 : "℘", - 8476 : "ℜ", - 8482 : "™", - 8501 : "ℵ", - 8592 : "←", - 8593 : "↑", - 8594 : "→", - 8595 : "↓", - 8596 : "↔", - 8629 : "↵", - 8656 : "⇐", - 8657 : "⇑", - 8658 : "⇒", - 8659 : "⇓", - 8660 : "⇔", - 8704 : "∀", - 8706 : "∂", - 8707 : "∃", - 8709 : "∅", - 8711 : "∇", - 8712 : "∈", - 8713 : "∉", - 8715 : "∋", - 8719 : "∏", - 8721 : "∑", - 8722 : "−", - 8727 : "∗", - 8730 : "√", - 8733 : "∝", - 8734 : "∞", - 8736 : "∠", - 8743 : "∧", - 8744 : "∨", - 8745 : "∩", - 8746 : "∪", - 8747 : "∫", - 8756 : "∴", - 8764 : "∼", - 8773 : "≅", - 8776 : "≈", - 8800 : "≠", - 8801 : "≡", - 8804 : "≤", - 8805 : "≥", - 8834 : "⊂", - 8835 : "⊃", - 8836 : "⊄", - 8838 : "⊆", - 8839 : "⊇", - 8853 : "⊕", - 8855 : "⊗", - 8869 : "⊥", - 8901 : "⋅", - 8942 : "⋮", - 8968 : "⌈", - 8969 : "⌉", - 8970 : "⌊", - 8971 : "⌋", - 9001 : "⟨", - 9002 : "⟩", - 9674 : "◊", - 9824 : "♠", - 9827 : "♣", - 9829 : "♥", - 9830 : "♦", + 34: """, + 38: "&", + 39: "'", + 60: "<", + 62: ">", + 160: " ", + 161: "¡", + 162: "¢", + 163: "£", + 164: "¤", + 165: "¥", + 166: "¦", + 167: "§", + 168: "¨", + 169: "©", + 170: "ª", + 171: "«", + 172: "¬", + 173: "­", + 174: "®", + 175: "¯", + 176: "°", + 177: "±", + 178: "²", + 179: "³", + 180: "´", + 181: "µ", + 182: "¶", + 183: "·", + 184: "¸", + 185: "¹", + 186: "º", + 187: "»", + 188: "¼", + 189: "½", + 190: "¾", + 191: "¿", + 192: "À", + 193: "Á", + 194: "Â", + 195: "Ã", + 196: "Ä", + 197: "Å", + 198: "Æ", + 199: "Ç", + 200: "È", + 201: "É", + 202: "Ê", + 203: "Ë", + 204: "Ì", + 205: "Í", + 206: "Î", + 207: "Ï", + 208: "Ð", + 209: "Ñ", + 210: "Ò", + 211: "Ó", + 212: "Ô", + 213: "Õ", + 214: "Ö", + 215: "×", + 216: "Ø", + 217: "Ù", + 218: "Ú", + 219: "Û", + 220: "Ü", + 221: "Ý", + 222: "Þ", + 223: "ß", + 224: "à", + 225: "á", + 226: "â", + 227: "ã", + 228: "ä", + 229: "å", + 230: "æ", + 231: "ç", + 232: "è", + 233: "é", + 234: "ê", + 235: "ë", + 236: "ì", + 237: "í", + 238: "î", + 239: "ï", + 240: "ð", + 241: "ñ", + 242: "ò", + 243: "ó", + 244: "ô", + 245: "õ", + 246: "ö", + 247: "÷", + 248: "ø", + 249: "ù", + 250: "ú", + 251: "û", + 252: "ü", + 253: "ý", + 254: "þ", + 255: "ÿ", + 338: "Œ", + 339: "œ", + 352: "Š", + 353: "š", + 376: "Ÿ", + 402: "ƒ", + 710: "ˆ", + 732: "˜", + 913: "Α", + 914: "Β", + 915: "Γ", + 916: "Δ", + 917: "Ε", + 918: "Ζ", + 919: "Η", + 920: "Θ", + 921: "Ι", + 922: "Κ", + 923: "Λ", + 924: "Μ", + 925: "Ν", + 926: "Ξ", + 927: "Ο", + 928: "Π", + 929: "Ρ", + 931: "Σ", + 932: "Τ", + 933: "Υ", + 934: "Φ", + 935: "Χ", + 936: "Ψ", + 937: "Ω", + 945: "α", + 946: "β", + 947: "γ", + 948: "δ", + 949: "ε", + 950: "ζ", + 951: "η", + 952: "θ", + 953: "ι", + 954: "κ", + 955: "λ", + 956: "μ", + 957: "ν", + 958: "ξ", + 959: "ο", + 960: "π", + 961: "ρ", + 962: "ς", + 963: "σ", + 964: "τ", + 965: "υ", + 966: "φ", + 967: "χ", + 968: "ψ", + 969: "ω", + 977: "ϑ", + 978: "ϒ", + 982: "ϖ", + 8194: " ", + 8195: " ", + 8201: " ", + 8204: "‌", + 8205: "‍", + 8206: "‎", + 8207: "‏", + 8211: "–", + 8212: "—", + 8216: "‘", + 8217: "’", + 8218: "‚", + 8220: "“", + 8221: "”", + 8222: "„", + 8224: "†", + 8225: "‡", + 8226: "•", + 8230: "…", + 8240: "‰", + 8242: "′", + 8243: "″", + 8249: "‹", + 8250: "›", + 8254: "‾", + 8260: "⁄", + 8364: "€", + 8465: "ℑ", + 8472: "℘", + 8476: "ℜ", + 8482: "™", + 8501: "ℵ", + 8592: "←", + 8593: "↑", + 8594: "→", + 8595: "↓", + 8596: "↔", + 8629: "↵", + 8656: "⇐", + 8657: "⇑", + 8658: "⇒", + 8659: "⇓", + 8660: "⇔", + 8704: "∀", + 8706: "∂", + 8707: "∃", + 8709: "∅", + 8711: "∇", + 8712: "∈", + 8713: "∉", + 8715: "∋", + 8719: "∏", + 8721: "∑", + 8722: "−", + 8727: "∗", + 8730: "√", + 8733: "∝", + 8734: "∞", + 8736: "∠", + 8743: "∧", + 8744: "∨", + 8745: "∩", + 8746: "∪", + 8747: "∫", + 8756: "∴", + 8764: "∼", + 8773: "≅", + 8776: "≈", + 8800: "≠", + 8801: "≡", + 8804: "≤", + 8805: "≥", + 8834: "⊂", + 8835: "⊃", + 8836: "⊄", + 8838: "⊆", + 8839: "⊇", + 8853: "⊕", + 8855: "⊗", + 8869: "⊥", + 8901: "⋅", + 8942: "⋮", + 8968: "⌈", + 8969: "⌉", + 8970: "⌊", + 8971: "⌋", + 9001: "⟨", + 9002: "⟩", + 9674: "◊", + 9824: "♠", + 9827: "♣", + 9829: "♥", + 9830: "♦", }, @@ -595,261 +595,261 @@ const HTML = { * @private * @constant */ - _entityToByte : { - "quot" : 34, - "amp" : 38, - "apos" : 39, - "lt" : 60, - "gt" : 62, - "nbsp" : 160, - "iexcl" : 161, - "cent" : 162, - "pound" : 163, - "curren" : 164, - "yen" : 165, - "brvbar" : 166, - "sect" : 167, - "uml" : 168, - "copy" : 169, - "ordf" : 170, - "laquo" : 171, - "not" : 172, - "shy" : 173, - "reg" : 174, - "macr" : 175, - "deg" : 176, - "plusmn" : 177, - "sup2" : 178, - "sup3" : 179, - "acute" : 180, - "micro" : 181, - "para" : 182, - "middot" : 183, - "cedil" : 184, - "sup1" : 185, - "ordm" : 186, - "raquo" : 187, - "frac14" : 188, - "frac12" : 189, - "frac34" : 190, - "iquest" : 191, - "Agrave" : 192, - "Aacute" : 193, - "Acirc" : 194, - "Atilde" : 195, - "Auml" : 196, - "Aring" : 197, - "AElig" : 198, - "Ccedil" : 199, - "Egrave" : 200, - "Eacute" : 201, - "Ecirc" : 202, - "Euml" : 203, - "Igrave" : 204, - "Iacute" : 205, - "Icirc" : 206, - "Iuml" : 207, - "ETH" : 208, - "Ntilde" : 209, - "Ograve" : 210, - "Oacute" : 211, - "Ocirc" : 212, - "Otilde" : 213, - "Ouml" : 214, - "times" : 215, - "Oslash" : 216, - "Ugrave" : 217, - "Uacute" : 218, - "Ucirc" : 219, - "Uuml" : 220, - "Yacute" : 221, - "THORN" : 222, - "szlig" : 223, - "agrave" : 224, - "aacute" : 225, - "acirc" : 226, - "atilde" : 227, - "auml" : 228, - "aring" : 229, - "aelig" : 230, - "ccedil" : 231, - "egrave" : 232, - "eacute" : 233, - "ecirc" : 234, - "euml" : 235, - "igrave" : 236, - "iacute" : 237, - "icirc" : 238, - "iuml" : 239, - "eth" : 240, - "ntilde" : 241, - "ograve" : 242, - "oacute" : 243, - "ocirc" : 244, - "otilde" : 245, - "ouml" : 246, - "divide" : 247, - "oslash" : 248, - "ugrave" : 249, - "uacute" : 250, - "ucirc" : 251, - "uuml" : 252, - "yacute" : 253, - "thorn" : 254, - "yuml" : 255, - "OElig" : 338, - "oelig" : 339, - "Scaron" : 352, - "scaron" : 353, - "Yuml" : 376, - "fnof" : 402, - "circ" : 710, - "tilde" : 732, - "Alpha" : 913, - "Beta" : 914, - "Gamma" : 915, - "Delta" : 916, - "Epsilon" : 917, - "Zeta" : 918, - "Eta" : 919, - "Theta" : 920, - "Iota" : 921, - "Kappa" : 922, - "Lambda" : 923, - "Mu" : 924, - "Nu" : 925, - "Xi" : 926, - "Omicron" : 927, - "Pi" : 928, - "Rho" : 929, - "Sigma" : 931, - "Tau" : 932, - "Upsilon" : 933, - "Phi" : 934, - "Chi" : 935, - "Psi" : 936, - "Omega" : 937, - "alpha" : 945, - "beta" : 946, - "gamma" : 947, - "delta" : 948, - "epsilon" : 949, - "zeta" : 950, - "eta" : 951, - "theta" : 952, - "iota" : 953, - "kappa" : 954, - "lambda" : 955, - "mu" : 956, - "nu" : 957, - "xi" : 958, - "omicron" : 959, - "pi" : 960, - "rho" : 961, - "sigmaf" : 962, - "sigma" : 963, - "tau" : 964, - "upsilon" : 965, - "phi" : 966, - "chi" : 967, - "psi" : 968, - "omega" : 969, - "thetasym" : 977, - "upsih" : 978, - "piv" : 982, - "ensp" : 8194, - "emsp" : 8195, - "thinsp" : 8201, - "zwnj" : 8204, - "zwj" : 8205, - "lrm" : 8206, - "rlm" : 8207, - "ndash" : 8211, - "mdash" : 8212, - "lsquo" : 8216, - "rsquo" : 8217, - "sbquo" : 8218, - "ldquo" : 8220, - "rdquo" : 8221, - "bdquo" : 8222, - "dagger" : 8224, - "Dagger" : 8225, - "bull" : 8226, - "hellip" : 8230, - "permil" : 8240, - "prime" : 8242, - "Prime" : 8243, - "lsaquo" : 8249, - "rsaquo" : 8250, - "oline" : 8254, - "frasl" : 8260, - "euro" : 8364, - "image" : 8465, - "weierp" : 8472, - "real" : 8476, - "trade" : 8482, - "alefsym" : 8501, - "larr" : 8592, - "uarr" : 8593, - "rarr" : 8594, - "darr" : 8595, - "harr" : 8596, - "crarr" : 8629, - "lArr" : 8656, - "uArr" : 8657, - "rArr" : 8658, - "dArr" : 8659, - "hArr" : 8660, - "forall" : 8704, - "part" : 8706, - "exist" : 8707, - "empty" : 8709, - "nabla" : 8711, - "isin" : 8712, - "notin" : 8713, - "ni" : 8715, - "prod" : 8719, - "sum" : 8721, - "minus" : 8722, - "lowast" : 8727, - "radic" : 8730, - "prop" : 8733, - "infin" : 8734, - "ang" : 8736, - "and" : 8743, - "or" : 8744, - "cap" : 8745, - "cup" : 8746, - "int" : 8747, - "there4" : 8756, - "sim" : 8764, - "cong" : 8773, - "asymp" : 8776, - "ne" : 8800, - "equiv" : 8801, - "le" : 8804, - "ge" : 8805, - "sub" : 8834, - "sup" : 8835, - "nsub" : 8836, - "sube" : 8838, - "supe" : 8839, - "oplus" : 8853, - "otimes" : 8855, - "perp" : 8869, - "sdot" : 8901, - "vellip" : 8942, - "lceil" : 8968, - "rceil" : 8969, - "lfloor" : 8970, - "rfloor" : 8971, - "lang" : 9001, - "rang" : 9002, - "loz" : 9674, - "spades" : 9824, - "clubs" : 9827, - "hearts" : 9829, - "diams" : 9830, + _entityToByte: { + "quot": 34, + "amp": 38, + "apos": 39, + "lt": 60, + "gt": 62, + "nbsp": 160, + "iexcl": 161, + "cent": 162, + "pound": 163, + "curren": 164, + "yen": 165, + "brvbar": 166, + "sect": 167, + "uml": 168, + "copy": 169, + "ordf": 170, + "laquo": 171, + "not": 172, + "shy": 173, + "reg": 174, + "macr": 175, + "deg": 176, + "plusmn": 177, + "sup2": 178, + "sup3": 179, + "acute": 180, + "micro": 181, + "para": 182, + "middot": 183, + "cedil": 184, + "sup1": 185, + "ordm": 186, + "raquo": 187, + "frac14": 188, + "frac12": 189, + "frac34": 190, + "iquest": 191, + "Agrave": 192, + "Aacute": 193, + "Acirc": 194, + "Atilde": 195, + "Auml": 196, + "Aring": 197, + "AElig": 198, + "Ccedil": 199, + "Egrave": 200, + "Eacute": 201, + "Ecirc": 202, + "Euml": 203, + "Igrave": 204, + "Iacute": 205, + "Icirc": 206, + "Iuml": 207, + "ETH": 208, + "Ntilde": 209, + "Ograve": 210, + "Oacute": 211, + "Ocirc": 212, + "Otilde": 213, + "Ouml": 214, + "times": 215, + "Oslash": 216, + "Ugrave": 217, + "Uacute": 218, + "Ucirc": 219, + "Uuml": 220, + "Yacute": 221, + "THORN": 222, + "szlig": 223, + "agrave": 224, + "aacute": 225, + "acirc": 226, + "atilde": 227, + "auml": 228, + "aring": 229, + "aelig": 230, + "ccedil": 231, + "egrave": 232, + "eacute": 233, + "ecirc": 234, + "euml": 235, + "igrave": 236, + "iacute": 237, + "icirc": 238, + "iuml": 239, + "eth": 240, + "ntilde": 241, + "ograve": 242, + "oacute": 243, + "ocirc": 244, + "otilde": 245, + "ouml": 246, + "divide": 247, + "oslash": 248, + "ugrave": 249, + "uacute": 250, + "ucirc": 251, + "uuml": 252, + "yacute": 253, + "thorn": 254, + "yuml": 255, + "OElig": 338, + "oelig": 339, + "Scaron": 352, + "scaron": 353, + "Yuml": 376, + "fnof": 402, + "circ": 710, + "tilde": 732, + "Alpha": 913, + "Beta": 914, + "Gamma": 915, + "Delta": 916, + "Epsilon": 917, + "Zeta": 918, + "Eta": 919, + "Theta": 920, + "Iota": 921, + "Kappa": 922, + "Lambda": 923, + "Mu": 924, + "Nu": 925, + "Xi": 926, + "Omicron": 927, + "Pi": 928, + "Rho": 929, + "Sigma": 931, + "Tau": 932, + "Upsilon": 933, + "Phi": 934, + "Chi": 935, + "Psi": 936, + "Omega": 937, + "alpha": 945, + "beta": 946, + "gamma": 947, + "delta": 948, + "epsilon": 949, + "zeta": 950, + "eta": 951, + "theta": 952, + "iota": 953, + "kappa": 954, + "lambda": 955, + "mu": 956, + "nu": 957, + "xi": 958, + "omicron": 959, + "pi": 960, + "rho": 961, + "sigmaf": 962, + "sigma": 963, + "tau": 964, + "upsilon": 965, + "phi": 966, + "chi": 967, + "psi": 968, + "omega": 969, + "thetasym": 977, + "upsih": 978, + "piv": 982, + "ensp": 8194, + "emsp": 8195, + "thinsp": 8201, + "zwnj": 8204, + "zwj": 8205, + "lrm": 8206, + "rlm": 8207, + "ndash": 8211, + "mdash": 8212, + "lsquo": 8216, + "rsquo": 8217, + "sbquo": 8218, + "ldquo": 8220, + "rdquo": 8221, + "bdquo": 8222, + "dagger": 8224, + "Dagger": 8225, + "bull": 8226, + "hellip": 8230, + "permil": 8240, + "prime": 8242, + "Prime": 8243, + "lsaquo": 8249, + "rsaquo": 8250, + "oline": 8254, + "frasl": 8260, + "euro": 8364, + "image": 8465, + "weierp": 8472, + "real": 8476, + "trade": 8482, + "alefsym": 8501, + "larr": 8592, + "uarr": 8593, + "rarr": 8594, + "darr": 8595, + "harr": 8596, + "crarr": 8629, + "lArr": 8656, + "uArr": 8657, + "rArr": 8658, + "dArr": 8659, + "hArr": 8660, + "forall": 8704, + "part": 8706, + "exist": 8707, + "empty": 8709, + "nabla": 8711, + "isin": 8712, + "notin": 8713, + "ni": 8715, + "prod": 8719, + "sum": 8721, + "minus": 8722, + "lowast": 8727, + "radic": 8730, + "prop": 8733, + "infin": 8734, + "ang": 8736, + "and": 8743, + "or": 8744, + "cap": 8745, + "cup": 8746, + "int": 8747, + "there4": 8756, + "sim": 8764, + "cong": 8773, + "asymp": 8776, + "ne": 8800, + "equiv": 8801, + "le": 8804, + "ge": 8805, + "sub": 8834, + "sup": 8835, + "nsub": 8836, + "sube": 8838, + "supe": 8839, + "oplus": 8853, + "otimes": 8855, + "perp": 8869, + "sdot": 8901, + "vellip": 8942, + "lceil": 8968, + "rceil": 8969, + "lfloor": 8970, + "rfloor": 8971, + "lang": 9001, + "rang": 9002, + "loz": 9674, + "spades": 9824, + "clubs": 9827, + "hearts": 9829, + "diams": 9830, }, }; diff --git a/src/core/operations/OS.js b/src/core/operations/OS.js index 9b8bd96..93a780f 100755 --- a/src/core/operations/OS.js +++ b/src/core/operations/OS.js @@ -18,25 +18,25 @@ const OS = { */ runParseUnixPerms: function(input, args) { let perms = { - d : false, // directory - sl : false, // symbolic link - np : false, // named pipe - s : false, // socket - cd : false, // character device - bd : false, // block device - dr : false, // door - sb : false, // sticky bit - su : false, // setuid - sg : false, // setgid - ru : false, // read user - wu : false, // write user - eu : false, // execute user - rg : false, // read group - wg : false, // write group - eg : false, // execute group - ro : false, // read other - wo : false, // write other - eo : false // execute other + d: false, // directory + sl: false, // symbolic link + np: false, // named pipe + s: false, // socket + cd: false, // character device + bd: false, // block device + dr: false, // door + sb: false, // sticky bit + su: false, // setuid + sg: false, // setgid + ru: false, // read user + wu: false, // write user + eu: false, // execute user + rg: false, // read group + wg: false, // write group + eg: false, // execute group + ro: false, // read other + wo: false, // write other + eo: false // execute other }, d = 0, u = 0, diff --git a/src/core/operations/PublicKey.js b/src/core/operations/PublicKey.js index cdbdde2..73839d4 100755 --- a/src/core/operations/PublicKey.js +++ b/src/core/operations/PublicKey.js @@ -354,17 +354,17 @@ export default PublicKey; * @constant */ r.X509.DN_ATTRHEX = { - "0603550403" : "commonName", - "0603550404" : "surname", - "0603550406" : "countryName", - "0603550407" : "localityName", - "0603550408" : "stateOrProvinceName", - "0603550409" : "streetAddress", - "060355040a" : "organizationName", - "060355040b" : "organizationalUnitName", - "060355040c" : "title", - "0603550414" : "telephoneNumber", - "060355042a" : "givenName", + "0603550403": "commonName", + "0603550404": "surname", + "0603550406": "countryName", + "0603550407": "localityName", + "0603550408": "stateOrProvinceName", + "0603550409": "streetAddress", + "060355040a": "organizationName", + "060355040b": "organizationalUnitName", + "060355040c": "title", + "0603550414": "telephoneNumber", + "060355042a": "givenName", // "0603551d0e" : "id-ce-subjectKeyIdentifier", // "0603551d0f" : "id-ce-keyUsage", // "0603551d11" : "id-ce-subjectAltName", @@ -382,460 +382,460 @@ r.X509.DN_ATTRHEX = { // "06032a8648ce380403" : "id-dsa-with-sha-1", // "06032b06010505070302" : "idKpClientAuth", // "06032b06010505070304" : "idKpSecurityemail", - "06032b06010505070201" : "idCertificatePolicies", - "06036086480186f8420101" : "netscape-cert-type", - "06036086480186f8420102" : "netscape-base-url", - "06036086480186f8420103" : "netscape-revocation-url", - "06036086480186f8420104" : "netscape-ca-revocation-url", - "06036086480186f8420107" : "netscape-cert-renewal-url", - "06036086480186f8420108" : "netscape-ca-policy-url", - "06036086480186f842010c" : "netscape-ssl-server-name", - "06036086480186f842010d" : "netscape-comment", - "0603604c010201" : "A1", - "0603604c010203" : "A3", - "0603604c01020110" : "Certification Practice Statement pointer", - "0603604c010301" : "Dados do cert parte 1", - "0603604c010305" : "Dados do cert parte 2", - "0603604c010306" : "Dados do cert parte 3", - "06030992268993f22c640119" : "domainComponent", - "06032a24a0f2a07d01010a" : "Signet pilot", - "06032a24a0f2a07d01010b" : "Signet intraNet", - "06032a24a0f2a07d010102" : "Signet personal", - "06032a24a0f2a07d010114" : "Signet securityPolicy", - "06032a24a0f2a07d010103" : "Signet business", - "06032a24a0f2a07d010104" : "Signet legal", - "06032a24a497a35301640101" : "Certificates Australia policyIdentifier", - "06032a85702201" : "seis-cp", - "06032a8570220101" : "SEIS certificatePolicy-s10", - "06032a85702202" : "SEIS pe", - "06032a85702203" : "SEIS at", - "06032a8570220301" : "SEIS at-personalIdentifier", - "06032a8648ce380201" : "holdinstruction-none", - "06032a8648ce380202" : "holdinstruction-callissuer", - "06032a8648ce380203" : "holdinstruction-reject", - "06032a8648ce380401" : "dsa", - "06032a8648ce380403" : "dsaWithSha1", - "06032a8648ce3d01" : "fieldType", - "06032a8648ce3d0101" : "prime-field", - "06032a8648ce3d0102" : "characteristic-two-field", - "06032a8648ce3d010201" : "ecPublicKey", - "06032a8648ce3d010203" : "characteristic-two-basis", - "06032a8648ce3d01020301" : "onBasis", - "06032a8648ce3d01020302" : "tpBasis", - "06032a8648ce3d01020303" : "ppBasis", - "06032a8648ce3d02" : "publicKeyType", - "06032a8648ce3d0201" : "ecPublicKey", - "06032a8648ce3e0201" : "dhPublicNumber", - "06032a864886f67d07" : "nsn", - "06032a864886f67d0741" : "nsn-ce", - "06032a864886f67d074100" : "entrustVersInfo", - "06032a864886f67d0742" : "nsn-alg", - "06032a864886f67d07420a" : "cast5CBC", - "06032a864886f67d07420b" : "cast5MAC", - "06032a864886f67d07420c" : "pbeWithMD5AndCAST5-CBC", - "06032a864886f67d07420d" : "passwordBasedMac", - "06032a864886f67d074203" : "cast3CBC", - "06032a864886f67d0743" : "nsn-oc", - "06032a864886f67d074300" : "entrustUser", - "06032a864886f67d0744" : "nsn-at", - "06032a864886f67d074400" : "entrustCAInfo", - "06032a864886f67d07440a" : "attributeCertificate", - "06032a864886f70d0101" : "pkcs-1", - "06032a864886f70d010101" : "rsaEncryption", - "06032a864886f70d010102" : "md2withRSAEncryption", - "06032a864886f70d010103" : "md4withRSAEncryption", - "06032a864886f70d010104" : "md5withRSAEncryption", - "06032a864886f70d010105" : "sha1withRSAEncryption", - "06032a864886f70d010106" : "rsaOAEPEncryptionSET", - "06032a864886f70d010910020b" : "SMIMEEncryptionKeyPreference", - "06032a864886f70d010c" : "pkcs-12", - "06032a864886f70d010c01" : "pkcs-12-PbeIds", - "06032a864886f70d010c0101" : "pbeWithSHAAnd128BitRC4", - "06032a864886f70d010c0102" : "pbeWithSHAAnd40BitRC4", - "06032a864886f70d010c0103" : "pbeWithSHAAnd3-KeyTripleDES-CBC", - "06032a864886f70d010c0104" : "pbeWithSHAAnd2-KeyTripleDES-CBC", - "06032a864886f70d010c0105" : "pbeWithSHAAnd128BitRC2-CBC", - "06032a864886f70d010c0106" : "pbeWithSHAAnd40BitRC2-CBC", - "06032a864886f70d010c0a" : "pkcs-12Version1", - "06032a864886f70d010c0a01" : "pkcs-12BadIds", - "06032a864886f70d010c0a0101" : "pkcs-12-keyBag", - "06032a864886f70d010c0a0102" : "pkcs-12-pkcs-8ShroudedKeyBag", - "06032a864886f70d010c0a0103" : "pkcs-12-certBag", - "06032a864886f70d010c0a0104" : "pkcs-12-crlBag", - "06032a864886f70d010c0a0105" : "pkcs-12-secretBag", - "06032a864886f70d010c0a0106" : "pkcs-12-safeContentsBag", - "06032a864886f70d010c02" : "pkcs-12-ESPVKID", - "06032a864886f70d010c0201" : "pkcs-12-PKCS8KeyShrouding", - "06032a864886f70d010c03" : "pkcs-12-BagIds", - "06032a864886f70d010c0301" : "pkcs-12-keyBagId", - "06032a864886f70d010c0302" : "pkcs-12-certAndCRLBagId", - "06032a864886f70d010c0303" : "pkcs-12-secretBagId", - "06032a864886f70d010c0304" : "pkcs-12-safeContentsId", - "06032a864886f70d010c0305" : "pkcs-12-pkcs-8ShroudedKeyBagId", - "06032a864886f70d010c04" : "pkcs-12-CertBagID", - "06032a864886f70d010c0401" : "pkcs-12-X509CertCRLBagID", - "06032a864886f70d010c0402" : "pkcs-12-SDSICertBagID", - "06032a864886f70d010c05" : "pkcs-12-OID", - "06032a864886f70d010c0501" : "pkcs-12-PBEID", - "06032a864886f70d010c050101" : "pkcs-12-PBEWithSha1And128BitRC4", - "06032a864886f70d010c050102" : "pkcs-12-PBEWithSha1And40BitRC4", - "06032a864886f70d010c050103" : "pkcs-12-PBEWithSha1AndTripleDESCBC", - "06032a864886f70d010c050104" : "pkcs-12-PBEWithSha1And128BitRC2CBC", - "06032a864886f70d010c050105" : "pkcs-12-PBEWithSha1And40BitRC2CBC", - "06032a864886f70d010c050106" : "pkcs-12-PBEWithSha1AndRC4", - "06032a864886f70d010c050107" : "pkcs-12-PBEWithSha1AndRC2CBC", - "06032a864886f70d010c0502" : "pkcs-12-EnvelopingID", - "06032a864886f70d010c050201" : "pkcs-12-RSAEncryptionWith128BitRC4", - "06032a864886f70d010c050202" : "pkcs-12-RSAEncryptionWith40BitRC4", - "06032a864886f70d010c050203" : "pkcs-12-RSAEncryptionWithTripleDES", - "06032a864886f70d010c0503" : "pkcs-12-SignatureID", - "06032a864886f70d010c050301" : "pkcs-12-RSASignatureWithSHA1Digest", - "06032a864886f70d0103" : "pkcs-3", - "06032a864886f70d010301" : "dhKeyAgreement", - "06032a864886f70d0105" : "pkcs-5", - "06032a864886f70d010501" : "pbeWithMD2AndDES-CBC", - "06032a864886f70d01050a" : "pbeWithSHAAndDES-CBC", - "06032a864886f70d010503" : "pbeWithMD5AndDES-CBC", - "06032a864886f70d010504" : "pbeWithMD2AndRC2-CBC", - "06032a864886f70d010506" : "pbeWithMD5AndRC2-CBC", - "06032a864886f70d010509" : "pbeWithMD5AndXOR", - "06032a864886f70d0107" : "pkcs-7", - "06032a864886f70d010701" : "data", - "06032a864886f70d010702" : "signedData", - "06032a864886f70d010703" : "envelopedData", - "06032a864886f70d010704" : "signedAndEnvelopedData", - "06032a864886f70d010705" : "digestData", - "06032a864886f70d010706" : "encryptedData", - "06032a864886f70d010707" : "dataWithAttributes", - "06032a864886f70d010708" : "encryptedPrivateKeyInfo", - "06032a864886f70d0109" : "pkcs-9", - "06032a864886f70d010901" : "emailAddress", - "06032a864886f70d01090a" : "issuerAndSerialNumber", - "06032a864886f70d01090b" : "passwordCheck", - "06032a864886f70d01090c" : "publicKey", - "06032a864886f70d01090d" : "signingDescription", - "06032a864886f70d01090e" : "extensionReq", - "06032a864886f70d01090f" : "sMIMECapabilities", - "06032a864886f70d01090f01" : "preferSignedData", - "06032a864886f70d01090f02" : "canNotDecryptAny", - "06032a864886f70d01090f03" : "receiptRequest", - "06032a864886f70d01090f04" : "receipt", - "06032a864886f70d01090f05" : "contentHints", - "06032a864886f70d01090f06" : "mlExpansionHistory", - "06032a864886f70d010910" : "id-sMIME", - "06032a864886f70d01091000" : "id-mod", - "06032a864886f70d0109100001" : "id-mod-cms", - "06032a864886f70d0109100002" : "id-mod-ess", - "06032a864886f70d01091001" : "id-ct", - "06032a864886f70d0109100101" : "id-ct-receipt", - "06032a864886f70d01091002" : "id-aa", - "06032a864886f70d0109100201" : "id-aa-receiptRequest", - "06032a864886f70d0109100202" : "id-aa-securityLabel", - "06032a864886f70d0109100203" : "id-aa-mlExpandHistory", - "06032a864886f70d0109100204" : "id-aa-contentHint", - "06032a864886f70d010902" : "unstructuredName", - "06032a864886f70d010914" : "friendlyName", - "06032a864886f70d010915" : "localKeyID", - "06032a864886f70d010916" : "certTypes", - "06032a864886f70d01091601" : "x509Certificate", - "06032a864886f70d01091602" : "sdsiCertificate", - "06032a864886f70d010917" : "crlTypes", - "06032a864886f70d01091701" : "x509Crl", - "06032a864886f70d010903" : "contentType", - "06032a864886f70d010904" : "messageDigest", - "06032a864886f70d010905" : "signingTime", - "06032a864886f70d010906" : "countersignature", - "06032a864886f70d010907" : "challengePassword", - "06032a864886f70d010908" : "unstructuredAddress", - "06032a864886f70d010909" : "extendedCertificateAttributes", - "06032a864886f70d02" : "digestAlgorithm", - "06032a864886f70d0202" : "md2", - "06032a864886f70d0204" : "md4", - "06032a864886f70d0205" : "md5", - "06032a864886f70d03" : "encryptionAlgorithm", - "06032a864886f70d030a" : "desCDMF", - "06032a864886f70d0302" : "rc2CBC", - "06032a864886f70d0303" : "rc2ECB", - "06032a864886f70d0304" : "rc4", - "06032a864886f70d0305" : "rc4WithMAC", - "06032a864886f70d0306" : "DESX-CBC", - "06032a864886f70d0307" : "DES-EDE3-CBC", - "06032a864886f70d0308" : "RC5CBC", - "06032a864886f70d0309" : "RC5-CBCPad", - "06032a864886f7140403" : "microsoftExcel", - "06032a864886f7140404" : "titledWithOID", - "06032a864886f7140405" : "microsoftPowerPoint", - "06032b81051086480954" : "x9-84", - "06032b8105108648095400" : "x9-84-Module", - "06032b810510864809540001" : "x9-84-Biometrics", - "06032b810510864809540002" : "x9-84-CMS", - "06032b810510864809540003" : "x9-84-Identifiers", - "06032b8105108648095401" : "biometric", - "06032b810510864809540100" : "id-unknown-Type", - "06032b810510864809540101" : "id-body-Odor", - "06032b81051086480954010a" : "id-palm", - "06032b81051086480954010b" : "id-retina", - "06032b81051086480954010c" : "id-signature", - "06032b81051086480954010d" : "id-speech-Pattern", - "06032b81051086480954010e" : "id-thermal-Image", - "06032b81051086480954010f" : "id-vein-Pattern", - "06032b810510864809540110" : "id-thermal-Face-Image", - "06032b810510864809540111" : "id-thermal-Hand-Image", - "06032b810510864809540112" : "id-lip-Movement", - "06032b810510864809540113" : "id-gait", - "06032b810510864809540102" : "id-dna", - "06032b810510864809540103" : "id-ear-Shape", - "06032b810510864809540104" : "id-facial-Features", - "06032b810510864809540105" : "id-finger-Image", - "06032b810510864809540106" : "id-finger-Geometry", - "06032b810510864809540107" : "id-hand-Geometry", - "06032b810510864809540108" : "id-iris-Features", - "06032b810510864809540109" : "id-keystroke-Dynamics", - "06032b8105108648095402" : "processing-algorithm", - "06032b8105108648095403" : "matching-method", - "06032b8105108648095404" : "format-Owner", - "06032b810510864809540400" : "cbeff-Owner", - "06032b810510864809540401" : "ibia-Owner", - "06032b81051086480954040101" : "id-ibia-SAFLINK", - "06032b8105108648095404010a" : "id-ibia-SecuGen", - "06032b8105108648095404010b" : "id-ibia-PreciseBiometric", - "06032b8105108648095404010c" : "id-ibia-Identix", - "06032b8105108648095404010d" : "id-ibia-DERMALOG", - "06032b8105108648095404010e" : "id-ibia-LOGICO", - "06032b8105108648095404010f" : "id-ibia-NIST", - "06032b81051086480954040110" : "id-ibia-A3Vision", - "06032b81051086480954040111" : "id-ibia-NEC", - "06032b81051086480954040112" : "id-ibia-STMicroelectronics", - "06032b81051086480954040102" : "id-ibia-Bioscrypt", - "06032b81051086480954040103" : "id-ibia-Visionics", - "06032b81051086480954040104" : "id-ibia-InfineonTechnologiesAG", - "06032b81051086480954040105" : "id-ibia-IridianTechnologies", - "06032b81051086480954040106" : "id-ibia-Veridicom", - "06032b81051086480954040107" : "id-ibia-CyberSIGN", - "06032b81051086480954040108" : "id-ibia-eCryp.", - "06032b81051086480954040109" : "id-ibia-FingerprintCardsAB", - "06032b810510864809540402" : "x9-Owner", - "06032b0e021a05" : "sha", - "06032b0e03020101" : "rsa", - "06032b0e03020a" : "desMAC", - "06032b0e03020b" : "rsaSignature", - "06032b0e03020c" : "dsa", - "06032b0e03020d" : "dsaWithSHA", - "06032b0e03020e" : "mdc2WithRSASignature", - "06032b0e03020f" : "shaWithRSASignature", - "06032b0e030210" : "dhWithCommonModulus", - "06032b0e030211" : "desEDE", - "06032b0e030212" : "sha", - "06032b0e030213" : "mdc-2", - "06032b0e030202" : "md4WitRSA", - "06032b0e03020201" : "sqmod-N", - "06032b0e030214" : "dsaCommon", - "06032b0e030215" : "dsaCommonWithSHA", - "06032b0e030216" : "rsaKeyTransport", - "06032b0e030217" : "keyed-hash-seal", - "06032b0e030218" : "md2WithRSASignature", - "06032b0e030219" : "md5WithRSASignature", - "06032b0e03021a" : "sha1", - "06032b0e03021b" : "dsaWithSHA1", - "06032b0e03021c" : "dsaWithCommonSHA1", - "06032b0e03021d" : "sha-1WithRSAEncryption", - "06032b0e030203" : "md5WithRSA", - "06032b0e03020301" : "sqmod-NwithRSA", - "06032b0e030204" : "md4WithRSAEncryption", - "06032b0e030206" : "desECB", - "06032b0e030207" : "desCBC", - "06032b0e030208" : "desOFB", - "06032b0e030209" : "desCFB", - "06032b0e030301" : "simple-strong-auth-mechanism", - "06032b0e07020101" : "ElGamal", - "06032b0e07020301" : "md2WithRSA", - "06032b0e07020302" : "md2WithElGamal", - "06032b2403" : "algorithm", - "06032b240301" : "encryptionAlgorithm", - "06032b24030101" : "des", - "06032b240301010101" : "desECBPad", - "06032b24030101010101" : "desECBPadISO", - "06032b240301010201" : "desCBCPad", - "06032b24030101020101" : "desCBCPadISO", - "06032b24030102" : "idea", - "06032b2403010201" : "ideaECB", - "06032b240301020101" : "ideaECBPad", - "06032b24030102010101" : "ideaECBPadISO", - "06032b2403010202" : "ideaCBC", - "06032b240301020201" : "ideaCBCPad", - "06032b24030102020101" : "ideaCBCPadISO", - "06032b2403010203" : "ideaOFB", - "06032b2403010204" : "ideaCFB", - "06032b24030103" : "des-3", - "06032b240301030101" : "des-3ECBPad", - "06032b24030103010101" : "des-3ECBPadISO", - "06032b240301030201" : "des-3CBCPad", - "06032b24030103020101" : "des-3CBCPadISO", - "06032b240302" : "hashAlgorithm", - "06032b24030201" : "ripemd160", - "06032b24030202" : "ripemd128", - "06032b24030203" : "ripemd256", - "06032b24030204" : "mdc2singleLength", - "06032b24030205" : "mdc2doubleLength", - "06032b240303" : "signatureAlgorithm", - "06032b24030301" : "rsa", - "06032b2403030101" : "rsaMitSHA-1", - "06032b2403030102" : "rsaMitRIPEMD160", - "06032b24030302" : "ellipticCurve", - "06032b240304" : "signatureScheme", - "06032b24030401" : "iso9796-1", - "06032b2403040201" : "iso9796-2", - "06032b2403040202" : "iso9796-2rsa", - "06032b2404" : "attribute", - "06032b2405" : "policy", - "06032b2406" : "api", - "06032b240601" : "manufacturerSpecific", - "06032b240602" : "functionalitySpecific", - "06032b2407" : "api", - "06032b240701" : "keyAgreement", - "06032b240702" : "keyTransport", - "06032b06010401927c0a0101" : "UNINETT policyIdentifier", - "06032b0601040195180a" : "ICE-TEL policyIdentifier", - "06032b0601040197552001" : "cryptlibEnvelope", - "06032b0601040197552002" : "cryptlibPrivateKey", - "060a2b060104018237" : "Microsoft OID", - "060a2b0601040182370a" : "Crypto 2.0", - "060a2b0601040182370a01" : "certTrustList", - "060a2b0601040182370a0101" : "szOID_SORTED_CTL", - "060a2b0601040182370a0a" : "Microsoft CMC OIDs", - "060a2b0601040182370a0a01" : "szOID_CMC_ADD_ATTRIBUTES", - "060a2b0601040182370a0b" : "Microsoft certificate property OIDs", - "060a2b0601040182370a0b01" : "szOID_CERT_PROP_ID_PREFIX", - "060a2b0601040182370a0c" : "CryptUI", - "060a2b0601040182370a0c01" : "szOID_ANY_APPLICATION_POLICY", - "060a2b0601040182370a02" : "nextUpdateLocation", - "060a2b0601040182370a0301" : "certTrustListSigning", - "060a2b0601040182370a030a" : "szOID_KP_QUALIFIED_SUBORDINATION", - "060a2b0601040182370a030b" : "szOID_KP_KEY_RECOVERY", - "060a2b0601040182370a030c" : "szOID_KP_DOCUMENT_SIGNING", - "060a2b0601040182370a0302" : "timeStampSigning", - "060a2b0601040182370a0303" : "serverGatedCrypto", - "060a2b0601040182370a030301" : "szOID_SERIALIZED", - "060a2b0601040182370a0304" : "encryptedFileSystem", - "060a2b0601040182370a030401" : "szOID_EFS_RECOVERY", - "060a2b0601040182370a0305" : "szOID_WHQL_CRYPTO", - "060a2b0601040182370a0306" : "szOID_NT5_CRYPTO", - "060a2b0601040182370a0307" : "szOID_OEM_WHQL_CRYPTO", - "060a2b0601040182370a0308" : "szOID_EMBEDDED_NT_CRYPTO", - "060a2b0601040182370a0309" : "szOID_ROOT_LIST_SIGNER", - "060a2b0601040182370a0401" : "yesnoTrustAttr", - "060a2b0601040182370a0501" : "szOID_DRM", - "060a2b0601040182370a0502" : "szOID_DRM_INDIVIDUALIZATION", - "060a2b0601040182370a0601" : "szOID_LICENSES", - "060a2b0601040182370a0602" : "szOID_LICENSE_SERVER", - "060a2b0601040182370a07" : "szOID_MICROSOFT_RDN_PREFIX", - "060a2b0601040182370a0701" : "szOID_KEYID_RDN", - "060a2b0601040182370a0801" : "szOID_REMOVE_CERTIFICATE", - "060a2b0601040182370a0901" : "szOID_CROSS_CERT_DIST_POINTS", - "060a2b0601040182370c" : "Catalog", - "060a2b0601040182370c0101" : "szOID_CATALOG_LIST", - "060a2b0601040182370c0102" : "szOID_CATALOG_LIST_MEMBER", - "060a2b0601040182370c0201" : "CAT_NAMEVALUE_OBJID", - "060a2b0601040182370c0202" : "CAT_MEMBERINFO_OBJID", - "060a2b0601040182370d" : "Microsoft PKCS10 OIDs", - "060a2b0601040182370d01" : "szOID_RENEWAL_CERTIFICATE", - "060a2b0601040182370d0201" : "szOID_ENROLLMENT_NAME_VALUE_PAIR", - "060a2b0601040182370d0202" : "szOID_ENROLLMENT_CSP_PROVIDER", - "060a2b0601040182370d0203" : "OS Version", - "060a2b0601040182370f" : "Microsoft Java", - "060a2b06010401823710" : "Microsoft Outlook/Exchange", - "060a2b0601040182371004" : "Outlook Express", - "060a2b06010401823711" : "Microsoft PKCS12 attributes", - "060a2b0601040182371101" : "szOID_LOCAL_MACHINE_KEYSET", - "060a2b06010401823712" : "Microsoft Hydra", - "060a2b06010401823713" : "Microsoft ISPU Test", - "060a2b06010401823702" : "Authenticode", - "060a2b06010401823702010a" : "spcAgencyInfo", - "060a2b06010401823702010b" : "spcStatementType", - "060a2b06010401823702010c" : "spcSpOpusInfo", - "060a2b06010401823702010e" : "certExtensions", - "060a2b06010401823702010f" : "spcPelmageData", - "060a2b060104018237020112" : "SPC_RAW_FILE_DATA_OBJID", - "060a2b060104018237020113" : "SPC_STRUCTURED_STORAGE_DATA_OBJID", - "060a2b060104018237020114" : "spcLink", - "060a2b060104018237020115" : "individualCodeSigning", - "060a2b060104018237020116" : "commercialCodeSigning", - "060a2b060104018237020119" : "spcLink", - "060a2b06010401823702011a" : "spcMinimalCriteriaInfo", - "060a2b06010401823702011b" : "spcFinancialCriteriaInfo", - "060a2b06010401823702011c" : "spcLink", - "060a2b06010401823702011d" : "SPC_HASH_INFO_OBJID", - "060a2b06010401823702011e" : "SPC_SIPINFO_OBJID", - "060a2b060104018237020104" : "spcIndirectDataContext", - "060a2b0601040182370202" : "CTL for Software Publishers Trusted CAs", - "060a2b060104018237020201" : "szOID_TRUSTED_CODESIGNING_CA_LIST", - "060a2b060104018237020202" : "szOID_TRUSTED_CLIENT_AUTH_CA_LIST", - "060a2b060104018237020203" : "szOID_TRUSTED_SERVER_AUTH_CA_LIST", - "060a2b06010401823714" : "Microsoft Enrollment Infrastructure", - "060a2b0601040182371401" : "szOID_AUTO_ENROLL_CTL_USAGE", - "060a2b0601040182371402" : "szOID_ENROLL_CERTTYPE_EXTENSION", - "060a2b060104018237140201" : "szOID_ENROLLMENT_AGENT", - "060a2b060104018237140202" : "szOID_KP_SMARTCARD_LOGON", - "060a2b060104018237140203" : "szOID_NT_PRINCIPAL_NAME", - "060a2b0601040182371403" : "szOID_CERT_MANIFOLD", - "06092b06010401823715" : "Microsoft CertSrv Infrastructure", - "06092b0601040182371501" : "szOID_CERTSRV_CA_VERSION", - "06092b0601040182371514" : "Client Information", - "060a2b06010401823719" : "Microsoft Directory Service", - "060a2b0601040182371901" : "szOID_NTDS_REPLICATION", - "060a2b06010401823703" : "Time Stamping", - "060a2b060104018237030201" : "SPC_TIME_STAMP_REQUEST_OBJID", - "060a2b0601040182371e" : "IIS", - "060a2b0601040182371f" : "Windows updates and service packs", - "060a2b0601040182371f01" : "szOID_PRODUCT_UPDATE", - "060a2b06010401823704" : "Permissions", - "060a2b06010401823728" : "Fonts", - "060a2b06010401823729" : "Microsoft Licensing and Registration", - "060a2b0601040182372a" : "Microsoft Corporate PKI (ITG)", - "060a2b06010401823758" : "CAPICOM", - "060a2b0601040182375801" : "szOID_CAPICOM_VERSION", - "060a2b0601040182375802" : "szOID_CAPICOM_ATTRIBUTE", - "060a2b060104018237580201" : "szOID_CAPICOM_DOCUMENT_NAME", - "060a2b060104018237580202" : "szOID_CAPICOM_DOCUMENT_DESCRIPTION", - "060a2b0601040182375803" : "szOID_CAPICOM_ENCRYPTED_DATA", - "060a2b060104018237580301" : "szOID_CAPICOM_ENCRYPTED_CONTENT", - "06032b0601050507" : "pkix", - "06032b060105050701" : "privateExtension", - "06032b06010505070101" : "authorityInfoAccess", - "06032b06010505070c02" : "CMC Data", - "06032b060105050702" : "policyQualifierIds", + "06032b06010505070201": "idCertificatePolicies", + "06036086480186f8420101": "netscape-cert-type", + "06036086480186f8420102": "netscape-base-url", + "06036086480186f8420103": "netscape-revocation-url", + "06036086480186f8420104": "netscape-ca-revocation-url", + "06036086480186f8420107": "netscape-cert-renewal-url", + "06036086480186f8420108": "netscape-ca-policy-url", + "06036086480186f842010c": "netscape-ssl-server-name", + "06036086480186f842010d": "netscape-comment", + "0603604c010201": "A1", + "0603604c010203": "A3", + "0603604c01020110": "Certification Practice Statement pointer", + "0603604c010301": "Dados do cert parte 1", + "0603604c010305": "Dados do cert parte 2", + "0603604c010306": "Dados do cert parte 3", + "06030992268993f22c640119": "domainComponent", + "06032a24a0f2a07d01010a": "Signet pilot", + "06032a24a0f2a07d01010b": "Signet intraNet", + "06032a24a0f2a07d010102": "Signet personal", + "06032a24a0f2a07d010114": "Signet securityPolicy", + "06032a24a0f2a07d010103": "Signet business", + "06032a24a0f2a07d010104": "Signet legal", + "06032a24a497a35301640101": "Certificates Australia policyIdentifier", + "06032a85702201": "seis-cp", + "06032a8570220101": "SEIS certificatePolicy-s10", + "06032a85702202": "SEIS pe", + "06032a85702203": "SEIS at", + "06032a8570220301": "SEIS at-personalIdentifier", + "06032a8648ce380201": "holdinstruction-none", + "06032a8648ce380202": "holdinstruction-callissuer", + "06032a8648ce380203": "holdinstruction-reject", + "06032a8648ce380401": "dsa", + "06032a8648ce380403": "dsaWithSha1", + "06032a8648ce3d01": "fieldType", + "06032a8648ce3d0101": "prime-field", + "06032a8648ce3d0102": "characteristic-two-field", + "06032a8648ce3d010201": "ecPublicKey", + "06032a8648ce3d010203": "characteristic-two-basis", + "06032a8648ce3d01020301": "onBasis", + "06032a8648ce3d01020302": "tpBasis", + "06032a8648ce3d01020303": "ppBasis", + "06032a8648ce3d02": "publicKeyType", + "06032a8648ce3d0201": "ecPublicKey", + "06032a8648ce3e0201": "dhPublicNumber", + "06032a864886f67d07": "nsn", + "06032a864886f67d0741": "nsn-ce", + "06032a864886f67d074100": "entrustVersInfo", + "06032a864886f67d0742": "nsn-alg", + "06032a864886f67d07420a": "cast5CBC", + "06032a864886f67d07420b": "cast5MAC", + "06032a864886f67d07420c": "pbeWithMD5AndCAST5-CBC", + "06032a864886f67d07420d": "passwordBasedMac", + "06032a864886f67d074203": "cast3CBC", + "06032a864886f67d0743": "nsn-oc", + "06032a864886f67d074300": "entrustUser", + "06032a864886f67d0744": "nsn-at", + "06032a864886f67d074400": "entrustCAInfo", + "06032a864886f67d07440a": "attributeCertificate", + "06032a864886f70d0101": "pkcs-1", + "06032a864886f70d010101": "rsaEncryption", + "06032a864886f70d010102": "md2withRSAEncryption", + "06032a864886f70d010103": "md4withRSAEncryption", + "06032a864886f70d010104": "md5withRSAEncryption", + "06032a864886f70d010105": "sha1withRSAEncryption", + "06032a864886f70d010106": "rsaOAEPEncryptionSET", + "06032a864886f70d010910020b": "SMIMEEncryptionKeyPreference", + "06032a864886f70d010c": "pkcs-12", + "06032a864886f70d010c01": "pkcs-12-PbeIds", + "06032a864886f70d010c0101": "pbeWithSHAAnd128BitRC4", + "06032a864886f70d010c0102": "pbeWithSHAAnd40BitRC4", + "06032a864886f70d010c0103": "pbeWithSHAAnd3-KeyTripleDES-CBC", + "06032a864886f70d010c0104": "pbeWithSHAAnd2-KeyTripleDES-CBC", + "06032a864886f70d010c0105": "pbeWithSHAAnd128BitRC2-CBC", + "06032a864886f70d010c0106": "pbeWithSHAAnd40BitRC2-CBC", + "06032a864886f70d010c0a": "pkcs-12Version1", + "06032a864886f70d010c0a01": "pkcs-12BadIds", + "06032a864886f70d010c0a0101": "pkcs-12-keyBag", + "06032a864886f70d010c0a0102": "pkcs-12-pkcs-8ShroudedKeyBag", + "06032a864886f70d010c0a0103": "pkcs-12-certBag", + "06032a864886f70d010c0a0104": "pkcs-12-crlBag", + "06032a864886f70d010c0a0105": "pkcs-12-secretBag", + "06032a864886f70d010c0a0106": "pkcs-12-safeContentsBag", + "06032a864886f70d010c02": "pkcs-12-ESPVKID", + "06032a864886f70d010c0201": "pkcs-12-PKCS8KeyShrouding", + "06032a864886f70d010c03": "pkcs-12-BagIds", + "06032a864886f70d010c0301": "pkcs-12-keyBagId", + "06032a864886f70d010c0302": "pkcs-12-certAndCRLBagId", + "06032a864886f70d010c0303": "pkcs-12-secretBagId", + "06032a864886f70d010c0304": "pkcs-12-safeContentsId", + "06032a864886f70d010c0305": "pkcs-12-pkcs-8ShroudedKeyBagId", + "06032a864886f70d010c04": "pkcs-12-CertBagID", + "06032a864886f70d010c0401": "pkcs-12-X509CertCRLBagID", + "06032a864886f70d010c0402": "pkcs-12-SDSICertBagID", + "06032a864886f70d010c05": "pkcs-12-OID", + "06032a864886f70d010c0501": "pkcs-12-PBEID", + "06032a864886f70d010c050101": "pkcs-12-PBEWithSha1And128BitRC4", + "06032a864886f70d010c050102": "pkcs-12-PBEWithSha1And40BitRC4", + "06032a864886f70d010c050103": "pkcs-12-PBEWithSha1AndTripleDESCBC", + "06032a864886f70d010c050104": "pkcs-12-PBEWithSha1And128BitRC2CBC", + "06032a864886f70d010c050105": "pkcs-12-PBEWithSha1And40BitRC2CBC", + "06032a864886f70d010c050106": "pkcs-12-PBEWithSha1AndRC4", + "06032a864886f70d010c050107": "pkcs-12-PBEWithSha1AndRC2CBC", + "06032a864886f70d010c0502": "pkcs-12-EnvelopingID", + "06032a864886f70d010c050201": "pkcs-12-RSAEncryptionWith128BitRC4", + "06032a864886f70d010c050202": "pkcs-12-RSAEncryptionWith40BitRC4", + "06032a864886f70d010c050203": "pkcs-12-RSAEncryptionWithTripleDES", + "06032a864886f70d010c0503": "pkcs-12-SignatureID", + "06032a864886f70d010c050301": "pkcs-12-RSASignatureWithSHA1Digest", + "06032a864886f70d0103": "pkcs-3", + "06032a864886f70d010301": "dhKeyAgreement", + "06032a864886f70d0105": "pkcs-5", + "06032a864886f70d010501": "pbeWithMD2AndDES-CBC", + "06032a864886f70d01050a": "pbeWithSHAAndDES-CBC", + "06032a864886f70d010503": "pbeWithMD5AndDES-CBC", + "06032a864886f70d010504": "pbeWithMD2AndRC2-CBC", + "06032a864886f70d010506": "pbeWithMD5AndRC2-CBC", + "06032a864886f70d010509": "pbeWithMD5AndXOR", + "06032a864886f70d0107": "pkcs-7", + "06032a864886f70d010701": "data", + "06032a864886f70d010702": "signedData", + "06032a864886f70d010703": "envelopedData", + "06032a864886f70d010704": "signedAndEnvelopedData", + "06032a864886f70d010705": "digestData", + "06032a864886f70d010706": "encryptedData", + "06032a864886f70d010707": "dataWithAttributes", + "06032a864886f70d010708": "encryptedPrivateKeyInfo", + "06032a864886f70d0109": "pkcs-9", + "06032a864886f70d010901": "emailAddress", + "06032a864886f70d01090a": "issuerAndSerialNumber", + "06032a864886f70d01090b": "passwordCheck", + "06032a864886f70d01090c": "publicKey", + "06032a864886f70d01090d": "signingDescription", + "06032a864886f70d01090e": "extensionReq", + "06032a864886f70d01090f": "sMIMECapabilities", + "06032a864886f70d01090f01": "preferSignedData", + "06032a864886f70d01090f02": "canNotDecryptAny", + "06032a864886f70d01090f03": "receiptRequest", + "06032a864886f70d01090f04": "receipt", + "06032a864886f70d01090f05": "contentHints", + "06032a864886f70d01090f06": "mlExpansionHistory", + "06032a864886f70d010910": "id-sMIME", + "06032a864886f70d01091000": "id-mod", + "06032a864886f70d0109100001": "id-mod-cms", + "06032a864886f70d0109100002": "id-mod-ess", + "06032a864886f70d01091001": "id-ct", + "06032a864886f70d0109100101": "id-ct-receipt", + "06032a864886f70d01091002": "id-aa", + "06032a864886f70d0109100201": "id-aa-receiptRequest", + "06032a864886f70d0109100202": "id-aa-securityLabel", + "06032a864886f70d0109100203": "id-aa-mlExpandHistory", + "06032a864886f70d0109100204": "id-aa-contentHint", + "06032a864886f70d010902": "unstructuredName", + "06032a864886f70d010914": "friendlyName", + "06032a864886f70d010915": "localKeyID", + "06032a864886f70d010916": "certTypes", + "06032a864886f70d01091601": "x509Certificate", + "06032a864886f70d01091602": "sdsiCertificate", + "06032a864886f70d010917": "crlTypes", + "06032a864886f70d01091701": "x509Crl", + "06032a864886f70d010903": "contentType", + "06032a864886f70d010904": "messageDigest", + "06032a864886f70d010905": "signingTime", + "06032a864886f70d010906": "countersignature", + "06032a864886f70d010907": "challengePassword", + "06032a864886f70d010908": "unstructuredAddress", + "06032a864886f70d010909": "extendedCertificateAttributes", + "06032a864886f70d02": "digestAlgorithm", + "06032a864886f70d0202": "md2", + "06032a864886f70d0204": "md4", + "06032a864886f70d0205": "md5", + "06032a864886f70d03": "encryptionAlgorithm", + "06032a864886f70d030a": "desCDMF", + "06032a864886f70d0302": "rc2CBC", + "06032a864886f70d0303": "rc2ECB", + "06032a864886f70d0304": "rc4", + "06032a864886f70d0305": "rc4WithMAC", + "06032a864886f70d0306": "DESX-CBC", + "06032a864886f70d0307": "DES-EDE3-CBC", + "06032a864886f70d0308": "RC5CBC", + "06032a864886f70d0309": "RC5-CBCPad", + "06032a864886f7140403": "microsoftExcel", + "06032a864886f7140404": "titledWithOID", + "06032a864886f7140405": "microsoftPowerPoint", + "06032b81051086480954": "x9-84", + "06032b8105108648095400": "x9-84-Module", + "06032b810510864809540001": "x9-84-Biometrics", + "06032b810510864809540002": "x9-84-CMS", + "06032b810510864809540003": "x9-84-Identifiers", + "06032b8105108648095401": "biometric", + "06032b810510864809540100": "id-unknown-Type", + "06032b810510864809540101": "id-body-Odor", + "06032b81051086480954010a": "id-palm", + "06032b81051086480954010b": "id-retina", + "06032b81051086480954010c": "id-signature", + "06032b81051086480954010d": "id-speech-Pattern", + "06032b81051086480954010e": "id-thermal-Image", + "06032b81051086480954010f": "id-vein-Pattern", + "06032b810510864809540110": "id-thermal-Face-Image", + "06032b810510864809540111": "id-thermal-Hand-Image", + "06032b810510864809540112": "id-lip-Movement", + "06032b810510864809540113": "id-gait", + "06032b810510864809540102": "id-dna", + "06032b810510864809540103": "id-ear-Shape", + "06032b810510864809540104": "id-facial-Features", + "06032b810510864809540105": "id-finger-Image", + "06032b810510864809540106": "id-finger-Geometry", + "06032b810510864809540107": "id-hand-Geometry", + "06032b810510864809540108": "id-iris-Features", + "06032b810510864809540109": "id-keystroke-Dynamics", + "06032b8105108648095402": "processing-algorithm", + "06032b8105108648095403": "matching-method", + "06032b8105108648095404": "format-Owner", + "06032b810510864809540400": "cbeff-Owner", + "06032b810510864809540401": "ibia-Owner", + "06032b81051086480954040101": "id-ibia-SAFLINK", + "06032b8105108648095404010a": "id-ibia-SecuGen", + "06032b8105108648095404010b": "id-ibia-PreciseBiometric", + "06032b8105108648095404010c": "id-ibia-Identix", + "06032b8105108648095404010d": "id-ibia-DERMALOG", + "06032b8105108648095404010e": "id-ibia-LOGICO", + "06032b8105108648095404010f": "id-ibia-NIST", + "06032b81051086480954040110": "id-ibia-A3Vision", + "06032b81051086480954040111": "id-ibia-NEC", + "06032b81051086480954040112": "id-ibia-STMicroelectronics", + "06032b81051086480954040102": "id-ibia-Bioscrypt", + "06032b81051086480954040103": "id-ibia-Visionics", + "06032b81051086480954040104": "id-ibia-InfineonTechnologiesAG", + "06032b81051086480954040105": "id-ibia-IridianTechnologies", + "06032b81051086480954040106": "id-ibia-Veridicom", + "06032b81051086480954040107": "id-ibia-CyberSIGN", + "06032b81051086480954040108": "id-ibia-eCryp.", + "06032b81051086480954040109": "id-ibia-FingerprintCardsAB", + "06032b810510864809540402": "x9-Owner", + "06032b0e021a05": "sha", + "06032b0e03020101": "rsa", + "06032b0e03020a": "desMAC", + "06032b0e03020b": "rsaSignature", + "06032b0e03020c": "dsa", + "06032b0e03020d": "dsaWithSHA", + "06032b0e03020e": "mdc2WithRSASignature", + "06032b0e03020f": "shaWithRSASignature", + "06032b0e030210": "dhWithCommonModulus", + "06032b0e030211": "desEDE", + "06032b0e030212": "sha", + "06032b0e030213": "mdc-2", + "06032b0e030202": "md4WitRSA", + "06032b0e03020201": "sqmod-N", + "06032b0e030214": "dsaCommon", + "06032b0e030215": "dsaCommonWithSHA", + "06032b0e030216": "rsaKeyTransport", + "06032b0e030217": "keyed-hash-seal", + "06032b0e030218": "md2WithRSASignature", + "06032b0e030219": "md5WithRSASignature", + "06032b0e03021a": "sha1", + "06032b0e03021b": "dsaWithSHA1", + "06032b0e03021c": "dsaWithCommonSHA1", + "06032b0e03021d": "sha-1WithRSAEncryption", + "06032b0e030203": "md5WithRSA", + "06032b0e03020301": "sqmod-NwithRSA", + "06032b0e030204": "md4WithRSAEncryption", + "06032b0e030206": "desECB", + "06032b0e030207": "desCBC", + "06032b0e030208": "desOFB", + "06032b0e030209": "desCFB", + "06032b0e030301": "simple-strong-auth-mechanism", + "06032b0e07020101": "ElGamal", + "06032b0e07020301": "md2WithRSA", + "06032b0e07020302": "md2WithElGamal", + "06032b2403": "algorithm", + "06032b240301": "encryptionAlgorithm", + "06032b24030101": "des", + "06032b240301010101": "desECBPad", + "06032b24030101010101": "desECBPadISO", + "06032b240301010201": "desCBCPad", + "06032b24030101020101": "desCBCPadISO", + "06032b24030102": "idea", + "06032b2403010201": "ideaECB", + "06032b240301020101": "ideaECBPad", + "06032b24030102010101": "ideaECBPadISO", + "06032b2403010202": "ideaCBC", + "06032b240301020201": "ideaCBCPad", + "06032b24030102020101": "ideaCBCPadISO", + "06032b2403010203": "ideaOFB", + "06032b2403010204": "ideaCFB", + "06032b24030103": "des-3", + "06032b240301030101": "des-3ECBPad", + "06032b24030103010101": "des-3ECBPadISO", + "06032b240301030201": "des-3CBCPad", + "06032b24030103020101": "des-3CBCPadISO", + "06032b240302": "hashAlgorithm", + "06032b24030201": "ripemd160", + "06032b24030202": "ripemd128", + "06032b24030203": "ripemd256", + "06032b24030204": "mdc2singleLength", + "06032b24030205": "mdc2doubleLength", + "06032b240303": "signatureAlgorithm", + "06032b24030301": "rsa", + "06032b2403030101": "rsaMitSHA-1", + "06032b2403030102": "rsaMitRIPEMD160", + "06032b24030302": "ellipticCurve", + "06032b240304": "signatureScheme", + "06032b24030401": "iso9796-1", + "06032b2403040201": "iso9796-2", + "06032b2403040202": "iso9796-2rsa", + "06032b2404": "attribute", + "06032b2405": "policy", + "06032b2406": "api", + "06032b240601": "manufacturerSpecific", + "06032b240602": "functionalitySpecific", + "06032b2407": "api", + "06032b240701": "keyAgreement", + "06032b240702": "keyTransport", + "06032b06010401927c0a0101": "UNINETT policyIdentifier", + "06032b0601040195180a": "ICE-TEL policyIdentifier", + "06032b0601040197552001": "cryptlibEnvelope", + "06032b0601040197552002": "cryptlibPrivateKey", + "060a2b060104018237": "Microsoft OID", + "060a2b0601040182370a": "Crypto 2.0", + "060a2b0601040182370a01": "certTrustList", + "060a2b0601040182370a0101": "szOID_SORTED_CTL", + "060a2b0601040182370a0a": "Microsoft CMC OIDs", + "060a2b0601040182370a0a01": "szOID_CMC_ADD_ATTRIBUTES", + "060a2b0601040182370a0b": "Microsoft certificate property OIDs", + "060a2b0601040182370a0b01": "szOID_CERT_PROP_ID_PREFIX", + "060a2b0601040182370a0c": "CryptUI", + "060a2b0601040182370a0c01": "szOID_ANY_APPLICATION_POLICY", + "060a2b0601040182370a02": "nextUpdateLocation", + "060a2b0601040182370a0301": "certTrustListSigning", + "060a2b0601040182370a030a": "szOID_KP_QUALIFIED_SUBORDINATION", + "060a2b0601040182370a030b": "szOID_KP_KEY_RECOVERY", + "060a2b0601040182370a030c": "szOID_KP_DOCUMENT_SIGNING", + "060a2b0601040182370a0302": "timeStampSigning", + "060a2b0601040182370a0303": "serverGatedCrypto", + "060a2b0601040182370a030301": "szOID_SERIALIZED", + "060a2b0601040182370a0304": "encryptedFileSystem", + "060a2b0601040182370a030401": "szOID_EFS_RECOVERY", + "060a2b0601040182370a0305": "szOID_WHQL_CRYPTO", + "060a2b0601040182370a0306": "szOID_NT5_CRYPTO", + "060a2b0601040182370a0307": "szOID_OEM_WHQL_CRYPTO", + "060a2b0601040182370a0308": "szOID_EMBEDDED_NT_CRYPTO", + "060a2b0601040182370a0309": "szOID_ROOT_LIST_SIGNER", + "060a2b0601040182370a0401": "yesnoTrustAttr", + "060a2b0601040182370a0501": "szOID_DRM", + "060a2b0601040182370a0502": "szOID_DRM_INDIVIDUALIZATION", + "060a2b0601040182370a0601": "szOID_LICENSES", + "060a2b0601040182370a0602": "szOID_LICENSE_SERVER", + "060a2b0601040182370a07": "szOID_MICROSOFT_RDN_PREFIX", + "060a2b0601040182370a0701": "szOID_KEYID_RDN", + "060a2b0601040182370a0801": "szOID_REMOVE_CERTIFICATE", + "060a2b0601040182370a0901": "szOID_CROSS_CERT_DIST_POINTS", + "060a2b0601040182370c": "Catalog", + "060a2b0601040182370c0101": "szOID_CATALOG_LIST", + "060a2b0601040182370c0102": "szOID_CATALOG_LIST_MEMBER", + "060a2b0601040182370c0201": "CAT_NAMEVALUE_OBJID", + "060a2b0601040182370c0202": "CAT_MEMBERINFO_OBJID", + "060a2b0601040182370d": "Microsoft PKCS10 OIDs", + "060a2b0601040182370d01": "szOID_RENEWAL_CERTIFICATE", + "060a2b0601040182370d0201": "szOID_ENROLLMENT_NAME_VALUE_PAIR", + "060a2b0601040182370d0202": "szOID_ENROLLMENT_CSP_PROVIDER", + "060a2b0601040182370d0203": "OS Version", + "060a2b0601040182370f": "Microsoft Java", + "060a2b06010401823710": "Microsoft Outlook/Exchange", + "060a2b0601040182371004": "Outlook Express", + "060a2b06010401823711": "Microsoft PKCS12 attributes", + "060a2b0601040182371101": "szOID_LOCAL_MACHINE_KEYSET", + "060a2b06010401823712": "Microsoft Hydra", + "060a2b06010401823713": "Microsoft ISPU Test", + "060a2b06010401823702": "Authenticode", + "060a2b06010401823702010a": "spcAgencyInfo", + "060a2b06010401823702010b": "spcStatementType", + "060a2b06010401823702010c": "spcSpOpusInfo", + "060a2b06010401823702010e": "certExtensions", + "060a2b06010401823702010f": "spcPelmageData", + "060a2b060104018237020112": "SPC_RAW_FILE_DATA_OBJID", + "060a2b060104018237020113": "SPC_STRUCTURED_STORAGE_DATA_OBJID", + "060a2b060104018237020114": "spcLink", + "060a2b060104018237020115": "individualCodeSigning", + "060a2b060104018237020116": "commercialCodeSigning", + "060a2b060104018237020119": "spcLink", + "060a2b06010401823702011a": "spcMinimalCriteriaInfo", + "060a2b06010401823702011b": "spcFinancialCriteriaInfo", + "060a2b06010401823702011c": "spcLink", + "060a2b06010401823702011d": "SPC_HASH_INFO_OBJID", + "060a2b06010401823702011e": "SPC_SIPINFO_OBJID", + "060a2b060104018237020104": "spcIndirectDataContext", + "060a2b0601040182370202": "CTL for Software Publishers Trusted CAs", + "060a2b060104018237020201": "szOID_TRUSTED_CODESIGNING_CA_LIST", + "060a2b060104018237020202": "szOID_TRUSTED_CLIENT_AUTH_CA_LIST", + "060a2b060104018237020203": "szOID_TRUSTED_SERVER_AUTH_CA_LIST", + "060a2b06010401823714": "Microsoft Enrollment Infrastructure", + "060a2b0601040182371401": "szOID_AUTO_ENROLL_CTL_USAGE", + "060a2b0601040182371402": "szOID_ENROLL_CERTTYPE_EXTENSION", + "060a2b060104018237140201": "szOID_ENROLLMENT_AGENT", + "060a2b060104018237140202": "szOID_KP_SMARTCARD_LOGON", + "060a2b060104018237140203": "szOID_NT_PRINCIPAL_NAME", + "060a2b0601040182371403": "szOID_CERT_MANIFOLD", + "06092b06010401823715": "Microsoft CertSrv Infrastructure", + "06092b0601040182371501": "szOID_CERTSRV_CA_VERSION", + "06092b0601040182371514": "Client Information", + "060a2b06010401823719": "Microsoft Directory Service", + "060a2b0601040182371901": "szOID_NTDS_REPLICATION", + "060a2b06010401823703": "Time Stamping", + "060a2b060104018237030201": "SPC_TIME_STAMP_REQUEST_OBJID", + "060a2b0601040182371e": "IIS", + "060a2b0601040182371f": "Windows updates and service packs", + "060a2b0601040182371f01": "szOID_PRODUCT_UPDATE", + "060a2b06010401823704": "Permissions", + "060a2b06010401823728": "Fonts", + "060a2b06010401823729": "Microsoft Licensing and Registration", + "060a2b0601040182372a": "Microsoft Corporate PKI (ITG)", + "060a2b06010401823758": "CAPICOM", + "060a2b0601040182375801": "szOID_CAPICOM_VERSION", + "060a2b0601040182375802": "szOID_CAPICOM_ATTRIBUTE", + "060a2b060104018237580201": "szOID_CAPICOM_DOCUMENT_NAME", + "060a2b060104018237580202": "szOID_CAPICOM_DOCUMENT_DESCRIPTION", + "060a2b0601040182375803": "szOID_CAPICOM_ENCRYPTED_DATA", + "060a2b060104018237580301": "szOID_CAPICOM_ENCRYPTED_CONTENT", + "06032b0601050507": "pkix", + "06032b060105050701": "privateExtension", + "06032b06010505070101": "authorityInfoAccess", + "06032b06010505070c02": "CMC Data", + "06032b060105050702": "policyQualifierIds", // "06032b06010505070201" : "cps", - "06032b06010505070202" : "unotice", - "06032b060105050703" : "keyPurpose", - "06032b06010505070301" : "serverAuth", - "06032b06010505070302" : "clientAuth", - "06032b06010505070303" : "codeSigning", - "06032b06010505070304" : "emailProtection", - "06032b06010505070305" : "ipsecEndSystem", - "06032b06010505070306" : "ipsecTunnel", - "06032b06010505070307" : "ipsecUser", - "06032b06010505070308" : "timeStamping", - "06032b060105050704" : "cmpInformationTypes", - "06032b06010505070401" : "caProtEncCert", - "06032b06010505070402" : "signKeyPairTypes", - "06032b06010505070403" : "encKeyPairTypes", - "06032b06010505070404" : "preferredSymmAlg", - "06032b06010505070405" : "caKeyUpdateInfo", - "06032b06010505070406" : "currentCRL", - "06032b06010505073001" : "ocsp", - "06032b06010505073002" : "caIssuers", - "06032b06010505080101" : "HMAC-MD5", - "06032b06010505080102" : "HMAC-SHA", - "060360864801650201010a" : "mosaicKeyManagementAlgorithm", - "060360864801650201010b" : "sdnsKMandSigAlgorithm", - "060360864801650201010c" : "mosaicKMandSigAlgorithm", - "060360864801650201010d" : "SuiteASignatureAlgorithm", - "060360864801650201010e" : "SuiteAConfidentialityAlgorithm", - "060360864801650201010f" : "SuiteAIntegrityAlgorithm", - "06036086480186f84201" : "cert-extension", + "06032b06010505070202": "unotice", + "06032b060105050703": "keyPurpose", + "06032b06010505070301": "serverAuth", + "06032b06010505070302": "clientAuth", + "06032b06010505070303": "codeSigning", + "06032b06010505070304": "emailProtection", + "06032b06010505070305": "ipsecEndSystem", + "06032b06010505070306": "ipsecTunnel", + "06032b06010505070307": "ipsecUser", + "06032b06010505070308": "timeStamping", + "06032b060105050704": "cmpInformationTypes", + "06032b06010505070401": "caProtEncCert", + "06032b06010505070402": "signKeyPairTypes", + "06032b06010505070403": "encKeyPairTypes", + "06032b06010505070404": "preferredSymmAlg", + "06032b06010505070405": "caKeyUpdateInfo", + "06032b06010505070406": "currentCRL", + "06032b06010505073001": "ocsp", + "06032b06010505073002": "caIssuers", + "06032b06010505080101": "HMAC-MD5", + "06032b06010505080102": "HMAC-SHA", + "060360864801650201010a": "mosaicKeyManagementAlgorithm", + "060360864801650201010b": "sdnsKMandSigAlgorithm", + "060360864801650201010c": "mosaicKMandSigAlgorithm", + "060360864801650201010d": "SuiteASignatureAlgorithm", + "060360864801650201010e": "SuiteAConfidentialityAlgorithm", + "060360864801650201010f": "SuiteAIntegrityAlgorithm", + "06036086480186f84201": "cert-extension", // "06036086480186f8420101" : "netscape-cert-type", - "06036086480186f842010a" : "EntityLogo", - "06036086480186f842010b" : "UserPicture", + "06036086480186f842010a": "EntityLogo", + "06036086480186f842010b": "UserPicture", // "06036086480186f842010c" : "netscape-ssl-server-name", // "06036086480186f842010d" : "netscape-comment", // "06036086480186f8420102" : "netscape-base-url", @@ -843,202 +843,202 @@ r.X509.DN_ATTRHEX = { // "06036086480186f8420104" : "netscape-ca-revocation-url", // "06036086480186f8420107" : "netscape-cert-renewal-url", // "06036086480186f8420108" : "netscape-ca-policy-url", - "06036086480186f8420109" : "HomePage-url", - "06036086480186f84202" : "data-type", - "06036086480186f8420201" : "GIF", - "06036086480186f8420202" : "JPEG", - "06036086480186f8420203" : "URL", - "06036086480186f8420204" : "HTML", - "06036086480186f8420205" : "netscape-cert-sequence", - "06036086480186f8420206" : "netscape-cert-url", - "06036086480186f84203" : "directory", - "06036086480186f8420401" : "serverGatedCrypto", - "06036086480186f845010603" : "Unknown Verisign extension", - "06036086480186f845010606" : "Unknown Verisign extension", - "06036086480186f84501070101" : "Verisign certificatePolicy", - "06036086480186f8450107010101" : "Unknown Verisign policy qualifier", - "06036086480186f8450107010102" : "Unknown Verisign policy qualifier", - "0603678105" : "TCPA", - "060367810501" : "tcpaSpecVersion", - "060367810502" : "tcpaAttribute", - "06036781050201" : "tcpaAtTpmManufacturer", - "0603678105020a" : "tcpaAtSecurityQualities", - "0603678105020b" : "tcpaAtTpmProtectionProfile", - "0603678105020c" : "tcpaAtTpmSecurityTarget", - "0603678105020d" : "tcpaAtFoundationProtectionProfile", - "0603678105020e" : "tcpaAtFoundationSecurityTarget", - "0603678105020f" : "tcpaAtTpmIdLabel", - "06036781050202" : "tcpaAtTpmModel", - "06036781050203" : "tcpaAtTpmVersion", - "06036781050204" : "tcpaAtPlatformManufacturer", - "06036781050205" : "tcpaAtPlatformModel", - "06036781050206" : "tcpaAtPlatformVersion", - "06036781050207" : "tcpaAtComponentManufacturer", - "06036781050208" : "tcpaAtComponentModel", - "06036781050209" : "tcpaAtComponentVersion", - "060367810503" : "tcpaProtocol", - "06036781050301" : "tcpaPrttTpmIdProtocol", - "0603672a00" : "contentType", - "0603672a0000" : "PANData", - "0603672a0001" : "PANToken", - "0603672a0002" : "PANOnly", - "0603672a01" : "msgExt", - "0603672a0a" : "national", - "0603672a0a8140" : "Japan", - "0603672a02" : "field", - "0603672a0200" : "fullName", - "0603672a0201" : "givenName", - "0603672a020a" : "amount", - "0603672a0202" : "familyName", - "0603672a0203" : "birthFamilyName", - "0603672a0204" : "placeName", - "0603672a0205" : "identificationNumber", - "0603672a0206" : "month", - "0603672a0207" : "date", - "0603672a02070b" : "accountNumber", - "0603672a02070c" : "passPhrase", - "0603672a0208" : "address", - "0603672a0209" : "telephone", - "0603672a03" : "attribute", - "0603672a0300" : "cert", - "0603672a030000" : "rootKeyThumb", - "0603672a030001" : "additionalPolicy", - "0603672a04" : "algorithm", - "0603672a05" : "policy", - "0603672a0500" : "root", - "0603672a06" : "module", - "0603672a07" : "certExt", - "0603672a0700" : "hashedRootKey", - "0603672a0701" : "certificateType", - "0603672a0702" : "merchantData", - "0603672a0703" : "cardCertRequired", - "0603672a0704" : "tunneling", - "0603672a0705" : "setExtensions", - "0603672a0706" : "setQualifier", - "0603672a08" : "brand", - "0603672a0801" : "IATA-ATA", - "0603672a081e" : "Diners", - "0603672a0822" : "AmericanExpress", - "0603672a0804" : "VISA", - "0603672a0805" : "MasterCard", - "0603672a08ae7b" : "Novus", - "0603672a09" : "vendor", - "0603672a0900" : "GlobeSet", - "0603672a0901" : "IBM", - "0603672a090a" : "Griffin", - "0603672a090b" : "Certicom", - "0603672a090c" : "OSS", - "0603672a090d" : "TenthMountain", - "0603672a090e" : "Antares", - "0603672a090f" : "ECC", - "0603672a0910" : "Maithean", - "0603672a0911" : "Netscape", - "0603672a0912" : "Verisign", - "0603672a0913" : "BlueMoney", - "0603672a0902" : "CyberCash", - "0603672a0914" : "Lacerte", - "0603672a0915" : "Fujitsu", - "0603672a0916" : "eLab", - "0603672a0917" : "Entrust", - "0603672a0918" : "VIAnet", - "0603672a0919" : "III", - "0603672a091a" : "OpenMarket", - "0603672a091b" : "Lexem", - "0603672a091c" : "Intertrader", - "0603672a091d" : "Persimmon", - "0603672a0903" : "Terisa", - "0603672a091e" : "NABLE", - "0603672a091f" : "espace-net", - "0603672a0920" : "Hitachi", - "0603672a0921" : "Microsoft", - "0603672a0922" : "NEC", - "0603672a0923" : "Mitsubishi", - "0603672a0924" : "NCR", - "0603672a0925" : "e-COMM", - "0603672a0926" : "Gemplus", - "0603672a0904" : "RSADSI", - "0603672a0905" : "VeriFone", - "0603672a0906" : "TrinTech", - "0603672a0907" : "BankGate", - "0603672a0908" : "GTE", - "0603672a0909" : "CompuSource", - "0603551d01" : "authorityKeyIdentifier", - "0603551d0a" : "basicConstraints", - "0603551d0b" : "nameConstraints", - "0603551d0c" : "policyConstraints", - "0603551d0d" : "basicConstraints", - "0603551d0e" : "subjectKeyIdentifier", - "0603551d0f" : "keyUsage", - "0603551d10" : "privateKeyUsagePeriod", - "0603551d11" : "subjectAltName", - "0603551d12" : "issuerAltName", - "0603551d13" : "basicConstraints", - "0603551d02" : "keyAttributes", - "0603551d14" : "cRLNumber", - "0603551d15" : "cRLReason", - "0603551d16" : "expirationDate", - "0603551d17" : "instructionCode", - "0603551d18" : "invalidityDate", - "0603551d1a" : "issuingDistributionPoint", - "0603551d1b" : "deltaCRLIndicator", - "0603551d1c" : "issuingDistributionPoint", - "0603551d1d" : "certificateIssuer", - "0603551d03" : "certificatePolicies", - "0603551d1e" : "nameConstraints", - "0603551d1f" : "cRLDistributionPoints", - "0603551d20" : "certificatePolicies", - "0603551d21" : "policyMappings", - "0603551d22" : "policyConstraints", - "0603551d23" : "authorityKeyIdentifier", - "0603551d24" : "policyConstraints", - "0603551d25" : "extKeyUsage", - "0603551d04" : "keyUsageRestriction", - "0603551d05" : "policyMapping", - "0603551d06" : "subtreesConstraint", - "0603551d07" : "subjectAltName", - "0603551d08" : "issuerAltName", - "0603551d09" : "subjectDirectoryAttributes", - "0603550400" : "objectClass", - "0603550401" : "aliasObjectName", + "06036086480186f8420109": "HomePage-url", + "06036086480186f84202": "data-type", + "06036086480186f8420201": "GIF", + "06036086480186f8420202": "JPEG", + "06036086480186f8420203": "URL", + "06036086480186f8420204": "HTML", + "06036086480186f8420205": "netscape-cert-sequence", + "06036086480186f8420206": "netscape-cert-url", + "06036086480186f84203": "directory", + "06036086480186f8420401": "serverGatedCrypto", + "06036086480186f845010603": "Unknown Verisign extension", + "06036086480186f845010606": "Unknown Verisign extension", + "06036086480186f84501070101": "Verisign certificatePolicy", + "06036086480186f8450107010101": "Unknown Verisign policy qualifier", + "06036086480186f8450107010102": "Unknown Verisign policy qualifier", + "0603678105": "TCPA", + "060367810501": "tcpaSpecVersion", + "060367810502": "tcpaAttribute", + "06036781050201": "tcpaAtTpmManufacturer", + "0603678105020a": "tcpaAtSecurityQualities", + "0603678105020b": "tcpaAtTpmProtectionProfile", + "0603678105020c": "tcpaAtTpmSecurityTarget", + "0603678105020d": "tcpaAtFoundationProtectionProfile", + "0603678105020e": "tcpaAtFoundationSecurityTarget", + "0603678105020f": "tcpaAtTpmIdLabel", + "06036781050202": "tcpaAtTpmModel", + "06036781050203": "tcpaAtTpmVersion", + "06036781050204": "tcpaAtPlatformManufacturer", + "06036781050205": "tcpaAtPlatformModel", + "06036781050206": "tcpaAtPlatformVersion", + "06036781050207": "tcpaAtComponentManufacturer", + "06036781050208": "tcpaAtComponentModel", + "06036781050209": "tcpaAtComponentVersion", + "060367810503": "tcpaProtocol", + "06036781050301": "tcpaPrttTpmIdProtocol", + "0603672a00": "contentType", + "0603672a0000": "PANData", + "0603672a0001": "PANToken", + "0603672a0002": "PANOnly", + "0603672a01": "msgExt", + "0603672a0a": "national", + "0603672a0a8140": "Japan", + "0603672a02": "field", + "0603672a0200": "fullName", + "0603672a0201": "givenName", + "0603672a020a": "amount", + "0603672a0202": "familyName", + "0603672a0203": "birthFamilyName", + "0603672a0204": "placeName", + "0603672a0205": "identificationNumber", + "0603672a0206": "month", + "0603672a0207": "date", + "0603672a02070b": "accountNumber", + "0603672a02070c": "passPhrase", + "0603672a0208": "address", + "0603672a0209": "telephone", + "0603672a03": "attribute", + "0603672a0300": "cert", + "0603672a030000": "rootKeyThumb", + "0603672a030001": "additionalPolicy", + "0603672a04": "algorithm", + "0603672a05": "policy", + "0603672a0500": "root", + "0603672a06": "module", + "0603672a07": "certExt", + "0603672a0700": "hashedRootKey", + "0603672a0701": "certificateType", + "0603672a0702": "merchantData", + "0603672a0703": "cardCertRequired", + "0603672a0704": "tunneling", + "0603672a0705": "setExtensions", + "0603672a0706": "setQualifier", + "0603672a08": "brand", + "0603672a0801": "IATA-ATA", + "0603672a081e": "Diners", + "0603672a0822": "AmericanExpress", + "0603672a0804": "VISA", + "0603672a0805": "MasterCard", + "0603672a08ae7b": "Novus", + "0603672a09": "vendor", + "0603672a0900": "GlobeSet", + "0603672a0901": "IBM", + "0603672a090a": "Griffin", + "0603672a090b": "Certicom", + "0603672a090c": "OSS", + "0603672a090d": "TenthMountain", + "0603672a090e": "Antares", + "0603672a090f": "ECC", + "0603672a0910": "Maithean", + "0603672a0911": "Netscape", + "0603672a0912": "Verisign", + "0603672a0913": "BlueMoney", + "0603672a0902": "CyberCash", + "0603672a0914": "Lacerte", + "0603672a0915": "Fujitsu", + "0603672a0916": "eLab", + "0603672a0917": "Entrust", + "0603672a0918": "VIAnet", + "0603672a0919": "III", + "0603672a091a": "OpenMarket", + "0603672a091b": "Lexem", + "0603672a091c": "Intertrader", + "0603672a091d": "Persimmon", + "0603672a0903": "Terisa", + "0603672a091e": "NABLE", + "0603672a091f": "espace-net", + "0603672a0920": "Hitachi", + "0603672a0921": "Microsoft", + "0603672a0922": "NEC", + "0603672a0923": "Mitsubishi", + "0603672a0924": "NCR", + "0603672a0925": "e-COMM", + "0603672a0926": "Gemplus", + "0603672a0904": "RSADSI", + "0603672a0905": "VeriFone", + "0603672a0906": "TrinTech", + "0603672a0907": "BankGate", + "0603672a0908": "GTE", + "0603672a0909": "CompuSource", + "0603551d01": "authorityKeyIdentifier", + "0603551d0a": "basicConstraints", + "0603551d0b": "nameConstraints", + "0603551d0c": "policyConstraints", + "0603551d0d": "basicConstraints", + "0603551d0e": "subjectKeyIdentifier", + "0603551d0f": "keyUsage", + "0603551d10": "privateKeyUsagePeriod", + "0603551d11": "subjectAltName", + "0603551d12": "issuerAltName", + "0603551d13": "basicConstraints", + "0603551d02": "keyAttributes", + "0603551d14": "cRLNumber", + "0603551d15": "cRLReason", + "0603551d16": "expirationDate", + "0603551d17": "instructionCode", + "0603551d18": "invalidityDate", + "0603551d1a": "issuingDistributionPoint", + "0603551d1b": "deltaCRLIndicator", + "0603551d1c": "issuingDistributionPoint", + "0603551d1d": "certificateIssuer", + "0603551d03": "certificatePolicies", + "0603551d1e": "nameConstraints", + "0603551d1f": "cRLDistributionPoints", + "0603551d20": "certificatePolicies", + "0603551d21": "policyMappings", + "0603551d22": "policyConstraints", + "0603551d23": "authorityKeyIdentifier", + "0603551d24": "policyConstraints", + "0603551d25": "extKeyUsage", + "0603551d04": "keyUsageRestriction", + "0603551d05": "policyMapping", + "0603551d06": "subtreesConstraint", + "0603551d07": "subjectAltName", + "0603551d08": "issuerAltName", + "0603551d09": "subjectDirectoryAttributes", + "0603550400": "objectClass", + "0603550401": "aliasObjectName", // "060355040c" : "title", - "060355040d" : "description", - "060355040e" : "searchGuide", - "060355040f" : "businessCategory", - "0603550410" : "postalAddress", - "0603550411" : "postalCode", - "0603550412" : "postOfficeBox", - "0603550413" : "physicalDeliveryOfficeName", - "0603550402" : "knowledgeInformation", + "060355040d": "description", + "060355040e": "searchGuide", + "060355040f": "businessCategory", + "0603550410": "postalAddress", + "0603550411": "postalCode", + "0603550412": "postOfficeBox", + "0603550413": "physicalDeliveryOfficeName", + "0603550402": "knowledgeInformation", // "0603550414" : "telephoneNumber", - "0603550415" : "telexNumber", - "0603550416" : "teletexTerminalIdentifier", - "0603550417" : "facsimileTelephoneNumber", - "0603550418" : "x121Address", - "0603550419" : "internationalISDNNumber", - "060355041a" : "registeredAddress", - "060355041b" : "destinationIndicator", - "060355041c" : "preferredDeliveryMehtod", - "060355041d" : "presentationAddress", - "060355041e" : "supportedApplicationContext", - "060355041f" : "member", - "0603550420" : "owner", - "0603550421" : "roleOccupant", - "0603550422" : "seeAlso", - "0603550423" : "userPassword", - "0603550424" : "userCertificate", - "0603550425" : "caCertificate", - "0603550426" : "authorityRevocationList", - "0603550427" : "certificateRevocationList", - "0603550428" : "crossCertificatePair", - "0603550429" : "givenName", + "0603550415": "telexNumber", + "0603550416": "teletexTerminalIdentifier", + "0603550417": "facsimileTelephoneNumber", + "0603550418": "x121Address", + "0603550419": "internationalISDNNumber", + "060355041a": "registeredAddress", + "060355041b": "destinationIndicator", + "060355041c": "preferredDeliveryMehtod", + "060355041d": "presentationAddress", + "060355041e": "supportedApplicationContext", + "060355041f": "member", + "0603550420": "owner", + "0603550421": "roleOccupant", + "0603550422": "seeAlso", + "0603550423": "userPassword", + "0603550424": "userCertificate", + "0603550425": "caCertificate", + "0603550426": "authorityRevocationList", + "0603550427": "certificateRevocationList", + "0603550428": "crossCertificatePair", + "0603550429": "givenName", // "060355042a" : "givenName", - "0603550405" : "serialNumber", - "0603550434" : "supportedAlgorithms", - "0603550435" : "deltaRevocationList", - "060355043a" : "crossCertificatePair", + "0603550405": "serialNumber", + "0603550434": "supportedAlgorithms", + "0603550435": "deltaRevocationList", + "060355043a": "crossCertificatePair", // "0603550409" : "streetAddress", - "06035508" : "X.500-Algorithms", - "0603550801" : "X.500-Alg-Encryption", - "060355080101" : "rsa", - "0603604c0101" : "DPC" + "06035508": "X.500-Algorithms", + "0603550801": "X.500-Alg-Encryption", + "060355080101": "rsa", + "0603604c0101": "DPC" }; diff --git a/src/core/operations/StrUtils.js b/src/core/operations/StrUtils.js index 33b00ba..698e7ee 100755 --- a/src/core/operations/StrUtils.js +++ b/src/core/operations/StrUtils.js @@ -193,17 +193,17 @@ const StrUtils = { * @constant * @default */ - FIND_REPLACE_GLOBAL : true, + FIND_REPLACE_GLOBAL: true, /** * @constant * @default */ - FIND_REPLACE_CASE : false, + FIND_REPLACE_CASE: false, /** * @constant * @default */ - FIND_REPLACE_MULTILINE : true, + FIND_REPLACE_MULTILINE: true, /** * Find / Replace operation. diff --git a/src/core/operations/Tidy.js b/src/core/operations/Tidy.js index fed5673..881508c 100755 --- a/src/core/operations/Tidy.js +++ b/src/core/operations/Tidy.js @@ -16,32 +16,32 @@ const Tidy = { * @constant * @default */ - REMOVE_SPACES : true, + REMOVE_SPACES: true, /** * @constant * @default */ - REMOVE_CARIAGE_RETURNS : true, + REMOVE_CARIAGE_RETURNS: true, /** * @constant * @default */ - REMOVE_LINE_FEEDS : true, + REMOVE_LINE_FEEDS: true, /** * @constant * @default */ - REMOVE_TABS : true, + REMOVE_TABS: true, /** * @constant * @default */ - REMOVE_FORM_FEEDS : true, + REMOVE_FORM_FEEDS: true, /** * @constant * @default */ - REMOVE_FULL_STOPS : false, + REMOVE_FULL_STOPS: false, /** * Remove whitespace operation. @@ -89,17 +89,17 @@ const Tidy = { * @constant * @default */ - APPLY_TO_EACH_LINE : false, + APPLY_TO_EACH_LINE: false, /** * @constant * @default */ - DROP_START : 0, + DROP_START: 0, /** * @constant * @default */ - DROP_LENGTH : 5, + DROP_LENGTH: 5, /** * Drop bytes operation. @@ -200,17 +200,17 @@ const Tidy = { * @constant * @default */ - PAD_POSITION : ["Start", "End"], + PAD_POSITION: ["Start", "End"], /** * @constant * @default */ - PAD_LENGTH : 5, + PAD_LENGTH: 5, /** * @constant * @default */ - PAD_CHAR : " ", + PAD_CHAR: " ", /** * Pad lines operation. diff --git a/src/web/InputWaiter.js b/src/web/InputWaiter.js index 040716b..eda090b 100755 --- a/src/web/InputWaiter.js +++ b/src/web/InputWaiter.js @@ -166,7 +166,7 @@ InputWaiter.prototype.inputDrop = function(e) { this.set(inputCharcode); const recipeConfig = this.app.getRecipeConfig(); if (!recipeConfig[0] || recipeConfig[0].op !== "From Hex") { - recipeConfig.unshift({op:"From Hex", args:["Space"]}); + recipeConfig.unshift({op: "From Hex", args: ["Space"]}); this.app.setRecipeConfig(recipeConfig); } diff --git a/src/web/index.js b/src/web/index.js index 0de4520..1dbf11d 100755 --- a/src/web/index.js +++ b/src/web/index.js @@ -38,15 +38,15 @@ function main() { ]; const defaultOptions = { - updateUrl : true, - showHighlighter : true, - treatAsUtf8 : true, - wordWrap : true, - showErrors : true, - errorTimeout : 4000, - autoBakeThreshold : 200, - attemptHighlight : true, - theme : "classic", + updateUrl: true, + showHighlighter: true, + treatAsUtf8: true, + wordWrap: true, + showErrors: true, + errorTimeout: 4000, + autoBakeThreshold: 200, + attemptHighlight: true, + theme: "classic", }; document.removeEventListener("DOMContentLoaded", main, false); diff --git a/test/tests/operations/Compress.js b/test/tests/operations/Compress.js index 41046b4..48f1de8 100644 --- a/test/tests/operations/Compress.js +++ b/test/tests/operations/Compress.js @@ -14,12 +14,12 @@ TestRegister.addTests([ expectedOutput: "The cat sat on the mat.", recipeConfig: [ { - "op" : "From Hex", - "args" : ["Space"] + "op": "From Hex", + "args": ["Space"] }, { - "op" : "Bzip2 Decompress", - "args" : [] + "op": "Bzip2 Decompress", + "args": [] } ], }, diff --git a/test/tests/operations/FlowControl.js b/test/tests/operations/FlowControl.js index 4ade169..42a4bfd 100644 --- a/test/tests/operations/FlowControl.js +++ b/test/tests/operations/FlowControl.js @@ -59,11 +59,11 @@ TestRegister.addTests([ input: "Some data with a 1 in it\nSome data with a 2 in it", expectedOutput: "U29tZSBkYXRhIHdpdGggYSAxIGluIGl0\n53 6f 6d 65 20 64 61 74 61 20 77 69 74 68 20 61 20 32 20 69 6e 20 69 74\n", recipeConfig: [ - {"op":"Fork", "args":["\\n", "\\n", false]}, - {"op":"Conditional Jump", "args":["1", "2", "10"]}, - {"op":"To Hex", "args":["Space"]}, - {"op":"Return", "args":[]}, - {"op":"To Base64", "args":["A-Za-z0-9+/="]} + {"op": "Fork", "args": ["\\n", "\\n", false]}, + {"op": "Conditional Jump", "args": ["1", "2", "10"]}, + {"op": "To Hex", "args": ["Space"]}, + {"op": "Return", "args": []}, + {"op": "To Base64", "args": ["A-Za-z0-9+/="]} ] }, {