"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/sshpk/node_modules/asn1/lib/ber/types.js" (7 Feb 2017, 638 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Javascript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
    2 
    3 
    4 module.exports = {
    5   EOC: 0,
    6   Boolean: 1,
    7   Integer: 2,
    8   BitString: 3,
    9   OctetString: 4,
   10   Null: 5,
   11   OID: 6,
   12   ObjectDescriptor: 7,
   13   External: 8,
   14   Real: 9, // float
   15   Enumeration: 10,
   16   PDV: 11,
   17   Utf8String: 12,
   18   RelativeOID: 13,
   19   Sequence: 16,
   20   Set: 17,
   21   NumericString: 18,
   22   PrintableString: 19,
   23   T61String: 20,
   24   VideotexString: 21,
   25   IA5String: 22,
   26   UTCTime: 23,
   27   GeneralizedTime: 24,
   28   GraphicString: 25,
   29   VisibleString: 26,
   30   GeneralString: 28,
   31   UniversalString: 29,
   32   CharacterString: 30,
   33   BMPString: 31,
   34   Constructor: 32,
   35   Context: 128
   36 };