Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit a9027c4

Browse files
committed
fixed typos
1 parent 556aa32 commit a9027c4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

google/auth/crypt/rsa.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class RSAVerifier(base.Verifier):
5151
public_key (Union[rsa.key.PublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey]):
5252
The public key used to verify signatures.
5353
Raises:
54-
ImportError: if neither `cryptograhy` or `rsa` is installed
54+
ImportError: if neither `cryptography` or `rsa` is installed
5555
ValueError: if an unrecognized public key is provided
5656
"""
5757

@@ -74,7 +74,7 @@ def verify(self, message, signature):
7474

7575
@classmethod
7676
def from_string(cls, public_key):
77-
"""Construct an Verifier instance from a public key or public
77+
"""Construct a Verifier instance from a public key or public
7878
certificate string.
7979
8080
Args:
@@ -86,7 +86,7 @@ def from_string(cls, public_key):
8686
8787
Raises:
8888
ValueError: If the public_key can't be parsed.
89-
ImportError: if neither `cryptograhy` or `rsa` is installe
89+
ImportError: if neither `cryptography` or `rsa` is installe
9090
"""
9191
if _cryptography_rsa:
9292
return _cryptography_rsa.RSAVerifier.from_string(public_key)
@@ -113,7 +113,7 @@ class RSASigner(base.Signer, base.FromServiceAccountMixin):
113113
public key or certificate.
114114
115115
Raises:
116-
ImportError: if neither `cryptograhy` or `rsa` is installed
116+
ImportError: if neither `cryptography` or `rsa` is installed
117117
ValueError: if an unrecognized public key is provided
118118
"""
119119

@@ -153,7 +153,7 @@ def from_string(cls, key, key_id=None):
153153
Raises:
154154
ValueError: If the key cannot be parsed as PKCS#1 or PKCS#8 in
155155
PEM format.
156-
ImportError: if neither `cryptograhy` or `rsa` is installe
156+
ImportError: if neither `cryptography` or `rsa` is installed
157157
"""
158158
if _cryptography_rsa:
159159
return _cryptography_rsa.RSASigner.from_string(key, key_id=key_id)

0 commit comments

Comments
 (0)