diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-01-24 21:41:36 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-01-24 21:41:36 -0600 |
commit | efec065b905a404887fa9c55c2276f3b47ed140b (patch) | |
tree | 0217de19e172701eef50dfef9dc43e2d7e22a3f4 /docs/x509.rst | |
parent | b9690abdb3b8afc0599a30deddd06a1681286d47 (diff) | |
parent | f79c2313afdedae24b1b5b6d8fb8ff57f778a29b (diff) | |
download | cryptography-efec065b905a404887fa9c55c2276f3b47ed140b.tar.gz cryptography-efec065b905a404887fa9c55c2276f3b47ed140b.tar.bz2 cryptography-efec065b905a404887fa9c55c2276f3b47ed140b.zip |
Merge pull request #1592 from public/move-rsa-interfaces
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 |