diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2017-02-01 16:30:50 +1000 |
|---|---|---|
| committer | Fraser Tweedale <ftweedal@redhat.com> | 2017-02-08 12:24:00 +1000 |
| commit | 979b6a2da433e97c1ada6434b432aa4aabc47ab5 (patch) | |
| tree | 63795eb61d128b2cb1fd7b7812f55ad46cf8dc8c /base/common/python/setup.py | |
| parent | a67816eebbed2332327fbf391f3e23223ee7690e (diff) | |
| download | pki-979b6a2da433e97c1ada6434b432aa4aabc47ab5.tar.gz pki-979b6a2da433e97c1ada6434b432aa4aabc47ab5.tar.xz pki-979b6a2da433e97c1ada6434b432aa4aabc47ab5.zip | |
X500Name: add method to get all attributes of a given type
To implement a profile default that copies the CN to a SAN dNSName,
we need to examine the CN values present in the Subject DN.
Specifically, we want to look at the "most specific" CN value. The
'getCommonName' method returns the "least specific" value in the
name, thus is not suitable.
Add the 'getAttributesForOid(ObjectIdentifier)' method, which
returns an ordered list of values of the given name attribute type,
from least specific to most specific.
Part of: https://fedorahosted.org/pki/ticket/1710
Diffstat (limited to 'base/common/python/setup.py')
0 files changed, 0 insertions, 0 deletions
