(ctx context.Context, signer blob.Ref)
| 992 | } |
| 993 | |
| 994 | func (x *Index) KeyId(ctx context.Context, signer blob.Ref) (string, error) { |
| 995 | if x.corpus != nil { |
| 996 | return x.corpus.KeyId(ctx, signer) |
| 997 | } |
| 998 | return x.s.Get("signerkeyid:" + signer.String()) |
| 999 | } |
| 1000 | |
| 1001 | // signerRefs returns the set of signer blobRefs matching the signer keyID. It |
| 1002 | // does not return an error if none is found. |
no test coverage detected