[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * This file is part of the PHPASN1 library. 4 * 5 * Copyright © Friedrich Große <[email protected]> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 namespace FG\ASN1\Composite; 12 13 use FG\ASN1\Universal\PrintableString; 14 use FG\ASN1\Universal\IA5String; 15 use FG\ASN1\Universal\UTF8String; 16 17 class RDNString extends RelativeDistinguishedName 18 { 19 /** 20 * @param string|\FG\ASN1\Universal\ObjectIdentifier $objectIdentifierString 21 * @param string|\FG\ASN1\ASNObject $value 22 */ 23 public function __construct($objectIdentifierString, $value) 24 { 25 if (PrintableString::isValid($value)) { 26 $value = new PrintableString($value); 27 } else { 28 if (IA5String::isValid($value)) { 29 $value = new IA5String($value); 30 } else { 31 $value = new UTF8String($value); 32 } 33 } 34 35 parent::__construct($objectIdentifierString, $value); 36 } 37 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |