Class FipsDetectionResult
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents the result of FIPS 140-2 detection on the current system.
public sealed record FipsDetectionResult : IEquatable<FipsDetectionResult>
- Inheritance
-
FipsDetectionResult
- Implements
- Inherited Members
Properties
DetectedAt
Gets the timestamp when FIPS status was detected.
public DateTimeOffset DetectedAt { get; init; }
Property Value
IsFipsEnabled
Gets a value indicating whether FIPS 140-2 mode is enabled.
public required bool IsFipsEnabled { get; init; }
Property Value
Platform
Gets the platform identifier (e.g., "Windows", "Linux", "macOS").
public required string Platform { get; init; }
Property Value
ValidationDetails
Gets details about how FIPS status was validated.
public required string ValidationDetails { get; init; }
Property Value
Methods
Disabled(string, string)
Creates a result indicating FIPS is disabled.
public static FipsDetectionResult Disabled(string platform, string details)
Parameters
Returns
- FipsDetectionResult
A FIPS-disabled result.
Enabled(string, string)
Creates a result indicating FIPS is enabled.
public static FipsDetectionResult Enabled(string platform, string details)
Parameters
Returns
- FipsDetectionResult
A FIPS-enabled result.