10000 Updating docs for creating RSASigner from string (#213) · sktt/google-auth-library-python@5d37a64 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5d37a64

Browse files
benedictesleeJon Wayne Parrott
authored andcommitted
Updating docs for creating RSASigner from string (googleapis#213)
1 parent 01efcd4 commit 5d37a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/auth/crypt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
To sign messages use :class:`RSASigner` with a private key::
3030
3131
private_key = open('private_key.pem').read()
32-
signer = crypt.RSASigner(private_key)
32+
signer = crypt.RSASigner.from_string(private_key)
3333
signature = signer.sign(message)
3434
"""
3535

0 commit comments

Comments
 (0)
0