Skip to main content
Table of Contents

Class KeyUnavailableException

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

Raised when data cannot be decrypted because the key it names no longer resolves: the key version was revoked, its scope erased, or the key is unknown to the store. A caller may answer it as data that is gone. Any other failure of a key store is not this exception and should not be answered that way.

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

Constructors

KeyUnavailableException(string)

Creates the exception for a key that does not resolve.

public KeyUnavailableException(string keyId)

Parameters

keyId string

The key identifier the data names.

Properties

KeyId

The key identifier the data names. It is stored with the data, so it is not authenticated.

public string KeyId { get; }

Property Value

string