Subversion Repositories oidplus

Rev

Rev 1169 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1169 Rev 1207
Line 37... Line 37...
37
  *     255 digits (OIDs 251 digits)
37
  *     255 digits (OIDs 251 digits)
38
  *
38
  *
39
  * Which value is realistic?
39
  * Which value is realistic?
40
  *     In the oid-info.com database (April 2020), the OID with the greatest size is 65 characters (dot notation)
40
  *     In the oid-info.com database (April 2020), the OID with the greatest size is 65 characters (dot notation)
41
  *
41
  *
42
  * Maximal value:
42
  * Maximum value:
43
  *     OIDs may only have a size of max 251 characters in dot notation.
43
  *     OIDs may only have a size of max 251 characters in dot notation.
44
  *     Reason: The field defintion of *_objects.oid is defined as varchar(255),
44
  *     Reason: The field defintion of *_objects.oid is defined as varchar(255),
45
  *             and the OID will have the prefix 'oid:' (4 bytes).
45
  *             and the OID will have the prefix 'oid:' (4 bytes).
46
  *     You can increase the limit by changing the field definition in the database.
46
  *     You can increase the limit by changing the field definition in the database.
47
  **/
47
  **/
Line 53... Line 53...
53
  * LIMITS_MAX_OID_ASN1_ID_LEN
53
  * LIMITS_MAX_OID_ASN1_ID_LEN
54
  *
54
  *
55
  * Default value:
55
  * Default value:
56
  *     255 characters
56
  *     255 characters
57
  *
57
  *
58
  * Maximal value:
58
  * Maximum value:
59
  *     255, as defined in the database fields *_asn1id.name
59
  *     255, as defined in the database fields *_asn1id.name
60
  *     You can change the database field definition if you really need more.
60
  *     You can change the database field definition if you really need more.
61
  **/
61
  **/
62
OIDplus::baseConfig()->setValue('LIMITS_MAX_OID_ASN1_ID_LEN', 255);
62
OIDplus::baseConfig()->setValue('LIMITS_MAX_OID_ASN1_ID_LEN', 255);
63
 
63
 
Line 67... Line 67...
67
  * LIMITS_MAX_OID_UNICODE_LABEL_LEN
67
  * LIMITS_MAX_OID_UNICODE_LABEL_LEN
68
  *
68
  *
69
  * Default value:
69
  * Default value:
70
  *     255 bytes (UTF-8 encoded!)
70
  *     255 bytes (UTF-8 encoded!)
71
  *
71
  *
72
  * Maximal value:
72
  * Maximum value:
73
  *     255, as defined in the database fields *_iri.name
73
  *     255, as defined in the database fields *_iri.name
74
  *     You can change the database field definition if you really need more.
74
  *     You can change the database field definition if you really need more.
75
  **/
75
  **/
76
OIDplus::baseConfig()->setValue('LIMITS_MAX_OID_UNICODE_LABEL_LEN', 255);
76
OIDplus::baseConfig()->setValue('LIMITS_MAX_OID_UNICODE_LABEL_LEN', 255);
77
 
77