Skip to main content
Table of Contents

Class KeyScopeErasedException

Namespace
Stratara.Abstractions.Security
Assembly
Stratara.Abstractions.dll

Raised by an IKeyStore asked to create or return key material for a scope whose subject has been erased. Nothing is created: data for an erased subject cannot be encrypted again, so a caller answers it as data that is gone.

public sealed class KeyScopeErasedException : InvalidOperationException, ISerializable
Inheritance
KeyScopeErasedException
Implements
Inherited Members
Extension Methods

Constructors

KeyScopeErasedException(KeyScope)

Creates the exception for a refused scope.

public KeyScopeErasedException(KeyScope scope)

Parameters

scope KeyScope

The scope that was refused.

Properties

Scope

The scope that was refused.

public KeyScope Scope { get; }

Property Value

KeyScope

Remarks

On an exception that crossed a process boundary this reads as the default scope; the message names it.