[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Pure-PHP ASN.1 Parser 4 * 5 * PHP version 5 6 * 7 * @category File 8 * @package ASN1 9 * @author Jim Wigginton <terrafrost@php.net> 10 * @copyright 2012 Jim Wigginton 11 * @license http://www.opensource.org/licenses/mit-license.html MIT License 12 * @link http://phpseclib.sourceforge.net 13 */ 14 15 namespace phpseclib\File\ASN1; 16 17 /** 18 * ASN.1 Element 19 * 20 * Bypass normal encoding rules in phpseclib\File\ASN1::encodeDER() 21 * 22 * @package ASN1 23 * @author Jim Wigginton <terrafrost@php.net> 24 * @access public 25 */ 26 class Element 27 { 28 /** 29 * Raw element value 30 * 31 * @var string 32 * @access private 33 */ 34 var $element; 35 36 /** 37 * Constructor 38 * 39 * @param string $encoded 40 * @return \phpseclib\File\ASN1\Element 41 * @access public 42 */ 43 function __construct($encoded) 44 { 45 $this->element = $encoded; 46 } 47 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body