CoreFiles by mySites.guru
StateOrProvinceNameValue.php21 lines, 657 bytes, from Joomla_6.1.0-beta2-Beta-Full_Package.zip
Raw History Compare with 6.1.0-beta1
md5
6d055d6dd6ddc2315a165a7395699fb8
sha1
9e785b3455c0e07c296a564fe38abecb85eae587
sha256
a60335ca74d68768c9f0e58e5bad518f5fc1d550dbe61370b5078eb2d1b61a34
<?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;

/**
 * 'stateOrProvinceName' attribute value.
 *
 * @see https://www.itu.int/ITU-T/formal-language/itu-t/x/x520/2012/SelectedAttributeTypes.html#SelectedAttributeTypes.stateOrProvinceName
 */
final class StateOrProvinceNameValue extends DirectoryString
{
    public static function create(string $value, int $string_tag = DirectoryString::UTF8): static
    {
        return new static(AttributeType::OID_STATE_OR_PROVINCE_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.