diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-10-12 23:53:39 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-10-12 23:53:39 -0400 |
commit | 4c2561afecdbd25226f093698404facb8b49abee (patch) | |
tree | 1d88bc783060b3e8c2f0f8bb50946750ac4fdeee | |
parent | 9adf8c6a55dbf2a6a286324fb381bc4941558739 (diff) | |
download | cryptography-4c2561afecdbd25226f093698404facb8b49abee.tar.gz cryptography-4c2561afecdbd25226f093698404facb8b49abee.tar.bz2 cryptography-4c2561afecdbd25226f093698404facb8b49abee.zip |
Use the right reST syntax for these
-rw-r--r-- | docs/x509/reference.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 87383db1..25e3e5db 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -226,13 +226,13 @@ X.509 Certificate Object .. method:: public_key() - :type: + The public key associated with the certificate. + + :returns: :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` or :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` or :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey` - The public key associated with the certificate. - .. doctest:: >>> from cryptography.hazmat.primitives.asymmetric import rsa @@ -531,13 +531,13 @@ X.509 CSR (Certificate Signing Request) Object .. method:: public_key() - :type: + The public key associated with the request. + + :returns: :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` or :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` or :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey` - The public key associated with the request. - .. doctest:: >>> from cryptography.hazmat.primitives.asymmetric import rsa |