Update comment to reflect correct function
This commit is contained in:
parent
f08aa339b4
commit
c1ffb03f77
|
@ -49,8 +49,7 @@ class ECCPrivateKey(PrivateKey):
|
||||||
|
|
||||||
def create_new_key_pair(curve: str) -> KeyPair:
|
def create_new_key_pair(curve: str) -> KeyPair:
|
||||||
"""
|
"""
|
||||||
Returns a new RSA keypair with the requested key size (``bits``) and the given public
|
Return a new ECC keypair with the requested ``curve`` type, e.g. "P-256".
|
||||||
exponent ``e``. Sane defaults are provided for both values.
|
|
||||||
"""
|
"""
|
||||||
private_key = ECCPrivateKey.new(curve)
|
private_key = ECCPrivateKey.new(curve)
|
||||||
public_key = private_key.get_public_key()
|
public_key = private_key.get_public_key()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user