1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-12 09:09:50 +01:00
tgseclib/phpseclib/File/ASN1/Element.php

48 lines
870 B
PHP
Raw Normal View History

<?php
/**
2014-12-03 17:57:41 +01:00
* Pure-PHP ASN.1 Parser
*
2015-04-02 12:57:52 +02:00
* PHP version 5
2014-12-03 17:57:41 +01:00
*
* @category File
2014-12-10 01:53:05 +01:00
* @package ASN1
* @author Jim Wigginton <terrafrost@php.net>
* @copyright 2012 Jim Wigginton
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link http://phpseclib.sourceforge.net
*/
2014-12-10 01:53:05 +01:00
namespace phpseclib\File\ASN1;
/**
* ASN.1 Element
*
2014-12-10 01:53:05 +01:00
* Bypass normal encoding rules in phpseclib\File\ASN1::encodeDER()
*
2014-12-10 01:53:05 +01:00
* @package ASN1
* @author Jim Wigginton <terrafrost@php.net>
* @access public
*/
2014-12-10 01:53:05 +01:00
class Element
{
/**
* Raw element value
*
* @var string
* @access private
*/
var $element;
/**
* Constructor
*
* @param string $encoded
2014-12-10 01:53:05 +01:00
* @return \phpseclib\File\ASN1\Element
* @access public
*/
function __construct($encoded)
{
$this->element = $encoded;
}
2014-12-02 04:28:02 +01:00
}