Lines Matching defs:defaultSeal

79 type defaultSeal struct {  struct
80 access seal.Access
81 config atomic.Value
82 core *Core
83 PretendToAllowStoredShares bool
84 PretendToAllowRecoveryKeys bool
85 PretendRecoveryKey []byte
96 func (d *defaultSeal) checkCore() error {
103 func (d *defaultSeal) GetAccess() seal.Access {
107 func (d *defaultSeal) SetAccess(access seal.Access) {
111 func (d *defaultSeal) SetCore(core *Core) {
115 func (d *defaultSeal) Init(ctx context.Context) error {
119 func (d *defaultSeal) Finalize(ctx context.Context) error {
123 func (d *defaultSeal) BarrierType() string {
127 func (d *defaultSeal) StoredKeysSupported() bool {
131 func (d *defaultSeal) RecoveryKeySupported() bool {
135 func (d *defaultSeal) SetStoredKeys(ctx context.Context, keys [][]byte) error {
139 func (d *defaultSeal) GetStoredKeys(ctx context.Context) ([][]byte, error) {
143 func (d *defaultSeal) BarrierConfig(ctx context.Context) (*SealConfig, error) {
193 func (d *defaultSeal) SetBarrierConfig(ctx context.Context, config *SealConfig) error {
236 func (d *defaultSeal) SetCachedBarrierConfig(config *SealConfig) {
240 func (d *defaultSeal) RecoveryType() string {
247 func (d *defaultSeal) RecoveryConfig(ctx context.Context) (*SealConfig, error) {
257 func (d *defaultSeal) RecoveryKey(ctx context.Context) ([]byte, error) {
265 func (d *defaultSeal) SetRecoveryConfig(ctx context.Context, config *SealConfig) error {
272 func (d *defaultSeal) SetCachedRecoveryConfig(config *SealConfig) {
275 func (d *defaultSeal) VerifyRecoveryKey(ctx context.Context, key []byte) error {
285 func (d *defaultSeal) SetRecoveryKey(ctx context.Context, key []byte) error {