mirror of
https://github.com/FreeOpcUa/opcua-asyncio
synced 2025-10-29 17:07:18 +08:00
add cert chain load method to sync client
This commit is contained in:
committed by
oroulet
parent
3d3aba5178
commit
6c90a54288
@@ -8,6 +8,7 @@ import asyncio
|
||||
from datetime import datetime
|
||||
import functools
|
||||
import sys
|
||||
from asyncua.crypto import uacrypto
|
||||
from cryptography import x509
|
||||
from pathlib import Path
|
||||
from threading import Thread, Condition
|
||||
@@ -314,6 +315,10 @@ class Client:
|
||||
def load_client_certificate(self, path: str, extension: Optional[str] = None) -> None:
|
||||
pass
|
||||
|
||||
@syncmethod
|
||||
def load_client_chain(self, certs: Iterable[uacrypto.CertProperties]) -> None:
|
||||
...
|
||||
|
||||
@syncmethod
|
||||
def load_type_definitions(self, nodes=None):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user