Table of Contents

Interface IFipsDetector

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

Provides detection of FIPS 140-2 compliance mode on the current system.

public interface IFipsDetector

Remarks

This interface enables unit testing of FIPS-dependent code by allowing the FIPS detection mechanism to be mocked. Production implementations should check the actual operating system FIPS mode setting.

FIPS 140-2 compliance is required for regulated environments. This interface allows encryption providers to verify FIPS mode without coupling to platform-specific detection logic.

Properties

IsFipsEnabled

Gets a value indicating whether the system is running in FIPS 140-2 mode.

bool IsFipsEnabled { get; }

Property Value

bool

Methods

GetStatus()

Gets the detailed FIPS compliance status of the current system.

FipsDetectionResult GetStatus()

Returns

FipsDetectionResult

A status object containing platform and validation details.