(dtm)
| 804 | |
| 805 | |
| 806 | def parse_x509_dtm(dtm): |
| 807 | if type(dtm) == bytes: |
| 808 | dtm = dtm.decode('utf-8') |
| 809 | # Fmt: YYYYMMDDhhmmssZ |
| 810 | t = time.strptime(dtm, '%Y%m%d%H%M%SZ') |
| 811 | return time.strftime('%Y-%m-%d %H:%M:%S', t) |
| 812 | |
| 813 | |
| 814 | def render_x509_object(n): |
no outgoing calls
no test coverage detected