Add convenience property and tests for authority information access value on Certificate objects
diff --git a/asn1crypto/x509.py b/asn1crypto/x509.py
index e932d0c..951e19f 100644
--- a/asn1crypto/x509.py
+++ b/asn1crypto/x509.py
@@ -775,6 +775,7 @@
_authority_key_identifier_value = None
_policy_constraints_value = None
_extended_key_usage_value = None
+ _authority_information_access_value = None
_ocsp_no_check_value = None
def _set_extensions(self):
@@ -933,6 +934,17 @@
return self._extended_key_usage_value
@property
+ def authority_information_access_value(self):
+ """
+ :return:
+ None or the parsed value of the authority information access extension
+ """
+
+ if not self._processed_extensions:
+ self._set_extensions()
+ return self._authority_information_access_value
+
+ @property
def ocsp_no_check_value(self):
"""
:return: