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:
|
||||
"""
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user