| 1 | <?php  | 
            ||
| 18 | class OtherName extends GeneralName  | 
            ||
| 19 | { | 
            ||
| 20 | /**  | 
            ||
| 21 | * Type OID.  | 
            ||
| 22 | *  | 
            ||
| 23 | * @var string $_type  | 
            ||
| 24 | */  | 
            ||
| 25 | protected $_type;  | 
            ||
| 26 | |||
| 27 | /**  | 
            ||
| 28 | * Value.  | 
            ||
| 29 | *  | 
            ||
| 30 | * @var Element $_element  | 
            ||
| 31 | */  | 
            ||
| 32 | protected $_element;  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * Constructor  | 
            ||
| 36 | *  | 
            ||
| 37 | * @param string $type_id OID  | 
            ||
| 38 | * @param Element $el  | 
            ||
| 39 | */  | 
            ||
| 40 | 6 | 	public function __construct($type_id, Element $el) { | 
            |
| 45 | |||
| 46 | /**  | 
            ||
| 47 | *  | 
            ||
| 48 | * @param UnspecifiedType $el  | 
            ||
| 49 | * @return self  | 
            ||
| 50 | */  | 
            ||
| 51 | 5 | 	public static function fromChosenASN1(UnspecifiedType $el) { | 
            |
| 61 | |||
| 62 | 1 | 	public function string() { | 
            |
| 65 | |||
| 66 | /**  | 
            ||
| 67 | * Get type OID.  | 
            ||
| 68 | *  | 
            ||
| 69 | * @return string  | 
            ||
| 70 | */  | 
            ||
| 71 | 1 | 	public function type() { | 
            |
| 74 | |||
| 75 | /**  | 
            ||
| 76 | * Get value element.  | 
            ||
| 77 | *  | 
            ||
| 78 | * @return Element  | 
            ||
| 79 | */  | 
            ||
| 80 | 1 | 	public function value() { | 
            |
| 83 | |||
| 84 | 2 | 	protected function _choiceASN1() { | 
            |
| 89 | }  | 
            ||
| 90 |