method
add_entry
v2_6_3 -
Show latest stable
-
0 notes -
Class: Name
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (0)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (33)
- 2_6_3 (0)
- What's this?
add_entry(p1, p2, p3 = v3, p4 = {})
public
Adds a new entry with the given oid and value to this name. The oid is an object identifier defined in ASN.1. Some common OIDs are:
C |
Country Name |
CN |
Common Name |
DC |
Domain Component |
O |
Organization Name |
OU |
|
ST |
The optional keyword parameters loc and set specify where to insert the new attribute. Refer to the manpage of X509_NAME_add_entry(3) for details. loc defaults to -1 and set defaults to 0. This appends a single-valued RDN to the end.