This function enumerates the Name OIDs for the subject and the issuer. The results are added to the cert_object
(self, cert_object, names, source)
| 503 | cert_object[name].append(value) |
| 504 | |
| 505 | def __get_dn_values(self, cert_object, names, source): |
| 506 | """ |
| 507 | This function enumerates the Name OIDs for the subject and the issuer. |
| 508 | The results are added to the cert_object |
| 509 | """ |
| 510 | oid_names = [] |
| 511 | for p in dir(NameOID): |
| 512 | if not p.startswith("__"): |
| 513 | oid_names.append(p) |
| 514 | |
| 515 | for entry in names: |
| 516 | for oid in oid_names: |
| 517 | if entry.oid == getattr(NameOID, oid): |
| 518 | self.__add_co_array_value( |
| 519 | cert_object, source + "_" + oid.lower(), entry.value |
| 520 | ) |
| 521 | continue |
| 522 | |
| 523 | def __get_signature_algorithm(self, cert_object, sig_oid): |
| 524 | """ |
no test coverage detected