connectionMadeintwistedreturnsでgetPeerCertificateを呼び出すなし何ができますか
class Handler(Protocol):
def dataReceived(self, data):
print self.transport.getPeerCertificate().get_subject().commonName
def connectionMade(self):
print self.transport.getPeerCertificate().get_subject().commonName