diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2017-02-01 16:17:51 +1000 |
|---|---|---|
| committer | Fraser Tweedale <ftweedal@redhat.com> | 2017-02-08 12:24:00 +1000 |
| commit | 225dd099efa7e2f752c3f50157aaec71a9834873 (patch) | |
| tree | b4abbd817d0aa9a7d07f05c74b710091e07b59ec /base/common/python | |
| parent | f371114134ee3b6a83b747eecf46e001080b1e9c (diff) | |
| download | pki-225dd099efa7e2f752c3f50157aaec71a9834873.tar.gz pki-225dd099efa7e2f752c3f50157aaec71a9834873.tar.xz pki-225dd099efa7e2f752c3f50157aaec71a9834873.zip | |
GeneralName: add method to get at inner value
The 'GeneralNameInterface' interface represents a single X.509
General Name value. Various types are supported. The 'GeneralName'
class (which also implements 'GeneralNameInterface') is a singleton
container for another 'GeneralNameInterface' value.
To implement a profile component that copies CN to a SAN dNSName, we
need to examine existing General Names in the SAN extension (if
present), to avoid duplicate values. We can iterate 'GeneralNames',
but if the value is of type 'GeneralName' we need a way to "unwrap"
the value, down to the innermost value which will be of a specific
General Name type.
Add the 'unwrap' method to 'GeneralName'.
Part of: https://fedorahosted.org/pki/ticket/1710
Diffstat (limited to 'base/common/python')
0 files changed, 0 insertions, 0 deletions
