CoreFiles by mySites.guru
GivenNameValue.php21 lines, 615 bytes, from Joomla_5.4.2-Stable-Full_Package.zip
Raw History Compare with 5.4.1
md5
9a0c8eda2fd4120aea7ff0db98d29368
sha1
01dd9847a7ca788416b210e725bf9aa1f8573ca8
sha256
5a7fe43190f15ac815f5776ba120aefa44daaeac4732c1a3f9e2d59a6a57bb70
<?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;

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