MCPcopy
hub / github.com/authlib/authlib / verify

Method verify

authlib/jose/rfc7515/models.py:25–33  ·  view source on GitHub ↗

Verify the signature of text msg with a public/verify key. :param msg: message bytes to be signed :param sig: result signature to be compared :param key: public key to verify the signature :return: boolean

(self, msg, sig, key)

Source from the content-addressed store, hash-verified

23 raise NotImplementedError
24
25 def verify(self, msg, sig, key):
26 """Verify the signature of text msg with a public/verify key.
27
28 :param msg: message bytes to be signed
29 :param sig: result signature to be compared
30 :param key: public key to verify the signature
31 :return: boolean
32 """
33 raise NotImplementedError
34
35
36class JWSHeader(dict):

Callers 3

deserialize_compactMethod · 0.45
_validate_json_jwsMethod · 0.45
verify_sha1Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected