Property CustomEncryptorFactory
Optional callback that returns a custom IXmlEncryptor. The
IServiceProvider argument is the application root provider — caller can resolve
any registered service. Takes precedence over and
. Use this hook for KMS-backed encryptors.
public Func<IServiceProvider, IXmlEncryptor>? CustomEncryptorFactory { get; set; }