README
changeset 0 f37ff08522ed
child 1 1052e4853b1e
equal deleted inserted replaced
-1:000000000000 0:f37ff08522ed
       
     1 ABOUT
       
     2 --------------------------------------------------------------------------------
       
     3 This Plugin is intended to fold every single Cert in a PEM Certificat.
       
     4 
       
     5 It will match on these filename extensions for X.509 certificates:
       
     6 
       
     7     .pem – (Privacy-enhanced Electronic Mail) Base64 encoded DER certificate,
       
     8            enclosed between "-----BEGIN CERTIFICATE-----" and
       
     9            "-----END CERTIFICATE-----"
       
    10     .p12 – PKCS#12, may contain certificate(s) (public) and private keys
       
    11            (password protected)
       
    12     .pfx – PFX, predecessor of PKCS#12 (usually contains data in PKCS#12 
       
    13            format, e.g., with PFX files generated in IIS)
       
    14     .cer, .crt, .der – usually in binary DER form, but Base64-encoded
       
    15                        certificates are common too (see .pem above)
       
    16     .p7b, .p7c – PKCS#7 SignedData structure without data, just certificate(s)
       
    17                  or CRL(s)
       
    18     (origin: https://en.wikipedia.org/wiki/X.509)
       
    19 and also PEM Certificates with no file-ending.
       
    20 
       
    21 These days it only fold lines matching ^-----B, maybe when there is enough time,
       
    22 it'll also fold at these places. Intendet foldlevels [n]
       
    23 
       
    24     Certificate [1]
       
    25         Version [2]
       
    26         Serial Number [2]
       
    27         Algorithm ID [2]
       
    28         Issuer [2]
       
    29         Validity [2]
       
    30             Not Before [3]
       
    31             Not After [3]
       
    32         Subject [2]
       
    33         Subject Public Key Info [2]
       
    34             Public Key Algorithm [2]
       
    35             Subject Public Key [2]
       
    36         Issuer Unique Identifier (optional) [2]
       
    37         Subject Unique Identifier (optional) [2]
       
    38         Extensions (optional) [2]
       
    39             ...
       
    40     Certificate Signature Algorithm [1||2]
       
    41     Certificate Signature [1||2]
       
    42 
       
    43 
       
    44 
       
    45 INSTALLATION
       
    46 --------------------------------------------------------------------------------
       
    47 If you use pathogen Plugin for vim, put the entire folder in your ~/.vim/bundle.
       
    48 If you don't use pathogen Plugin, you have to do it - back to the roots -
       
    49 adjust your vim runtimepath (see :help 'runtimepath') and put the files in a
       
    50 location recodnized by your runtimepath. Or just install pathogen, it makes it
       
    51 much easier to update your plugins. 
       
    52 
       
    53 Installing Pathogen Plugin is quiet easy, just enter:
       
    54 
       
    55 mkdir -p ~/.vim/autoload ~/.vim/bundle
       
    56 curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
       
    57 
       
    58 for more information visit: 
       
    59 http://www.vim.org/scripts/script.php?script_id=2332
       
    60 
       
    61 RFC
       
    62 --------------------------------------------------------------------------------
       
    63 For more information about X-509 Certificates read the RFC:
       
    64 https://tools.ietf.org/html/rfc5280
       
    65 
       
    66 ================================================================================
       
    67 ================================================================================
       
    68 
       
    69 LICENCE
       
    70 --------------------------------------------------------------------------------
       
    71 This vim-plugin is intendet to fold Certs in PEM files
       
    72 Copyright (C) 2015  Heike Yvonne Pesch 
       
    73                     heike.dasinci.pesch@googlemail.com
       
    74 
       
    75 This program is free software: you can redistribute it and/or modify
       
    76 it under the terms of the GNU General Public License as published by
       
    77 the Free Software Foundation, either version 3 of the License, or
       
    78 (at your option) any later version.
       
    79 
       
    80 This program is distributed in the hope that it will be useful,
       
    81 but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    82 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    83 GNU General Public License for more details.
       
    84 
       
    85 You should have received a copy of the GNU General Public License
       
    86 along with this program.  If not, see <http://www.gnu.org/licenses/>.
       
    87 
       
    88 This vim-plugin is intendet to fold Certs in PEM files
       
    89 Copyright (C) 2015  Heike Yvonne Pesch
       
    90 
       
    91 This program is free software: you can redistribute it and/or modify
       
    92 it under the terms of the GNU General Public License as published by
       
    93 the Free Software Foundation, either version 3 of the License, or
       
    94 (at your option) any later version.
       
    95 
       
    96 This program is distributed in the hope that it will be useful,
       
    97 but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    98 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    99 GNU General Public License for more details.
       
   100 
       
   101 You should have received a copy of the GNU General Public License
       
   102 along with this program.  If not, see <http://www.gnu.org/licenses/>.
       
   103