MCPcopy Index your code
hub / github.com/coder/coder / DecryptingKey

Method DecryptingKey

coderd/jwtutils/jwe.go:23–23  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

21
22type DecryptKeyProvider interface {
23 DecryptingKey(ctx context.Context, id string) (key interface{}, err error)
24}
25
26// Encrypt encrypts a token and returns it as a string.

Callers 1

DecryptFunction · 0.65

Implementers 3

keycoderd/jwtutils/jwt_test.go
StaticKeycoderd/jwtutils/jws.go
cachecoderd/cryptokeys/cache.go

Calls

no outgoing calls

Tested by

no test coverage detected