ipalib/x509.py: Add signature_algorithm_parameters

Python-cryptography 41.0.0 new abstract method.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Julien Rische <jrische@redhat.com>
This commit is contained in:
Alexander Bokovoy authored and Florence Blanc-Renaud committed 2023-06-01 11:10:21 +02:00
1 parent 9cdf010ca6
commit 18bf495ce8
1 file changed
+6
+6
View File
@@ -239,6 +239,12 @@ class IPACertificate(crypto_x509.Certificate):
"""
return self._cert.signature_algorithm_oid
if hasattr(crypto_x509.Certificate, "signature_algorithm_parameters"):
# added in python-cryptography 41.0
@property
def signature_algorithm_parameters(self):
return self._cert.signature_algorithm_parameters
@property
def signature(self):
"""