diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-12-30 12:50:14 +0000 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2015-01-24 14:50:32 +0000 |
commit | f79c2313afdedae24b1b5b6d8fb8ff57f778a29b (patch) | |
tree | 0217de19e172701eef50dfef9dc43e2d7e22a3f4 /docs/x509.rst | |
parent | b9690abdb3b8afc0599a30deddd06a1681286d47 (diff) | |
download | cryptography-f79c2313afdedae24b1b5b6d8fb8ff57f778a29b.tar.gz cryptography-f79c2313afdedae24b1b5b6d8fb8ff57f778a29b.tar.bz2 cryptography-f79c2313afdedae24b1b5b6d8fb8ff57f778a29b.zip |
Move RSA*Key interfaces to cryptography.hazmat.primitives.asymmetric.rsa
Diffstat (limited to 'docs/x509.rst')
-rw-r--r-- | docs/x509.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index b3c9380c..26b91873 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -129,7 +129,7 @@ X.509 Certificate Object .. method:: public_key() :type: - :class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey` or + :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` or :class:`~cryptography.hazmat.primitives.interfaces.DSAPublicKey` or :class:`~cryptography.hazmat.primitives.interfaces.EllipticCurvePublicKey` @@ -137,9 +137,9 @@ X.509 Certificate Object .. doctest:: - >>> from cryptography.hazmat.primitives import interfaces + >>> from cryptography.hazmat.primitives.asymmetric import rsa >>> public_key = cert.public_key() - >>> isinstance(public_key, interfaces.RSAPublicKey) + >>> isinstance(public_key, rsa.RSAPublicKey) True .. attribute:: not_valid_before |