using StellaOps.Cryptography; using StellaOps.Cryptography.DependencyInjection; #if STELLAOPS_CRYPTO_PRO using StellaOps.Cryptography.Plugin.CryptoPro; #endif using StellaOps.Cryptography.Plugin.Pkcs11Gost; namespace StellaOps.Configuration; /// /// Shared crypto configuration (registry ordering + provider settings) consumed by hosts and tooling. /// public sealed class StellaOpsCryptoOptions { public CryptoProviderRegistryOptions Registry { get; } = new(); public Pkcs11GostProviderOptions Pkcs11 { get; } = new(); #if STELLAOPS_CRYPTO_PRO public CryptoProGostProviderOptions CryptoPro { get; } = new(); #endif public string DefaultHashAlgorithm { get; set; } = HashAlgorithms.Sha256; }