private static IPrivateKeyProvider GetKeyProvider(EJsonConfigurationSource source) { var result = new DefaultPrivateKeyProvider(); var configSection = (source)?.ConfigSection; if (configSection != null) { result.Add(new ConfigurationPrivateKeyProvider(configSection)); } return(result); }
internal EJsonConfigurationProvider(EJsonConfigurationSource source, IEJsonCrypto eJsonCrypto) : base(source) { _eJsonCrypto = eJsonCrypto ?? new EJsonCrypto(); }
public EJsonConfigurationProvider(EJsonConfigurationSource source) : this(source, null) { }