MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / keyTypeToString

Function keyTypeToString

dshell/plugins/ssl/tls.py:795–803  ·  view source on GitHub ↗
(kt)

Source from the content-addressed store, hash-verified

793# Some Utility Functions
794##############################################################################
795def keyTypeToString(kt):
796 global keytypes
797 if kt in keytypes:
798 return keytypes[kt]
799 else:
800 try:
801 return "UNKNOWN(%s)" % str(kt)
802 except:
803 return "UNKNOWN(%s)" % repr(kt)
804
805
806def parse_x509_dtm(dtm):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected