1<?php 2 3/** 4 * BuiltInStandardAttributes 5 * 6 * PHP version 5 7 * 8 * @author Jim Wigginton <terrafrost@php.net> 9 * @copyright 2016 Jim Wigginton 10 * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 * @link http://phpseclib.sourceforge.net 12 */ 13 14namespace phpseclib3\File\ASN1\Maps; 15 16use phpseclib3\File\ASN1; 17 18/** 19 * BuiltInStandardAttributes 20 * 21 * @author Jim Wigginton <terrafrost@php.net> 22 */ 23abstract class BuiltInStandardAttributes 24{ 25 const MAP = [ 26 'type' => ASN1::TYPE_SEQUENCE, 27 'children' => [ 28 'country-name' => ['optional' => true] + CountryName::MAP, 29 'administration-domain-name' => ['optional' => true] + AdministrationDomainName::MAP, 30 'network-address' => [ 31 'constant' => 0, 32 'optional' => true, 33 'implicit' => true 34 ] + NetworkAddress::MAP, 35 'terminal-identifier' => [ 36 'constant' => 1, 37 'optional' => true, 38 'implicit' => true 39 ] + TerminalIdentifier::MAP, 40 'private-domain-name' => [ 41 'constant' => 2, 42 'optional' => true, 43 'explicit' => true 44 ] + PrivateDomainName::MAP, 45 'organization-name' => [ 46 'constant' => 3, 47 'optional' => true, 48 'implicit' => true 49 ] + OrganizationName::MAP, 50 'numeric-user-identifier' => [ 51 'constant' => 4, 52 'optional' => true, 53 'implicit' => true 54 ] + NumericUserIdentifier::MAP, 55 'personal-name' => [ 56 'constant' => 5, 57 'optional' => true, 58 'implicit' => true 59 ] + PersonalName::MAP, 60 'organizational-unit-names' => [ 61 'constant' => 6, 62 'optional' => true, 63 'implicit' => true 64 ] + OrganizationalUnitNames::MAP 65 ] 66 ]; 67} 68