====== CryptoConfig.OpenSslPath Eigenschaft ====== Ruft den Pfad zur OpenSSL-Library ab oder legt ihn fest. ---- ===== Definition ===== namespace WvdS.System.Security.Cryptography public static string? OpenSslPath { get; set; } ---- ===== Eigenschaftswert ===== | Typ | ''string?'' | | Standardwert | ''null'' (automatische Suche) | ---- ===== Hinweise ===== Wenn ''null'', sucht die Bibliothek automatisch nach OpenSSL: ^ Plattform ^ Suchpfade ^ | Windows x64 | ''libcrypto-3-x64.dll'' im Anwendungsverzeichnis, PATH | | Linux | ''libcrypto.so.3'' in LD_LIBRARY_PATH, /usr/lib | | macOS | ''libcrypto.3.dylib'' in DYLD_LIBRARY_PATH, /opt/homebrew/lib | ---- ===== Anforderungen ===== OpenSSL **3.6.0 oder höher** ist erforderlich für ML-DSA und ML-KEM Unterstützung. ---- ===== Beispiele ===== ==== Windows ==== CryptoConfig.OpenSslPath = @"C:\OpenSSL-3.6\bin\libcrypto-3-x64.dll"; ==== Linux ==== CryptoConfig.OpenSslPath = "/opt/openssl-3.6/lib64/libcrypto.so.3"; ==== macOS ==== CryptoConfig.OpenSslPath = "/opt/homebrew/opt/openssl@3/lib/libcrypto.3.dylib"; ---- ===== Ausnahmen ===== | DllNotFoundException | OpenSSL-Library nicht gefunden oder nicht ladbar | | InvalidOperationException | OpenSSL-Version < 3.6 | ---- ===== Siehe auch ===== * [[.:start|CryptoConfig Klasse]] * [[.:enablepostquantum|EnablePostQuantum Methode]] {{tag>eigenschaft property openssl}} ---- //Wolfgang van der Stille @ EMSR DATA d.o.o. - Post-Quantum Cryptography Professional//