コード例 #1
0
 def set_tlsext_host_name(self, name):
     # type: (bytes) -> None
     """Set the requested hostname for the SNI (Server Name Indication)
     extension.
     """
     m2.ssl_set_tlsext_host_name(self.ssl, name)
コード例 #2
0
ファイル: Connection.py プロジェクト: mcepl/M2Crypto
 def set_tlsext_host_name(self, name):
     # type: (bytes) -> None
     """Set the requested hostname for the SNI (Server Name Indication)
     extension.
     """
     m2.ssl_set_tlsext_host_name(self.ssl, name)
コード例 #3
0
ファイル: Connection.py プロジェクト: Hypernode/M2Crypto
 def set_tlsext_host_name(self, name):
     "Set the requested hostname for the SNI (Server Name Indication) extension"
     m2.ssl_set_tlsext_host_name(self.ssl, name)
コード例 #4
0
 def set_tlsext_host_name(self, name):
     "Set the requested hostname for the SNI (Server Name Indication) extension"
     m2.ssl_set_tlsext_host_name(self.ssl, name)