(alg jose.KeyAlgorithm)
| 382 | } |
| 383 | |
| 384 | func withKeyAlgorithm(alg jose.KeyAlgorithm) func(*jwtutils.DecryptOptions) { |
| 385 | return func(opts *jwtutils.DecryptOptions) { |
| 386 | opts.KeyAlgorithm = alg |
| 387 | } |
| 388 | } |
| 389 | |
| 390 | func withContentEncryptionAlgorithm(alg jose.ContentEncryption) func(*jwtutils.DecryptOptions) { |
| 391 | return func(opts *jwtutils.DecryptOptions) { |