Skip to content

Commit 7b9685f

Browse files
committed
fix(services): Fix Incorrect call 'DeleteKey' in CreatePKCS10CSR (#1)
1 parent 5ff55aa commit 7b9685f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Retrieve basic information about the device, such as manufacturer, model, firmwa
8787
```python
8888
info = device.GetDeviceInformation()
8989
print(info)
90-
# Example output: {'Manufacturer': '...', 'Model': '...', 'FirmwareVersion': '...', 'SerialNumber': '...'}
90+
# Example output: {'Manufacturer': '..', 'Model': '..', 'FirmwareVersion': '..', 'SerialNumber': '..'}
9191
```
9292

9393
**4. Get RTSP URL**
@@ -322,7 +322,6 @@ If you are looking for other ONVIF Python libraries, here are some alternatives:
322322
- [ONVIF Official Specifications](https://www.onvif.org/profiles/specifications/specification-history/)
323323
- [ONVIF Official Specs Repository](https://github.com/onvif/specs)
324324
- [ONVIF 2.0 Service Operation Index](https://www.onvif.org/onvif/ver20/util/operationIndex.html)
325-
- [Project Specs Folder](../../specifications)
326325
- [Usage Examples](./examples/)
327326

328327
## Legal Notice

onvif/services/security/keystore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def DeleteKey(self, KeyID):
7272

7373
def CreatePKCS10CSR(self, Subject, KeyID, SignatureAlgorithm, CSRAttribute=None):
7474
return self.operator.call(
75-
"DeleteKey",
75+
"CreatePKCS10CSR",
7676
Subject=Subject,
7777
KeyID=KeyID,
7878
CSRAttribute=CSRAttribute,

0 commit comments

Comments
 (0)