Statische Konfigurationsklasse für globale PQ-Crypto-Einstellungen.
namespace WvdS.System.Security.Cryptography public static class CryptoConfig
| Name | Typ | Beschreibung |
|---|---|---|
| DefaultMode | CryptoMode | Globaler Krypto-Modus für alle Operationen. Standard: CryptoMode.Classic |
| OpenSslPath | string? | Optionaler Pfad zur OpenSSL 3.6 Library |
| Name | Beschreibung |
|---|---|
| EnablePostQuantum(CryptoMode) | Aktiviert PQ-Kryptographie und initialisiert OpenSSL |
CryptoConfig ist der zentrale Konfigurationspunkt für die gesamte Bibliothek. Einstellungen gelten global für alle Threads.
// Empfohlene Initialisierung in Program.cs oder Startup CryptoConfig.DefaultMode = CryptoMode.Hybrid; CryptoConfig.OpenSslPath = @"C:\OpenSSL\bin\libcrypto-3-x64.dll";
Änderungen an DefaultMode und OpenSslPath sind thread-sicher. Ändern Sie diese Werte idealerweise nur beim Anwendungsstart.
Wolfgang van der Stille @ EMSR DATA d.o.o. - Post-Quantum Cryptography Professional