From 0a621bf5da576d7aab394e5bdc342e2e8b1cbaa2 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 22 Apr 2015 09:22:56 -0500 Subject: return only an int for unsupported general name type, update docs --- docs/x509.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/x509.rst') diff --git a/docs/x509.rst b/docs/x509.rst index 2e4a0efb..035fa87f 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -974,9 +974,13 @@ Exceptions .. attribute:: type - :type: :term:`text` or int + :type: int + + The integer value of the unsupported type. The complete list of + types can be found in `RFC 5280 section 4.2.1.6`_. .. _`public key infrastructure`: https://en.wikipedia.org/wiki/Public_key_infrastructure .. _`TLS`: https://en.wikipedia.org/wiki/Transport_Layer_Security .. _`RFC 5280 section 4.2.1.1`: https://tools.ietf.org/html/rfc5280#section-4.2.1.1 +.. _`RFC 5280 section 4.2.1.6`: https://tools.ietf.org/html/rfc5280#section-4.2.1.6 -- cgit v1.2.3