diff options
author | Ayrx <terrycwk1994@gmail.com> | 2014-06-24 13:43:22 +0800 |
---|---|---|
committer | Ayrx <terrycwk1994@gmail.com> | 2014-06-24 13:43:22 +0800 |
commit | 020d49d5b5d9ddddd773374178183c4ee11f00ce (patch) | |
tree | 6b5e8adf815941bbdc4e776d689655f2ccd650cb /docs/hazmat/primitives/asymmetric | |
parent | d94aacf7588e1064deadd9b460ed9350665ca9d4 (diff) | |
download | cryptography-020d49d5b5d9ddddd773374178183c4ee11f00ce.tar.gz cryptography-020d49d5b5d9ddddd773374178183c4ee11f00ce.tar.bz2 cryptography-020d49d5b5d9ddddd773374178183c4ee11f00ce.zip |
Fixed AssertionError on missing curves
Diffstat (limited to 'docs/hazmat/primitives/asymmetric')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/ec.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst index 5dc7e2f0..4b3c460e 100644 --- a/docs/hazmat/primitives/asymmetric/ec.rst +++ b/docs/hazmat/primitives/asymmetric/ec.rst @@ -116,7 +116,7 @@ Elliptic Curve Signature Algorithms >>> from cryptography.hazmat.primitives import hashes >>> from cryptography.hazmat.primitives.asymmetric import ec >>> private_key = ec.generate_private_key( - ... ec.SECT283K1(), default_backend() + ... ec.SECP384R1(), default_backend() ... ) >>> signer = private_key.signer(ec.ECDSA(hashes.SHA256())) >>> signer.update(b"this is some data I'd like") |