diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-27 18:55:52 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-27 18:55:52 -0500 |
commit | 217fad8cb72b00b71d0f69287a1b76ddc8c42e92 (patch) | |
tree | 3b3e3bcc2474b9919968f9474c916a3fb974a344 /src | |
parent | 58fb25797de0ec8866836f2a075063feeb689289 (diff) | |
parent | ad4b3593b14024619e1c3df70eeffc38adaf9c3a (diff) | |
download | cryptography-217fad8cb72b00b71d0f69287a1b76ddc8c42e92.tar.gz cryptography-217fad8cb72b00b71d0f69287a1b76ddc8c42e92.tar.bz2 cryptography-217fad8cb72b00b71d0f69287a1b76ddc8c42e92.zip |
Merge pull request #2596 from reaperhulk/index-aia
support indexing in AIA
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/x509/extensions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptography/x509/extensions.py b/src/cryptography/x509/extensions.py index 7979ccb2..ac70cc18 100644 --- a/src/cryptography/x509/extensions.py +++ b/src/cryptography/x509/extensions.py @@ -270,6 +270,9 @@ class AuthorityInformationAccess(object): def __ne__(self, other): return not self == other + def __getitem__(self, idx): + return self._descriptions[idx] + class AccessDescription(object): def __init__(self, access_method, access_location): |