ssl 930 B

1234567891011121314151617181920
  1. #------------------------------------------------------------------------------
  2. # $File: ssl,v 1.4 2017/01/22 21:14:25 christos Exp $
  3. # ssl: file(1) magic for SSL file formats
  4. # Type: OpenSSL certificates/key files
  5. # From: Nicolas Collignon <tsointsoin@gmail.com>
  6. 0 string -----BEGIN\040CERTIFICATE----- PEM certificate
  7. 0 string -----BEGIN\040CERTIFICATE\040REQ PEM certificate request
  8. 0 string -----BEGIN\040RSA\040PRIVATE PEM RSA private key
  9. 0 string -----BEGIN\040DSA\040PRIVATE PEM DSA private key
  10. 0 string -----BEGIN\040EC\040PRIVATE PEM EC private key
  11. 0 string -----BEGIN\040ECDSA\040PRIVATE PEM ECDSA private key
  12. # From Luc Gommans
  13. # OpenSSL enc file (recognized by a magic string preceding the password's salt)
  14. 0 string Salted__ openssl enc'd data with salted password
  15. # Using the -a or -base64 option, OpenSSL will base64-encode the data.
  16. 0 string U2FsdGVkX19 openssl enc'd data with salted password, base64 encoded