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

Method load_certificate

opcua/server/server.py:134–138  ·  view source on GitHub ↗

load server certificate from file, either pem or der

(self, path)

Source from the content-addressed store, hash-verified

132 return self.iserver.local_discovery_service
133
134 def load_certificate(self, path):
135 """
136 load server certificate from file, either pem or der
137 """
138 self.certificate = uacrypto.load_certificate(path)
139
140 def load_private_key(self, path):
141 self.private_key = uacrypto.load_private_key(path)

Callers 5

uaserverFunction · 0.95
set_securityMethod · 0.80
setUpClassMethod · 0.80

Calls

no outgoing calls

Tested by 1

setUpClassMethod · 0.64