MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Key

Method Key

pkg/crypto/keyvault.go:24–24  ·  view source on GitHub ↗
(ctx context.Context, label string)

Source from the content-addressed store, hash-verified

22// KeyVault provides access to private keys.
23type KeyVault interface {
24 Key(ctx context.Context, label string) ([]byte, error)
25 ServerCertificate(ctx context.Context, label string) (tls.Certificate, error)
26 ClientCertificate(ctx context.Context, label string) (tls.Certificate, error)
27}

Callers 15

aes128KeyMethod · 0.65
UnwrapMethod · 0.65
WrapMethod · 0.65
KeyMethod · 0.65
TestCacheKeyVaultFunction · 0.65
NewRedisTaskQueueFunction · 0.65
hash64Function · 0.65
uidKeyMethod · 0.65
euiKeyMethod · 0.65
provisionerKeyMethod · 0.65
idKeyMethod · 0.65
idSetKeyMethod · 0.65

Implementers 3

memKeyVaultpkg/crypto/cryptoutil/keyvault_mem.go
cacheKeyVaultpkg/crypto/cryptoutil/keyvault_cache.g
mockKeyVaultpkg/crypto/cryptoutil/keyvault_cache_t

Calls

no outgoing calls

Tested by 1

TestCacheKeyVaultFunction · 0.52