mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
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:
parent
9cdf010ca6
commit
18bf495ce8
@ -239,6 +239,12 @@ class IPACertificate(crypto_x509.Certificate):
|
|||||||
"""
|
"""
|
||||||
return self._cert.signature_algorithm_oid
|
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
|
@property
|
||||||
def signature(self):
|
def signature(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user