def get_dtls_cipher_list(self, dtls_version):
"""Returns list of cipher suites available for protocol version, saves in parameter dtls_protocol.
Args:
dtls_protocol (str):.
"""
cnx = SSL.Context(dtls_version)
cnx.set_cipher_list('ALL:COMPLEMENTOFALL')
conn = SSL.Connection(cnx, socket.socket(socket.AF_INET,socket.SOCK_DGRAM))
return conn.get_cipher_list()
LuckyThirteen_vulnerability_tester_plugin.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录