1<?php 2 3/** 4 * netscape_cert_type 5 * 6 * PHP version 5 7 * 8 * @author Jim Wigginton <terrafrost@php.net> 9 * @copyright 2016 Jim Wigginton 10 * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 * @link http://phpseclib.sourceforge.net 12 */ 13 14namespace phpseclib3\File\ASN1\Maps; 15 16use phpseclib3\File\ASN1; 17 18/** 19 * netscape_cert_type 20 * 21 * mapping is from <http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn3.html> 22 * 23 * @author Jim Wigginton <terrafrost@php.net> 24 */ 25abstract class netscape_cert_type 26{ 27 const MAP = [ 28 'type' => ASN1::TYPE_BIT_STRING, 29 'mapping' => [ 30 'SSLClient', 31 'SSLServer', 32 'Email', 33 'ObjectSigning', 34 'Reserved', 35 'SSLCA', 36 'EmailCA', 37 'ObjectSigningCA' 38 ] 39 ]; 40} 41