cryptography/docs/x509
ohemorange 3b689cedb1
Update reference.rst:load_der_x509_certificate to note ValueError raised (#12364)
* Update reference.rst:load_der_x509_certificate to note error raised

It raises the error and therefore should be noted in the documentation.

```
>>> x509.load_der_x509_certificate(b64.b64decode("foobar".encode()))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: error parsing asn1 value: ParseError { kind: InvalidLength }
```

* Update docs/x509/reference.rst

Thanks!

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>

---------

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2025-01-30 02:59:28 +00:00
..
certificate-transparency.rst Update various links in the docs for permanent redirects (#10109) 2024-01-02 21:00:20 -03:00
index.rst docs: add Store docs (#9416) 2023-08-14 18:48:27 +00:00
ocsp.rst Add _utc datetime methods to x509.ocsp (#11183) 2024-06-30 12:08:56 -04:00
reference.rst Update reference.rst:load_der_x509_certificate to note ValueError raised (#12364) 2025-01-30 02:59:28 +00:00
tutorial.rst document creating a CA hierarchy: root -> int -> ee (#11031) 2024-05-27 13:00:44 +00:00
verification.rst X509 custom verification groundwork (#11559) 2024-10-08 22:27:15 -04:00