Table of Contents

Class KeyRotationException

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Exception thrown when key rotation operations fail.

public sealed class KeyRotationException : EncryptionException, ISerializable
Inheritance
KeyRotationException
Implements
Inherited Members

Remarks

This exception is thrown when key rotation fails due to key management service errors, permission issues, or configuration problems.

Constructors

KeyRotationException()

Initializes a new instance of the KeyRotationException class.

public KeyRotationException()

KeyRotationException(string)

Initializes a new instance of the KeyRotationException class with a message.

public KeyRotationException(string message)

Parameters

message string

The message that describes the error.

KeyRotationException(string, EncryptionErrorCode)

Initializes a new instance of the KeyRotationException class with a message and error code.

public KeyRotationException(string message, EncryptionErrorCode errorCode)

Parameters

message string

The message that describes the error.

errorCode EncryptionErrorCode

The specific error code for this key rotation failure.

KeyRotationException(string, Exception)

Initializes a new instance of the KeyRotationException class with a message and inner exception.

public KeyRotationException(string message, Exception innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The underlying cause of the failure.