1 | <?php |
||
18 | class UniformResourceIdentifier extends GeneralName |
||
19 | { |
||
20 | /** |
||
21 | * URI. |
||
22 | * |
||
23 | * @var string $_uri |
||
24 | */ |
||
25 | protected $_uri; |
||
26 | |||
27 | /** |
||
28 | * Constructor. |
||
29 | * |
||
30 | * @param string $uri |
||
31 | */ |
||
32 | 62 | public function __construct(string $uri) |
|
37 | |||
38 | /** |
||
39 | * |
||
40 | * @param UnspecifiedType $el |
||
41 | * @return self |
||
42 | */ |
||
43 | 34 | public static function fromChosenASN1(UnspecifiedType $el): self |
|
47 | |||
48 | /** |
||
49 | * |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | 15 | public function string(): string |
|
56 | |||
57 | /** |
||
58 | * Get URI. |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | 5 | public function uri(): string |
|
66 | |||
67 | /** |
||
68 | * |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | 53 | protected function _choiceASN1(): TaggedType |
|
75 | } |
||
76 |