File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -194,12 +194,13 @@ mdoc.disclosure_map
194194For production use, verify both the X.509 certificate chain and element hashes:
195195
196196```` python
197+ # skip in doc examples (requires your_ca_cert.pem and device_response_bytes)
197198from pymdoccbor.mdoc.verifier import MdocCbor
198199from cryptography import x509
199200from cryptography.hazmat.backends import default_backend
200201
201202# Load trusted root certificates
202- with open (' iaca_cert .pem' , ' rb' ) as f:
203+ with open (' your_ca_cert .pem' , ' rb' ) as f:
203204 iaca_cert = x509.load_pem_x509_certificate(f.read(), default_backend())
204205
205206mdoc = MdocCbor()
@@ -211,10 +212,6 @@ For complete documentation on certificate chain verification and hash verificati
211212
212213### Verify the Mobile Security Object
213214
214- ````
215-
216- ### Verify the Mobile Security Object
217-
218215````
219216from pymdoccbor.mso.verifier import MsoVerifier
220217
You can’t perform that action at this time.
0 commit comments