Update comment to reflect correct function

This commit is contained in:
Alex Stokes 2019-08-26 09:51:49 -07:00
parent f08aa339b4
commit c1ffb03f77
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -49,8 +49,7 @@ class ECCPrivateKey(PrivateKey):
def create_new_key_pair(curve: str) -> KeyPair:
"""
Returns a new RSA keypair with the requested key size (``bits``) and the given public
exponent ``e``. Sane defaults are provided for both values.
Return a new ECC keypair with the requested ``curve`` type, e.g. "P-256".
"""
private_key = ECCPrivateKey.new(curve)
public_key = private_key.get_public_key()