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
messagestringThe 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
messagestringThe message that describes the error.
errorCodeEncryptionErrorCodeThe 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)