(cls, cert_path)
| 1188 | """ |
| 1189 | |
| 1190 | def __call__(cls, cert_path): |
| 1191 | obj = _PKIObjMaker.__call__(cls, cert_path, _MAX_CRL_SIZE, "X509 CRL") |
| 1192 | obj.__class__ = CRL |
| 1193 | try: |
| 1194 | crl = X509_CRL(obj._der) |
| 1195 | except Exception: |
| 1196 | raise Exception("Unable to import CRL") |
| 1197 | obj.import_from_asn1pkt(crl) |
| 1198 | return obj |
| 1199 | |
| 1200 | |
| 1201 | class CRL(metaclass=_CRLMaker): |