Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update reference.rst:load_der_x509_certificate to note ValueError rai…
…sed (#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 <[email protected]> --------- Co-authored-by: Alex Gaynor <[email protected]>
- Loading branch information