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:
Artjoms Iskovs
2019-12-21 20:38:16 +00:00
committed by Jelle Zijlstra
parent 6b751ef408
commit 61f139189e

View File

@@ -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: ...