Property CustomEncryptorFactory

Assembly: redb.Identity.Core.dll

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; }