summaryrefslogtreecommitdiffstats
path: root/base/common/python
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2017-02-01 16:30:50 +1000
committerFraser Tweedale <ftweedal@redhat.com>2017-02-08 12:24:00 +1000
commit979b6a2da433e97c1ada6434b432aa4aabc47ab5 (patch)
tree63795eb61d128b2cb1fd7b7812f55ad46cf8dc8c /base/common/python
parenta67816eebbed2332327fbf391f3e23223ee7690e (diff)
downloadpki-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')
0 files changed, 0 insertions, 0 deletions