mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Fix RSAPublicNumbers stub (#3505)
`RSAPublicNumbers` is supposed to have an exponent `e` and modulus `n` instead of `p` and `q` (typo?)
This commit is contained in:
committed by
Jelle Zijlstra
parent
6b751ef408
commit
61f139189e
@@ -73,7 +73,7 @@ class RSAPrivateNumbers(object):
|
||||
class RSAPublicNumbers(object):
|
||||
def __init__(self, e: int, n: int) -> None: ...
|
||||
@property
|
||||
def p(self) -> int: ...
|
||||
def e(self) -> int: ...
|
||||
@property
|
||||
def q(self) -> int: ...
|
||||
def n(self) -> int: ...
|
||||
def public_key(self, backend) -> RSAPublicKey: ...
|
||||
|
||||
Reference in New Issue
Block a user