We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 242779f commit 82fe3aaCopy full SHA for 82fe3aa
1 file changed
signxml/verifier.py
@@ -369,7 +369,6 @@ def verify(
369
self.config = expect_config
370
if deprecated_kwargs:
371
self.config = replace(expect_config, **deprecated_kwargs)
372
- self.x509_cert = x509_cert
373
self._parser = parser
374
375
if x509_cert or cert_resolver:
@@ -382,6 +381,8 @@ def verify(
382
381
)
383
x509_cert = x509_cert.to_cryptography() # type: ignore[union-attr]
384
+ self.x509_cert = x509_cert
385
+
386
if id_attribute is not None:
387
self.id_attributes = (id_attribute,)
388
0 commit comments