From 8f57142489a0d0d832b0ba7fa56eec84e1f00cc4 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Sun, 2 Aug 2015 11:31:08 -0500 Subject: Update the docs to be more accurate --- docs/x509/reference.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 2029c08f..ac07eade 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -411,7 +411,10 @@ X.509 Certificate Builder Sets the subject's public key. - :param public_key: The subject's public key. + :param public_key: The subject's public key. This can be one of + :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`, + :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` or + :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey` .. method:: serial_number(serial_number) @@ -448,8 +451,9 @@ X.509 Certificate Builder Adds an X.509 extension to the certificate. - :param extension: The :class:`~cryptography.x509.Extension` to add to - the certificate. + :param extension: The extension to add to the certificate. Can be one + of :class:`~cryptography.x509.BasicConstraints` or + :class:`~cryptography.x509.SubjectAlternativeName`. .. method:: sign(backend, private_key, algorithm) -- cgit v1.2.3