| 1 | <?php |
||
| 17 | class RFC822Name extends GeneralName |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Email. |
||
| 21 | * |
||
| 22 | * @var string $_email |
||
| 23 | */ |
||
| 24 | protected $_email; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Constructor. |
||
| 28 | * |
||
| 29 | * @param string $email |
||
| 30 | */ |
||
| 31 | 11 | public function __construct(string $email) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * |
||
| 39 | * @param UnspecifiedType $el |
||
| 40 | * @return self |
||
| 41 | */ |
||
| 42 | 9 | public static function fromChosenASN1(UnspecifiedType $el): self |
|
| 46 | |||
| 47 | /** |
||
| 48 | * |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | 1 | public function string(): string |
|
| 55 | |||
| 56 | /** |
||
| 57 | * Get email. |
||
| 58 | * |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | 2 | public function email(): string |
|
| 65 | |||
| 66 | /** |
||
| 67 | * |
||
| 68 | * {@inheritdoc} |
||
| 69 | */ |
||
| 70 | 16 | protected function _choiceASN1(): TaggedType |
|
| 74 | } |
||
| 75 |