github.com/lestrrat-go/jwx/v2@v2.0.21/jwk/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "jwk", 5 srcs = [ 6 "cache.go", 7 "ecdsa.go", 8 "ecdsa_gen.go", 9 "fetch.go", 10 "interface.go", 11 "interface_gen.go", 12 "io.go", 13 "jwk.go", 14 "key_ops.go", 15 "okp.go", 16 "okp_gen.go", 17 "options.go", 18 "options_gen.go", 19 "rsa.go", 20 "rsa_gen.go", 21 "set.go", 22 "symmetric.go", 23 "symmetric_gen.go", 24 "usage.go", 25 "whitelist.go", 26 ], 27 importpath = "github.com/lestrrat-go/jwx/v2/jwk", 28 visibility = ["//visibility:public"], 29 deps = [ 30 "//cert", 31 "//internal/base64", 32 "//internal/ecutil", 33 "//internal/iter", 34 "//internal/json", 35 "//internal/pool", 36 "//jwa", 37 "//x25519", 38 "@com_github_lestrrat_go_blackmagic//:go_default_library", 39 "@com_github_lestrrat_go_httprc//:go_default_library", 40 "@com_github_lestrrat_go_iter//arrayiter:go_default_library", 41 "@com_github_lestrrat_go_iter//mapiter:go_default_library", 42 "@com_github_lestrrat_go_option//:option", 43 ], 44 ) 45 46 go_test( 47 name = "jwk_test", 48 srcs = [ 49 "headers_test.go", 50 "jwk_internal_test.go", 51 "jwk_test.go", 52 "options_gen_test.go", 53 "refresh_test.go", 54 "set_test.go", 55 "x5c_test.go", 56 ], 57 data = glob(["testdata/**"]), 58 embed = [":jwk"], 59 deps = [ 60 "//cert", 61 "//internal/base64", 62 "//internal/ecutil", 63 "//internal/jose", 64 "//internal/json", 65 "//internal/jwxtest", 66 "//jwa", 67 "//jws", 68 "//x25519", 69 "@com_github_stretchr_testify//assert", 70 "@com_github_stretchr_testify//require", 71 ], 72 ) 73 74 alias( 75 name = "go_default_library", 76 actual = ":jwk", 77 visibility = ["//visibility:public"], 78 )