{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "label": "native.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L1"}, {"id": "native_get_random_bytes", "label": "get_random_bytes()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L11"}, {"id": "native_hmackey", "label": "HMACKey", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L15"}, {"id": "key", "label": "Key", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "native_hmackey_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L23"}, {"id": "native_hmackey_process_jwk", "label": "._process_jwk()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L47"}, {"id": "native_hmackey_sign", "label": ".sign()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L58"}, {"id": "native_hmackey_verify", "label": ".verify()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L61"}, {"id": "native_hmackey_to_dict", "label": ".to_dict()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L64"}, {"id": "native_rationale_16", "label": "Performs signing and verification operations using HMAC and the specified ha", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L16"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "hashlib", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "hmac", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "jose_backends_base", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "jose_constants", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "jose_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "jose_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "native_get_random_bytes", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_jose_backends_native_py", "target": "native_hmackey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L15", "weight": 1.0}, {"source": "native_hmackey", "target": "key", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L15", "weight": 1.0}, {"source": "native_hmackey", "target": "native_hmackey_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L23", "weight": 1.0}, {"source": "native_hmackey", "target": "native_hmackey_process_jwk", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L47", "weight": 1.0}, {"source": "native_hmackey", "target": "native_hmackey_sign", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L58", "weight": 1.0}, {"source": "native_hmackey", "target": "native_hmackey_verify", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L61", "weight": 1.0}, {"source": "native_hmackey", "target": "native_hmackey_to_dict", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L64", "weight": 1.0}, {"source": "native_hmackey_init", "target": "native_hmackey_process_jwk", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L30", "weight": 1.0}, {"source": "native_hmackey_verify", "target": "native_hmackey_sign", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L62", "weight": 1.0}, {"source": "native_rationale_16", "target": "native_hmackey", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L16", "weight": 1.0}], "raw_calls": [{"caller_nid": "native_get_random_bytes", "callee": "bytes", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L12"}, {"caller_nid": "native_get_random_bytes", "callee": "urandom", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L12"}, {"caller_nid": "native_hmackey_init", "callee": "JWKError", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L25"}, {"caller_nid": "native_hmackey_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L27"}, {"caller_nid": "native_hmackey_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L29"}, {"caller_nid": "native_hmackey_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L33"}, {"caller_nid": "native_hmackey_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L33"}, {"caller_nid": "native_hmackey_init", "callee": "JWKError", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L34"}, {"caller_nid": "native_hmackey_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L36"}, {"caller_nid": "native_hmackey_init", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L37"}, {"caller_nid": "native_hmackey_init", "callee": "is_pem_format", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L39"}, {"caller_nid": "native_hmackey_init", "callee": "is_ssh_key", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L39"}, {"caller_nid": "native_hmackey_init", "callee": "JWKError", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L40"}, {"caller_nid": "native_hmackey_process_jwk", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L48"}, {"caller_nid": "native_hmackey_process_jwk", "callee": "JWKError", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L49"}, {"caller_nid": "native_hmackey_process_jwk", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L49"}, {"caller_nid": "native_hmackey_process_jwk", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L51"}, {"caller_nid": "native_hmackey_process_jwk", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L52"}, {"caller_nid": "native_hmackey_process_jwk", "callee": "bytes", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L53"}, {"caller_nid": "native_hmackey_process_jwk", "callee": "base64url_decode", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L54"}, {"caller_nid": "native_hmackey_sign", "callee": "digest", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L59"}, {"caller_nid": "native_hmackey_sign", "callee": "new", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L59"}, {"caller_nid": "native_hmackey_verify", "callee": "compare_digest", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L62"}, {"caller_nid": "native_hmackey_to_dict", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L68"}, {"caller_nid": "native_hmackey_to_dict", "callee": "base64url_encode", "source_file": "backend/venv/lib/python3.12/site-packages/jose/backends/native.py", "source_location": "L68"}]}