MCPcopy Create free account
hub / github.com/mpdavis/python-jose / sign

Method sign

jose/backends/base.py:12–13  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

10 pass
11
12 def sign(self, msg):
13 raise NotImplementedError()
14
15 def verify(self, msg, sig):
16 raise NotImplementedError()

Callers 15

test_interfaceMethod · 0.95
_auth_tagFunction · 0.45
encodeFunction · 0.45
_sign_header_and_claimsFunction · 0.45
test_invalid_keyMethod · 0.45
test_jwkMethod · 0.45
testHMAC256Method · 0.45
testHMAC384Method · 0.45
testHMAC512Method · 0.45
test_wrong_algMethod · 0.45
test_wrong_keyMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_interfaceMethod · 0.76
test_invalid_keyMethod · 0.36
test_jwkMethod · 0.36
testHMAC256Method · 0.36
testHMAC384Method · 0.36
testHMAC512Method · 0.36
test_wrong_algMethod · 0.36
test_wrong_keyMethod · 0.36
test_unsupported_algMethod · 0.36
test_add_headersMethod · 0.36
test_RSA256Method · 0.36