MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / create

Method create

opcua/ua/uaprotocol_hand.py:261–265  ·  view source on GitHub ↗
(self, peer_certificate)

Source from the content-addressed store, hash-verified

259 return self.cls.URI == uri and (mode is None or self.mode == mode)
260
261 def create(self, peer_certificate):
262 if self.cls is SecurityPolicy:
263 return self.cls()
264 else:
265 return self.cls(peer_certificate, self.certificate, self.private_key, self.mode)
266
267
268class Message(object):

Callers 1

select_policyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected