You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-13Lines changed: 43 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,48 @@ with open("path/to/image.jpg", "rb") as f:
70
70
}
71
71
```
72
72
73
+
## Trust Settings and Certificates
74
+
75
+
### Adding Trust Settings
76
+
77
+
To properly verify C2PA signatures, you may need to configure trust settings for specific certificate authorities or individual certificates. The Content Authenticity Initiative maintains a list of known certificates that can be used for verification.
78
+
79
+
```python
80
+
from fast_c2pa_python import setup_trust_verification, read_c2pa_from_file
81
+
82
+
# Configure trust settings using certificate files
83
+
setup_trust_verification(
84
+
anchors_file="path/to/anchors.pem", # Root CA certificates
0 commit comments