Extending Attribute Support
121
Attribute
Value Type
Object Identifier
unstructuredaddress
PrintableString
1.2.840.113549.1.9.8
Table 4.3. Allowed Characters for Value Types
4.12.1. Extending Attribute Support
By default, the Certificate System supports the attributes identified in
Table 4.3, “Allowed Characters
for Value Types”
. This list of supported attributes can be extended by creating or adding new
attributes. The syntax for adding additional
X.500Name
attributes, or components, is as follows:
X500Name.
NEW_ATTRNAME
.oid=
n.n.n.n
X500Name.
NEW_ATTRNAME
.class=
string_to_DER_value_converter_class
The value converter class converts a string to an ASN.1 value; this class must implement the
netscape.security.x509.AVAValueConverter
interface. The string-to-value converter class
can be one of the following:
•
netscape.security.x509.PrintableConverter
converts a string to a
PrintableString
value. The string must have only printable characters.
•
netscape.security.x509.IA5StringConverter
converts a string to an
IA5String
value.
The string must have only IA5String characters.
•
netscape.security.x509.DirStrConverter
converts a string to a
DirectoryString
. The
string is expected to be in
DirectoryString
format according to RFC 2253.
•
netscape.security.x509.GenericValueConverter
converts a string character by character
in the following order, from the smallest characterset to the largest:
• Printable
• IA5String
• BMPString
• Universal String
An attribute entry looks like the following:
X500Name.MY_ATTR.oid=1.2.3.4.5.6
X500Name.MY_ATTR.class=netscape.security.x509.DirStrConverter
4.12.1.1. Adding New or Proprietary Attributes
To add a new or proprietary attribute to the Certificate System schema, do the following:
1. Stop the Certificate Manager.
/etc/init.d/rhpki-ca stop
2. Open the
/var/lib/rhpki-ca/conf
directory.
Summary of Contents for CERTIFICATE SYSTEM 7.2 - MIGRATION GUIDE
Page 36: ...Chapter 1 Overview 16 Figure 1 4 Certificate System Architecture ...
Page 144: ...124 ...
Page 160: ...140 ...
Page 208: ...188 ...
Page 210: ...190 ...
Page 256: ...236 ...
Page 282: ...Chapter 12 Certificate Profiles 262 Parameter IssuerName_n IssuerType_n ...
Page 285: ...Freshest CRL Extension Default 265 Parameter PointName_n PointIssuerName_n ...
Page 362: ...342 ...
Page 376: ...356 ...
Page 436: ...416 ...
Page 490: ...470 ...
Page 504: ...484 ...