CoreFiles by mySites.guru
OrganizationalUnitNameValue.php21 lines, 668 bytes, from Joomla_5.2.3-Stable-Full_Package.zip
Raw History Compare with 5.2.2
md5
5d8371648f6826e25bdd9008839e4acb
sha1
5b200ce5ed6157c244b1f936161a91399dff4606
sha256
178ec48b8b2e72230d8a7f42a2d08fcd7a58f630cfd2c55447b2446cd47c87f5
<?php

declare(strict_types=1);

namespace SpomkyLabs\Pki\X501\ASN1\AttributeValue;

use SpomkyLabs\Pki\X501\ASN1\AttributeType;
use SpomkyLabs\Pki\X501\ASN1\AttributeValue\Feature\DirectoryString;

/**
 * 'organizationalUnitName' attribute value.
 *
 * @see https://www.itu.int/ITU-T/formal-language/itu-t/x/x520/2012/SelectedAttributeTypes.html#SelectedAttributeTypes.organizationalUnitName
 */
final class OrganizationalUnitNameValue extends DirectoryString
{
    public static function create(string $value, int $string_tag = DirectoryString::UTF8): static
    {
        return new static(AttributeType::OID_ORGANIZATIONAL_UNIT_NAME, $value, $string_tag);
    }
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.