Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mpdavis/python-jose
/ get_pem_for_key
Function
get_pem_for_key
tests/algorithms/test_EC.py:61–62 ·
view source on GitHub ↗
(key)
Source
from the content-addressed store, hash-verified
59
60
61
def
get_pem_for_key(key):
62
return
key.to_pem().strip().decode(
"utf-8"
)
63
64
65
def
normalize_pem(key_pem_str):
Callers
5
test_to_pem
Method · 0.85
test_public_key_to_pem
Method · 0.85
test_private_key_to_pem
Method · 0.85
test_public_key_load_cycle
Method · 0.85
test_private_key_load_cycle
Method · 0.85
Calls
1
to_pem
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…