| // Copyright 2015 The Vanadium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| import "v.io/v23/security" |
| type blessingRootsState map[string][]security.BlessingPattern |
| type blessingStoreState struct { |
| // PeerBlessings maps BlessingPatterns to the Blessings object that is to |
| // be shared with peers which present blessings of their own that match the |
| // All blessings bind to the same public key. |
| PeerBlessings map[security.BlessingPattern]security.WireBlessings |
| // DefaultBlessings is the default Blessings to be shared with peers for which |
| // no other information is available to select blessings. |
| DefaultBlessings security.WireBlessings |